Deploy a VM in Azure
In this post, I will explain how to create a new virtual machine on Microsoft Azure. Following are the steps:
Please login using your Azure account at http://portal.azure.com. If you don’t have an account, please register first, or if you are a student, you can use academic e-mail to get Azure for free. Following are the steps to redeem the Azure for Students Starter Pack.
- Click Virtual machines to manage and create VM instances. Then click Create a virtual machine to begin the creation process, as shown in Figure 1
2. Check that you’re using the correct subscription. An Azure subscription identifies a payment method or some other crediting account. If you signed up for a free trial account with Azure, then you automatically have a Free Trial subscription, as shown in Figure 2. Other subscription types include MSDN (Microsoft Developer Network), Pay-As-You-Go, and Visual Studio. In a business environment, subscriptions allow costs to be tracked to specific departments or organizations. Subscriptions can also be transferred so that billing ownership can be reassigned to a different user.
3. Click Create new to create a new resource group and give it a name. Resource groups organize various resources with the same life cycle, permissions, and policies. For example, each VM instance can be related to network interfaces, storage disks, IP addresses, security groups, and a virtual network. Together, the resources that make the VM function are part of a resource group. Resource groups may contain many VMs and their associated resources. Figure 3 shows one resource group with a list of its resources. Figure 4 shows the costs for the resources in this resource group. What is the name of your resource group?
4. 1. Name your VM, and then choose an image. Figure 2–23 shows a few of the many other options in Azure. Notice that you can use the Marketplace to choose from images in different categories, including several BYOL (bring your own license) options, or you can use your own images. Choose a Windows Server image, such as Windows Server 2016 Datacenter. Which image did you choose?
5. Next to Size, click Change size. Like AWS, Azure offers options for a number of vCPUs and allocation of memory, storage disks, storage space, and more. Figure 6 shows a few of these options. Notice the filters and search box at the top of the figure that can be used to help you find the right size for your purposes. The Azure free trial includes 750 hours of Azure B1S General Purpose VMs for Windows Server and Linux. Choose the B1s size, and then click Select.
6. Specify a username and password, and then confirm the password. Save this information.
7. Next to Public inbound ports, allow RDP, which is Remote Desktop Protocol. You’ll need this access in order to connect to your instance in Project 2–6.
8. Click Next: Disks > and explore the other configuration options while keeping the default settings. When you’re ready, click Review + create. If the validation fails, troubleshoot any missing information or configurations. Once the VM passes validation, click Create.
9. Return to the Virtual machines page, and examine available information on your VM.
Thank you for your visit, I look forward to comments and suggestions from you. If you feel that this article is useful, please give me support with claps and share it.