DEMO: Redeploying a VM
Start course
1h 27m

This course will give you a basic understanding of Azure virtual machines (VMs) and how you can use them in your Azure environments.

The course begins by introducing you to Azure VMs and what resources are necessary to deploy them, before moving onto pricing and the different virtual machine options available. Next, the course explores availability sets and availability zones and gives a demonstration that shows you how to create an availability set using the Azure portal.

The course shows how to deploy both Windows and Linux virtual machines, and you'll get a demonstration of how to deploy and connect to each. Rounding off the course is a section on basic management tasks; you’ll learn how to start, stop, restart, redeploy, and resize virtual machines.

This course is packed full of real-world demonstrations from within the Azure portal to give you first-hand experience of how to get the most from Azure Virtual Machines.

For any feedback you may have relating to this course, please contact us at

Learning Objectives

  • Gain a foundational understanding of Azure virtual machines, their features, and their pricing
  • Learn how to set up availability sets
  • Learn how to create and connect to both Windows and Linux virtual machines with Azure
  • Learn how to manage your Azure VMs including starting, stopping, restarting, redeploying, and resizing VMs

Intended Audience

This course is intended for anyone who is interested in learning about the basics of Azure virtual machines.


To get the most from this course you should have a basic understanding of Microsoft Azure and of the Azure portal.


Hello, and welcome back. In this demonstration, I am going to show you how to redeploy a virtual machine. Now what happens when you redeploy a virtual machine is essentially the VM is moved to a new Azure node on the underlying hardware. You would typically redeploy a virtual machine if you're having trouble SSH into it, or RDP into it. Or if an application is having issues with connectivity.

Before that move happens, the VM is powered off and then powered back on that new node. I should point out that all the configuration for that VM remains the same. The only thing that changes is the underlying physical node that the VM relies on.

On the screen here, I'm logged in to my Azure portal and I'm at the overview page for VMO two, and this is my Linux machine. To redeploy this VM, all I need to do is scroll down to near the bottom. Under support and troubleshooting, and you'll have this option to redeploy.

If we click on redeploy here, what I'm getting here is a note from Azure telling me that if I redeploy my virtual machine, it's going to migrate it to a new host. It also warns me that the VM is going to be restarted. And if there's any data on the temporary drive, we're going to lose that. It also warns me that during a redeployment, the VM is unavailable, which makes sense, you're moving it to another host.

To begin the redeployment, we simply click the blue redeploy button down here at the bottom, and it begins the redeployment process. This process doesn't take long, but it does cause an outage. So you need to keep that in mind in a production environment.

If we click on our bell up here, we can see that the redeployment is occurring. If we scroll over and go back into our overview, you can actually see that the redeployment is already finished. If we click on our overview here, we can see our VM is already running. There's nothing in the overview page that will tell you anything is different. It's just the underlying hardware that's changed.

So there's nothing you can see here. But what Azure has done is taken that machine, moved it to new hardware and then brought it back up on that new hardware. And that's pretty much it. And like I said, the only time you're going to really encounter redeployment in a production environment, will be situations where you can't remote to that VM or if the application loses connectivity.

About the Author
Learning Paths

Tom is a 25+ year veteran of the IT industry, having worked in environments as large as 40k seats and as small as 50 seats. Throughout the course of a long an interesting career, he has built an in-depth skillset that spans numerous IT disciplines. Tom has designed and architected small, large, and global IT solutions.

In addition to the Cloud Platform and Infrastructure MCSE certification, Tom also carries several other Microsoft certifications. His ability to see things from a strategic perspective allows Tom to architect solutions that closely align with business needs.

In his spare time, Tom enjoys camping, fishing, and playing poker.