Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the differences between Azure Virtual Machines & Cloud Services

Tags:

azure

I'm willing to switch from AWS to Azure, however I'm a bit confused on the differences between Azure Virtual Machines & Cloud Services! what I need is a small linux server, regardless the fancy names companies like to call it (e.g. EC2), I use it to run different small uni projects written in different languages.

like image 570
Ansd Avatar asked Oct 15 '12 14:10

Ansd


People also ask

What is the difference between Azure and VM?

Azure basically just gives you a space to host that VM. You control the O/S, updates, etc. An Azure Cloud Service (a web role, a worker role, etc.) is a layer above the VM. Azure controls the VM instance that your role runs on (O/S, updates, etc.), while you are just concerned about your application.

What are Azure virtual machines?

Azure virtual machines are one of several types of on-demand, scalable computing resources that Azure offers. Typically, you choose a virtual machine when you need more control over the computing environment than the other choices offer.


1 Answers

An Azure Virtual Machine is basically what it sounds like -- an instance of a Windows or Linux VM that you control. Azure basically just gives you a space to host that VM. You control the O/S, updates, etc.

An Azure Cloud Service (a web role, a worker role, etc.) is a layer above the VM. Azure controls the VM instance that your role runs on (O/S, updates, etc.), while you are just concerned about your application. For a web role, that would be the code for a web application (an ASP.NET site, for instance); for a worker role, that would be the code for a service that runs in the background.

With a Cloud Service, you deploy your application to your role instances. You really don't have control over how those instances are running (and you really don't care) -- you're just concerned that your code works.

So if you need full control over a VM, then an Azure Virtual Machine is the direction you should go. If you're developing applications and aren't as concerned over the infrastructure (O/S updates, etc.), then the cloud services (roles) are the way to go.

I hope this helps. Good luck!

like image 136
David Hoerster Avatar answered Sep 30 '22 21:09

David Hoerster