Virtual Machine

rahul sahay
5 min readJan 20, 2020

--

Hi,

This is the continuation of the azure series which I started with http://bit.ly/azure-1st. In this part, we will start with virtual machine.

Shortcuts Used:-

VM:- Virtual Machine

RG:- Resource Group

  • Vms are one of three pillars of cloud computing Infrastructure as a service.
  • Apart from VM, storage and networking are two important factors.
  • You can install anything on VM.
  • Use it, shut down. You will be charged only for that usage period.
  • Based on your need, you can choose from different combinations. Azure provides just over 120+ combinations for creating VMs.
  • Based on instance size, billing will differ.
  • These 120+ different types are categorized under term “Instance Types”
  • General Purpose — balanced VM “Balanced CPU-to-memory ratio. Ideal for testing and development, small to medium databases, and low to medium traffic web servers.”

D Series, A Series (non-critical), B Series (economical), DC Series (preview, confidential computing)

  • Compute Optimized — double the CPU cores “High CPU-to-memory ratio. Good for medium traffic web servers, network appliances, batch processes, and application servers.” — F Series
  • Memory Optimized — double the memory “High memory-to-core ratio. Great for relational database servers, medium to large caches, and in-memory analytics.” — E Series, D11–15, G Series (includes powerful CPU for database workloads) — M Series (certified for SAP HANA, up to 416 cores + 12 TB memory)
  • Storage Optimized — double the local storage “High disk throughput and IO. Ideal for Big Data, SQL, and NoSQL databases.” — L Series
  • GPU — access to a graphics processing unit “Specialized virtual machines targeted for heavy graphic rendering and video editing available with single or multiple GPUs.” — N Series (incl NC, NV, ND)
  • High-Performance Compute — fastest everything “Our fastest and most powerful CPU virtual machines with optional high-throughput network interfaces (RDMA).” — H Series (incl HB and HC)

Creation of VM:-

Next, we can click on the highlighted thing and choose different instance type. You can see I have applied filter and get the minimal one.

Offering and cost differ from region to region. Let’s say, If I select the East US, in this case, I may get more options at minimal price like shown below

You see, how my pricing reduced. Massive.

Apart from RDP, I have also enabled port 80 and 443. This is well suited option for web developers.

If you already have a windows server license then you can apply that as well as pricing will drop further very dramatically.

On the next page, it will show disks option. If you want additional disk. You can choose from here. These are by default selected.

Similarly for networking, management and other things. You can also do Review + Create directly with default option.

Accelerated networking is not supported here. It means two machines running on the same network to be able to talk to each other. This talks at much faster pace than standard networking.

Load balancing, we will discuss in another session.

Similarly, on management page, you will get options like

Whether you want to set diagnostics setting. Any additional Identity management, if you like you can set up here. This will enable to grant role based access.

Then, at time, you want machine to shutdown like shown below. You can also configure whether you want backup of your machine.

Then, we have advanced settings for any kind of post installation steps like anti-virus installation, configuration management etc.

Next comes tag, where in we can tag like shown below. It will automatically pick and tag items associated with VM.

Next, we get lovely summary tab like shown below.

Having said that, I can now go ahead and click on Create button.

This is going to take bunch of minutes. You can see, that deployment is happening at real-time.

Once its done, it will look like

Here, I can simply click on Go to resource.

Here, I can see all the required info related to my VM. I have masked my subscription id purposely.

I can now, click on connect button and this will give me two options via RDP or via SSH or via Bastion.

Bastion is the new addition here. We will talk about this later. We can now download the RDP file and then connect via that to VM like shown below.

Then, accept the certificate

This, will bring me on my new VM. This will take sometime for the first time as it will be configuring bunch of services under the hood.

Now, let’s say you want to delete the VM. Then you can do the at RG level like shown below.

You can also delete the complete resource group as well if you want.

Thanks,

Rahul Sahay

Happy Coding

--

--

rahul sahay
rahul sahay

Written by rahul sahay

🌟 Unleashing the Power of Languages! 🚀 Expert polyglot developer, author, and Course creator on a mission to transform coding into an art. 🎨 Join me in

No responses yet