DEV Community

Cover image for How to resize your VM OS on Azure
Kehinde Oloye
Kehinde Oloye

Posted on • Updated on

How to resize your VM OS on Azure

I will be showing you how you can increase or reduce your Virtual Machine (VM) OS size (RAM) on Azure in just few simple ways.

To reduce your VM OS size on Azure, you are to first create a VM, please review my article [https://dev.to/samuel_olo75614/steps-to-creating-azure-virtual-machines-18am] on how to create a VM.

Open the Azure portal, navigate to your VM in which you want to expand the disk by double clicking on it.

Image description

Open the page for the virtual machine, in the left menu under Settings, select size. Please don't forget to take note of the initial OS you mounted on your VM (Standard B2s (2 vcpus, 4 GiB memory), now we are upgrading to Standard D2as v4 (2 vcpus, 8 GiB memory).

Image description

Pick a new size from the list of available sizes and then select Resize, then click overview (2) to confirm the change made.

Image description

You now have your VM OS upgraded to Standard D2as v4 (2 vcpus, 8 GiB memory)

Image description

Please note that you can equally do a downgrade of your OS size by following same process.

Thanks for reading my article till the end. I hope you learned something special today. If you enjoyed this article then please share to your friends and if you have suggestions or thoughts to share with me then please write in the comment box.

Top comments (0)