Starting and stopping the Azure virtual machine

I need to start / stop the Azure virtual machine, but I do not know how to do this. I don't know anything about Azure or Azure scripting.

+1
source share
3 answers

You have several options.

The first is the use of Azure Portal. Click on your virtual machine and below you will see a button to stop the virtual machine. Running it again works the same.

The second option is to use PowerShell. John McCabe posted a simple script on his blog to do this. The most important features are Start-AzureVMand Stop-AzureVM.

( , PowerShell), Azure. .

- Microsoft Azure Automation. . , .

+4

Azure, , / . :

Azure, Azure

, , HTTP, , , PowerShell script vmname resourcegroup.

0

in the Azure portal (I would recommend using the new portal), go to the virtual machine that you need, on the control panel you will see the "Stop and Start" button or you can select "Restart the virtual machine". Hope this helps.

-1
source

Source: https://habr.com/ru/post/1675856/


All Articles