Saturday, October 12, 2019

Create a Free Tier Windows/Linux Virtual Machine in Azure


Azure free tier provides following free services for 12 months after one month for your free $200 credit:

  1. 750 hours B1S VM Windows Virtual machines
  2. 750 hours B1S VM Linux Virtual machines
  3. 64GB x 1 Storage - 2 P6 SDDs
  4. 5 GB File Storage
  5. 250 GB SQL DB
  6. 15 GB Bandwidth (Data Transfer)
  7. etc
Basically, you can run two virtual machines (one for windows , one for linux) free for a year.




For Windows Machines


I was thinking to test free tier Windows VM to see if it is really free. And found if I am using a VM with following options, the free tier does not apply to this VM's storage option. By default, it will give you 128 GB storage and there is not option for you to make change for your disk to P6 SDD.




The daily charge comes from storage since this VM size is using s10 disk type . Daily charge will be around $0.25. It was not that much but I really want to find out how we can really enjoy the free tier services as much as we can.



After some research and I found that is because of the image we selected for this VM. If I am use those predefined Windows 2012 image, it will come with 128GB S10 disk.

To avoid that, I will have to choose [smalldisk] image, such as [smalldisk] Windows Server 2012 Datacenter or [smalldisk] Windows Server 2012 R2 Datacenter as show from following screenshot:

After that , in Disks window, you will have disk options available for you to choose a free account eligible P6 disk.

For Linux Machines


1)After you created your Linux VM with right size (B1S), you will need to stop it before you can resize it.

2) After Linux VM stopped, you can choose Disks from right column

3) After found your Linux Disk, choose Configuration. You will find the option to choose your disk type and size. Change size from 30 to 64. After enter 64, you will find both IOPS and throughput limit changed to better value. 

4) After made the disk size change, go back to virtual machine page to start your Linux VM . 






No comments:

Post a Comment