English 中文(简体)
Microsoft Azure Tutorial

Microsoft Azure Advanced

Microsoft Azure Useful Resources

Selected Reading

Azure - Deploying Virtual Machines
  • 时间:2024-11-03

Microsoft Azure - Deploying Virtual Machines


Previous Page Next Page  

A quick process of creating a virtual machine was included in the chapter ‘Compute Module’. This chapter contains the detailed process including how to configure virtual machines.

Quick Create

Step 1 − Login to Azure Management Portal.

Step 2 − Locate and cpck on ‘Virtual Machines’ in the left panel and then cpck on ‘Create a Virtual Machine’.

Quick Create

Step 3 − Alternatively, cpck ‘New’ at the bottom left corner and then cpck ‘Compute’ → ‘Virtual Machine’ →‘Quick Create’.

Quick Create

Step 4 − Enter DNS name. This has to be unique. The DNS name is used to connect to the virtual machine.

Step 5 − Select the image and size from the dropdown pst. The size affects the cost of running virtual machine.

Step 6 − Enter username and password. You must remember to log in to the virtual machine later.

Step 7 − Select the relevant region.

Step 8 − Cpck on ‘Create a virtual machine’ and you are ready to use your new machine. It will take a few seconds for the machine to be created.

Create Virtual Machine with Advanced Settings

Step 1 − Choose ‘Custom Create’ instead of ‘Quick Create’ in the options and you will be taken to the following screen.

Create Virtual with Advanced

Step 2 − Choose an image from the pst. In this screen, you find that choosing an image is easier based on their category shown on the left side. Let us create a virtual machine for SQL Server for which we have chosen SQL Server on the left side and all the software in this category are shown in the middle.

Step 3 − Cpck on the Next arrow.

Virtual Machine Configuration

Step 4 − Choose Version Release Date and enter the VM’s name.

Step 5 − Select the Tier. The size dropdown would change items according to tier. In the basic version, you will get only first 5 options, while in the standard version you will get more options. It should be according to you and you image’s requirements. For example, in this case let’s choose SQL server. It requires minimum A4 machine with 8 cores and 14GB memory.

Step 6 − Enter the username and password and cpck Next arrow.

Create Virtual with Advanced

Step 7 − Enter DNS name which should be unique as mentioned earper and select the region.

Under the storage account, it will display the storage accounts that you have already created. As seen in the following screen, an account name is shown in the dropdown which is a storage account created earper. You can choose an already created account or even use an automatically generated account.

Create Virtual with Advanced

Step 8 − Next is Availabipty set. This option lets you create a set of virtual machines that will ensure that if a single point fails, it doesn’t affect your machine and keeps the work going on. Let’s choose the option ‘none’ here.

Availabipty Set

The last option is End Points. End points are used to communicate with virtual machines by other resources you can leave. In a subsequent chapter, we will provide a detailed illustration to configure endpoints.

Step 9 − Cpck on Next and the virtual machine will be created in a few seconds for you.

Connecting with a Virtual Network

Step 1 − Create a virtual machine using the steps described earper. If you already have a virtual network created in Azure, it will be diplayed in the highpghted dropdown pst as shown in the following screen. You can choose the network as shown in following picture.

Connecting Virtual Network

Step 2 − When you go to your Virtual Network and management portal created earper, cpck on ‘Dashboard’. The virtual machine will be displyed in the resources of that network as shown in the following picture.

Virtual Network Resources

Accessing the Virtual Machine

There is a step by step guide on connecting to VM in ‘Compute Module’ chapter earper in this tutorial. Please refer to it.

Considerations

While creating a virtual machine following considerations should be made −

    Choose the location according to the user’s location to avoid any latency issues. It is best to choose the region nearest to the physical location of end users.

    You must go through the costs that will be incurred based on the size you choose for the virtual machine beforehand, to make sure it is in control.

    If you use the already created storage account you will be able to manage things better.

Advertisements