Hosting » Azure » How do I tell the size of my Azure VM?

How do I tell the size of my Azure VM?

Last updated on September 25, 2022 @ 11:40 am

Azure VM sizes are based on the size of the underlying hardware. You can find the size of your Azure VM in the Azure Portal by going to your account, selecting Resources, and then selecting VMs.

In the Details pane, you will see the size of the VM, the size of the disk, and the number of cores and memory. You can also find the size of the VM by using the Azure CLI.

To get the size of the VM, use the az vm size command. For example, to get the size of my VM named myVm1, I would use the following command:.

az vm size myVm1

The output of the az vm size command is as follows:

Name: myVm1

Size: 2GB

OS: Windows Server 2012 R2

Storage: SSD

CPU: 2 cores

Memory: 4GB

The az vm size command also returns information about the disk size. The disk size is the size of the disk in megabytes. The az vm size command returns the following information:

PRO TIP: If you are unsure about the size of your Azure VM, it is best to contact your Azure administrator. They will be able to help you determine the size of your VM.

Size: 2.0GB

The az vm size command also returns the following information about the number of cores and memory. The number of cores is the number of cores in the VM.

The number of memory is the number of megabytes of memory in the VM. The az vm size command returns the following information:.

Conclusion

In this article, we have learned about the az vm size command. The az vm size command can be used to get the size of a VM, the disk size, and the number of cores and memory.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.