Let's get our hands deity with the step-by-step guide on how to manage virtual machines
Move the virtual machine network to the new subnet
Login to Microsoft Azure at https://portal.azure.com
From the Azure portal home page, in the search box, enter virtual machines.
Select virtual machines under services.
Select the guided-project-vm virtual machine.
If the virtual machine is running, select** Stop** and Wait for the Status field to update and show Stopped (deallocated).
Select the Network interface / IP configuration hyperlink for the VM.
Update the Subnet to ftpSubnet and Select Apply.
Thats all, select home to return to the home page, we have successfully migrated the VM from one subnet to another
Vertically scale the virtual machine
-Search and select virtual machines under services.
Select the guided-project-vm virtual machine.
Locate the Availability + scale submenu and select** Size.**
Select a new VM size and resize
Select home, With the VM scaled up to a more robust processor, it can now handle a new role.
Attach data disks to a virtual machine
Select virtual machines under services.
Select the guided-project-vm virtual machine.
Locate the settings submenu and select Disks.
Select Create and attach a new disk.
Leave LUN as default.
Enter ftp-data-disk for the Disk name.
Leave the Storage type as default.
Enter 20 for the Size.
Select Apply to create the new storage disk and attach the disk to the machine.
With this, the VM has enough space to handle more uploads. Select Home.
Lastly, we are going to Configure automatic shutdown on a virtual machine to save cost
From the Azure portal home page,Select virtual machines **under services.
Select the **guided-project-vm virtual machine.
Under the Operations submenu, select Auto-shutdown.
In order to let late uploads finish, set the Scheduled shutdown to 7:15:00 PM.
Select Save.
We have successfully completed the task on How to Manage virtual machines. Kindly like, comment and share.
Top comments (0)