How to resize a VM in Azure

0 votes

Hi Guys,

I have one VM in Azure. This VM has very less resources. I want to resize the VM from the command line. How can I do that?

Nov 11, 2020 in Azure by MD
• 95,060 points
57 views

1 answer to this question.

0 votes

Hi@MD,

You can resize your VM at any time. But before that, you make sure that you don't have any important data in your older hard disk. Otherwise, you will lose your data. The following command can be used to resize the VM.

$ az VM resize -g <group name> -n <VM name> <type>
$ az vm resize -g MyResourceGroup -n MyVm --size Standard_DS3_v2
answered Nov 11, 2020 by akhtar
• 38,170 points

Related Questions In Azure

0 votes
1 answer

How to identify a deadlock in SQL Azure?

Monitoring of SQL Azure is more limited ...READ MORE

answered Jun 19, 2018 in Azure by club_seesharp
• 3,450 points
1,196 views
0 votes
1 answer

Azure Blob: How to open a file in browser without downloading it?

First, because I was using a byte[] the controller ...READ MORE

answered Jun 20, 2018 in Azure by club_seesharp
• 3,450 points
10,984 views
0 votes
1 answer

How to get the list of names of Azure blob files in a container?

We can get some additional info like Size, ...READ MORE

answered Jun 27, 2018 in Azure by club_seesharp
• 3,450 points
9,486 views
0 votes
1 answer

How to serialize and de-serialize a PFX certificate in Azure Key Vault?

Here's a PowerShell script for you. Replace ...READ MORE

answered Sep 24, 2018 in Azure by club_seesharp
• 3,450 points
735 views
0 votes
2 answers
0 votes
0 answers

How to create a sub-container in Azure?

How to create a sub-container in Azure ...READ MORE

Jun 28, 2019 in Azure by sabby
• 4,370 points
388 views
0 votes
1 answer

What is Azure Cloud Service?

Azure Cloud Services is an example of ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 58,990 points
224 views
0 votes
2 answers

Azure DevOps and its need?

Azure DevOps is a hosted service providing ...READ MORE

answered Aug 28, 2020 in Azure by nbavis
• 380 points
338 views
0 votes
1 answer

What is Azure stack?

Azure Stack is a hybrid cloud computing software solution ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 58,990 points
198 views
0 votes
1 answer

How is Azure Cosmos db different from an Azure SQL db?

Azure Cosmos DB is Microsoft’s globally distributed database ...READ MORE

answered Jan 10, 2020 in Azure by Sirajul
• 58,990 points
938 views