he Microsoft Azure Portal provides two basic methods to create a new virtual machine: Quick Create and From Gallery. With the Quick Create
method, you use a single dialog box to provide basic configuration
details such as the image type, DNS name, and initial user name and
password. Other configuration settings such as the virtual network
definition and connection are performed later.
Figure 3: Selecting the New Option
Figure 4: Selecting the Quick Create Method
Figure 5: Quick Configuration of the New Virtual Machine
Figure 6: Viewing the New Virtual Machine
Figure 7: Selecting the From Gallery Method
Figure 8: Selecting the New Virtual Machine Image
Figure 9: Defining the New Virtual Machine Configuration
Figure 10: Continuing the New Virtual Machine Configuration
Figure 11: Completing the New Virtual Machine Configuration
Figure 12: Viewing the New Cloud Service, Storage, and Virtual Machine
Figure 13: Viewing the Virtual Machine Disks
Figure 14: Virtual Machine Dashboard Screen
Figure 15: Virtual Machine Monitor Screen
Figure 16: Virtual Machine Endpoints Screen
Figure 17: Virtual Machine Configure Screen
- From the command bar at the bottom of the Portal screen, select the New option as shown in Figure 3.
Figure 3: Selecting the New Option
- Under the Compute option, select Virtual Machine, and then select the Quick Create option as shown in Figure 4.
Figure 4: Selecting the Quick Create Method
- Enter the following virtual machine configuration details in the dialog box as shown in Figure 5.
- DNS Name – This is the name that is used for the virtual machine and the cloud service that contains the virtual machine.
- Image – This is the platform image that is used for the virtual machine.
- Size – This defines the virtual machine processor core and memory resource requirements. There are several options that range from a shared core with 768 MB of memory to 16 cores with 112 GB of memory.
- User Name – This is the name for the account that you use to manage the virtual machine.
- New Password – This is the password for the account that you use to manage the virtual machine.
- Confirm – This is to verify the password for the account.
- Region/Affinity Group – This is the region where you want the virtual machine resources to be physically deployed. Currently available regions include East US, South Central US, West US, North Europe, West Europe, East Asia, Southeast Asia, and Japan West.
Figure 5: Quick Configuration of the New Virtual Machine
- After you enter the virtual machine configuration details, click on Create a Virtual Machine or the check mark. A storage account is automatically created to contain the virtual machine VHD file.
- You can view the new virtual machine on the Virtual Machines page as shown in Figure 6.
Figure 6: Viewing the New Virtual Machine
Creating a New Virtual Machine using the From Gallery Method
Using the From Gallery method to create a new virtual machine, you have more configuration choices, including more selections of images for the virtual machine, definition and connection to a virtual network, installation of the VM Agent and extensions, availability settings, and adding the VM to an existing cloud service.- From the command bar at the bottom of the Management Portal screen, select the New option.
- Under the Compute option, select Virtual Machine, and then select the From Gallery option as shown in Figure 7.
Figure 7: Selecting the From Gallery Method
- On the Choose an Image page, you can select an image for the new virtual machine from the lists as shown in Figure 8. Then you click the arrow at the bottom of the page to continue the virtual machine configuration. You can select to install only a guest operating system, or a guest operating system and a predefined workload such as Sharepoint, SQL Server, Biztalk Server, and Visual Studio. These are not the only images available as the options that are presented depend on the type of Azure subscription that you purchase.
Figure 8: Selecting the New Virtual Machine Image
- On the first Virtual Machine Configuration page, enter the following virtual machine attributes as shown in Figure 9, and then select the arrow to continue the virtual machine configuration.
- Version Release Date – This is the version of the image that you want to use for the new virtual machine. If multiple versions of the image are available, select the desired option.
- Virtual Machine Name – This is the name that is used for the virtual machine.
- Size – This defines the virtual machine processor core and memory resource requirements.
- New User Name – This is the administrative account that you use to manage the virtual machine.
- Tier - This defines the virtual machine processor core and memory resource selections that are listed as Size options. The Basic tier has smaller core and processor combinations to select from than the Standard tier.
- New Password - This is the password for the account that you use to manage the virtual machine.
- Confirm – This is to verify the password for the account.
Figure 9: Defining the New Virtual Machine Configuration
- On the second Virtual Machine Configuration page, set the following virtual machine attributes as shown in Figure 10, and then select the arrow to continue the virtual machine configuration.
- Cloud Service – This is a cloud service container for virtual machines that you create. You can create a new cloud service container for a single virtual machine or place multiple virtual machines in the same cloud service for load balancing.
- Cloud Service DNS Name – This is the global DNS name that is used to contact the virtual machine.
- Region/Affinity Group/Virtual Network - This is the Region where you want the virtual machine resources to be physically deployed. The Affinity Group attribute allows Azure to keep all services in a group physically close. The Virtual Network attribute allows you to define the network to connect to the virtual machine.
- Storage Account – This defines the storage account that contains the virtual machine virtual hard disks (VHDs).
- Availability Set – This is used to define a group of virtual machines that are deployed across fault and update domains.
- Endpoints – These are the communication ports through which the virtual machine can be contacted.
Figure 10: Continuing the New Virtual Machine Configuration
- On the third Virtual Machine Configuration page, select the following virtual machine configuration options as shown in Figure 11, and then select the check mark to create the virtual machine.
- VM Agent – The VM Agent installs extensions that enhance the interaction with the virtual machine. This option cannot be disabled when installing a Linux image. For Windows data disks and Linux images and disks, a version of the VM agent that supports extensions must already be installed in the operating system.
- Configuration Extensions – These are extensions that enhance the management of the virtual machine, including the execution of custom scripts.
- Security Extensions - These are extensions that enhance the security of the virtual machine, such as antivirus support.
Figure 11: Completing the New Virtual Machine Configuration
- You can view the new cloud service, storage, and virtual machine on the All Items page as shown in Figure 12.
Figure 12: Viewing the New Cloud Service, Storage, and Virtual Machine
- You can view the virtual machine disks in the Portal by selecting Disks in the Virtual Machines screen as shown in Figure 13.
Figure 13: Viewing the Virtual Machine Disks
- You can view general virtual machine details on the Dashboard screen as shown in Figure 14. From this screen, you can also connect to, restart, shutdown, attach empty disks, capture, and delete the virtual machine.
Figure 14: Virtual Machine Dashboard Screen
-
You can monitor virtual machine performance on the virtual machine Monitor screen as shown in Figure 15.
Figure 15: Virtual Machine Monitor Screen
-
You can reconfigure virtual machine endpoints on the virtual machine Endpoints Screen as shown in Figure 16.
Figure 16: Virtual Machine Endpoints Screen
-
You can also reconfigure the virtual machine tier, size, and availability sets by selecting the Configure Screen as shown in Figure 17.
Figure 17: Virtual Machine Configure Screen
All of these virtual machine screens are accessed by clicking the virtual machine name from the Virtual Machine screen.