Creating 2nd Generation VMs in Azure.

On the last day of 11/04/2019, Microsoft finally made second-generation VMs generally available, which we had on our local Hyper-v since Windows Server 2012 R2. They have a new architecture based on UEFI that is different from the BIOS-based architecture of generation 1. With these VMs, according to Microsoft, you will be able to:

  • Create larger VMs (up to 12 TBs).
  • Provision OS disk sizes that exceed 2 TBs.

Continue reading “Creating 2nd Generation VMs in Azure.”

Script to automate VM resizing in MS Azure and save a lot of money.


Based on what people have been asking me for, I have been developing some simple but very useful scripts for Microsoft Azure, such as the example script below, where we can use it to automate the resizing of our VMs. Why is this important? Let’s think about our legacy application that doesn’t support autoscale and that is hosted on an IaaS (Infrastructure as a Service) VM…at the beginning of the month it is barely used and at the end of the month it has a high consumption. With this script you can automate this resizing, leaving the VM with less capacity at the beginning of the month and at the end with a higher capacity, for example. In the cloud we pay for what we consume, in this format we can save a lot of money and in a very simple way.


Continue reading “Script to automate VM resizing in MS Azure and save a lot of money.”