Increasing the size/resources of a VM in your own environment is usually pretty straightforward. You’ll know whether or not you can hot-add resources; if you have to reboot the machine or not, etc. and it’s probably a familiar interface such as VMWare, Hyper-V, or a KVM or similar hypervisors.
I know that my first time resizing a VM in Azure, I had some questions that I couldn’t exactly look up. I basically just wanted to see the process through before I performed the re-sizing in production.
The main reason I am putting together this short guide is so that people like myself can see what happens when you upgrade a VM in azure.
1. Open your VM in Azure Portal
- Select “size” from the settings list, pictured below.
2. Select your new size.
- Below I have a DS12_V2 Standard Azure VM which I will be upgrading.
- My task in this situation was to double the RAM and CPU for a Remote Desktop Session Host, so I selected DS13_V2 Standard to upgrade to.
- Hit select, and your VM will begin resizing.
NOTICE: The server must reboot to resize! Don’t do this unless your server is in a state where it can be restarted.
You’ll see a notification in your Azure portal while the VM is resizing/rebooting:
- The Azure Portal indicates that the VM was resized successfully.
- Here is the Session Host after resizing.
In summary, resizing a VM in Azure is really straightforward.
I hope this helps anyone who reads.