How Do I Restart Azure

How Do I Restart Azure

In this Azure tutorial, we will discuss How Do I Restart Azure. Along with this, we will also discuss the below topics.

  • How To Restart Azure SQL Server
  • How To Restart VM Instance in Azure
  • How to restart Azure VM
  • Restart Azure VM PowerShell
  • How to Restart Azure Application Gateway

How Do I Restart Azure

Sometimes, if there is an issue with the server you are not getting your data properly or due to some maintenance activities, you are facing some issues in your site. You have verified everything is fine and you are still not sure what is happening. As we know restart is the primary solution.

You can try restarting your site in Azure and that might help you to fix your issue.

You can follow the below steps to restart your site in Azure Portal.

Step-1: Login to Azure Portal (https://portal.azure.com/)

Step 2: Navigate to the site you want to restart in Azure Portal. You can find it on the DashBoard or Once you log in to Azure Portal you can find it in the Recent Resources section if you are not getting there, you can search for the App Services, and then you will find your website listed there.

Step 3: Click on the Restart button that appears at the top.

How Do I Restart Azure

Step 4: Click on the Yes button to confirm the Restart option. Wait for a few minutes for the restart.

how to restart azure server

Step-5: Now you can see it successfully restarted the site.

restart azure server

This is how you can restart your site in case of any issues using the Azure Portal.

This is all about how I Restart Azure.

How To Restart Azure SQL Server

Above we discussed How Do I Restart Azure. Well, here we will discuss how you can restart an Azure Database for MySQL server. Sometimes you might need to restart your server from a maintenance perspective.

Step-1: Login to Azure Portal(https://portal.azure.com/)

Step 2: Navigate to your Azure Database for MySQL server. Click on that.

Step-3: Now on the next step, On the server’s Overview page, click on the  Restart button from the top.

how to restart azure sql server

Step-4: Now click on the Yes button on the Restart Server Pop-up to confirm the restart operation.

How To Restart Azure SQL Server Database

Step-5: Now you can see the MYSQL server database has been restarted Successfully.

how to restart azure sql database

How To Restart VM Instance in Azure

Sometimes, if you are facing any issue with your Virtual Machine and You want to restart your virtual machine once. As we all know, Restarting the virtual machine can fix some of the minor issues you are facing. This is the primary solution we use to follow.

Step-1: Login to Azure Portal(https://portal.azure.com/)

Step 2: Once you log in to the Azure Portal, search for Virtual machines there.

How To Restart VM Instance in Azure

Step 3: You will see the list of Virtual Machines created in your Azure subscription. It will show the VM name, Status, Resource Group, Location, etc.

how to restart azure vm

Step-4: You can either select this VM from here from this window or You can click on the Virtual Machine name and then click on the Restart button from the top as highlighted below.

how to restart azure Virtual Machine

Step-5: The next step is to click on the Yes button from the next pop-up for confirmation on the restart option. Now wait for a few minutes, it will restart the Virtual Machine successfully, and then you can connect the virtual machine as usual and do your day-to-day activities.

This is how you can restart your virtual machine with a few simple clicks using the Microsoft Azure Portal.

Restart Azure VM PowerShell

We saw above, How To Restart VM Instances in Azure using the Azure Portal. Now let’s see How to Restart Azure VM PowerShell. Follow the below steps to restart the Azure Virtual Machine using PowerShell.

Step-1: Open the PowerShell ISE as Run as administrator mode

azure restart vm

Step 2: Use the Restart-AzureRmVM cmdlet to restart the Azure virtual machine.

PS C:\WINDOWS\system32> Restart-AzureRmVM -ResourceGroupName "Your Resource Group Name" -Name "Your Virtual Machine Name"

For Example:

PS C:\WINDOWS\system32> Restart-AzureRmVM -ResourceGroupName "newresgroup" -Name "MyNewVM"
restart azure vm

This is how to Restart Azure VM PowerShell.

How to Restart Azure Application Gateway

Well, let’s discuss How to Restart Azure Application Gateway using PowerShell and Azure CLI. Follow the below steps to restart the Azure application gateway

Step-1: Open the PowerShell ISE as Run as administrator mode

Restart Azure Application Gateway

Step 2: You can run the below PowerShell cmdlet to start the Azure Application Gateway.

PS C:\WINDOWS\system32> Start-AzureRmApplicationGateway
How to Restart Azure Application Gateway

same way, you can also stop the Azure Application Gateway using the below PowerShell cmdlet.

PS C:\WINDOWS\system32> Stop-AzureRmApplicationGateway
Restart Azure Application Gateway PowerShell

You can also Restart Azure Application Gateway using Azure CLI.

Use the below Azure CLI script to restart the Azure Application Gateway

First, you can use the below Azure CLI script to stop the Azure Application Gateway

az network application-gateway stop -g newresgroup -n DemoAppGateway

Then you can start the Azure Application Gateway using the below Azure CLI script.

az network application-gateway start -g newresgroup -n DemoAppGateway

This is How to Restart Azure Application Gateway using PowerShell and Azure CLI.

Conclusion

Well, in this tutorial, we discussed How Do I Restart Azure, How To Restart Azure SQL Server, How To Restart VM Instance in Azure, how to restart Azure VM, Restart Azure VM PowerShell, How to Restart Azure Application Gateway. Thanks for reading this article !!!