An Azure service that is used to provision Windows and Linux virtual machines.
Hi Deepak,
There is a bug in the Marketplace Free VM offer that has public IP set to Standard SKU (correct), but still has allocation set to Dynamic (incorrect). What you can do is manually create VM using correct parameters to qualify for free. To start the process you may use link below:
https://portal.azure.com/#create/Microsoft.VirtualMachine
For Linux, when creating, set
- Size: Standard_B1s
- Image: Ubuntu Server 22.04 LTS - x64 Gen2
- OS disk size: 64 GiB (P6)
- OS disk type: Premium SSD (locally-redundant storage)
- Monitoring tab: Boot diagnostics: Disable
Don't enable any of the options if you want to avoid charges, for example, if you turned on Backup that has a charge associated with it.
After creating VM, please monitor costs (at least daily) by navigating to your subscription. If you used correct parameters for the VM you should not see any charges accrue related to it, except for the public IP address. Charges are delayed, so it will take typically several hours (after creation) before any would show up.
If you associate Public IP address with the VM, it is likely that you will be charged for this (about $3.65/month each). You can minimize the charges by dissociating it from the VM's network interface and deleting it when you are not using the VM.
To do this you would navigate to the Public IP address in the portal, click Dissociate, confirm, wait for it to complete, then click Delete, confirm. Please see screenshot:
Next time you need public IP for your VM you would simply create a new Standard Public IP address and Associate it with the VM's network interface again. Creating a new Standard Public IP typically only takes seconds to complete.
Any free Linux image should be okay to qualify, assuming it fits within the 64 GiB (P6) mandatory disk size, is fine. I just put Ubuntu Server 22.04 LTS - x64 Gen2 since that was one of several included in the pre-built marketplace offer.
You didn't ask but for Windows you would use [smalldisk] Windows Server images with P6 LRS disk.
After creating Linux VM you should expand the partition so you are using the full 64 GiB:
Please click Accept Answer and upvote if the above was helpful.
Thanks.
-TP