Running a server or virtual machine in your on-premises datacenter requires you to bear all the capital expenses and maintenance costs of running it. This includes hardware costs and electricty and maintenance and support costs.
Alternately, running a virtual machine in Microsoft Azure, hardware and infrastructure management tasks are the responsibility of Microsoft at the Microsoft Azure datacenter.
An Azure virtual machine is a server that runs in the Azure cloud. It makes use of Azure services, such as storage, virtual networks, cloud services, and directories.
With an Azure virtual machine, all the hardware and infrastructure management tasks are performed by Microsoft. Virtual machines are part of the Azure IaaS offering.
Azure virtual machines consume Azure storage, and require a storage account in order to store virtual hard disk (VHD) files. Note that virtual machines are also part of the Azure PaaS offering; PaaScloud services are also hosted on virtual machines, as are websites.
Creating and Managing Virtual Machine Images
Images are used in Microsoft Azure to provide a new virtual machine with an operating system that may have one or more data disks. Images are available from several sources:
Common Tasks for Managing Images
These common tasks for managing Microsoft Azure images can be performed using either the Microsoft Azure Management Portal or Microsoft Azure PowerShell.
- Capture an image of a VM running Windows Server
- Capture an image of a VM running Linux
- Create and upload a VHD that contains the Windows Server operating system
- Create and upload a VHD that contains the Linux operating system
How to Capture a Windows Virtual Machine to Use as a Template http://go.microsoft.com/fwlink/?LinkID=511955
How to Capture a Linux Virtual Machine to Use as a Template
Create and upload a Windows Server VHD to Azure
Creating and Uploading a Virtual Hard Disk that Contains the Linux Operating System
Managing Images Using Microsoft Azure PowerShell
There are several cmdlets available in Microsoft Azure PowerShell to help you create and manage images in Microsoft Azure:
Get-AzureVMImagereturns a list of the images that are available for your subscription, including those provided with Microsoft Azure and your own custom images.
Save-AzureVMImageis the cmdlet that captures virtual machines as generalized images.
Remove-AzureVMImagedeletes an image, but it does not delete any virtual machines created from the image.
Manage Images using Windows PowerShell
Implementing Virtual Machines using Azure IAAS demo
This concludes this post by David Papkin about Implementing Virtual Machines using Microsoft Azure IAAS Infrastructure as a Service .
To learn more about using Microsoft Azure, the following Microsoft course 20533 is available