Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🔄 Azure VM Redeploy & Reapply Lab – My Experience

In this lab, I explored how to recover a Windows-based Azure virtual machine (VM) that was experiencing connectivity and provisioning issues. I used two key recovery operations available in the Azure portal:

  • Redeploy VM: When Remote Desktop (RDP) access failed and the VM became unreachable, I used the redeploy option to move the VM to a new physical node within Azure’s infrastructure. This process retained all configurations, disks, and network settings—allowing to restore access without losing data.

  • Reapply VM State: In a separate scenario, the VM entered a failed provisioning state. I resolved this by reapplying the VM’s state, which triggered a fresh provisioning cycle while preserving the original setup. This helped recover the VM without needing to rebuild it from scratch.

🧪 What I Practiced
I deployed a Windows Server VM for testing Active Directory and internal applications. When connectivity broke down, I applied these recovery techniques to restore functionality within minutes. This lab strengthened my understanding of Azure’s troubleshooting tools and taught me how to maintain uptime in both sandbox and production environments.

🎯 Lab Objectives Achieved: Redeploy & Reapply Azure VM

As part of this lab, I successfully:

  • ✅ Identified the difference between redeploying and reapplying a virtual machine in Azure.
  • ✅ Used the Azure portal to redeploy a Windows-based VM, resolving Remote Desktop (RDP) connectivity issues without losing configuration or data.
  • ✅ Executed the Reapply VM State operation to recover a VM stuck in a failed provisioning state.
  • ✅ Verified that all VM settings, disks, and networking remained intact after both recovery actions.
  • ✅ Demonstrated practical troubleshooting skills for restoring VM health in real-world scenarios.
  • ✅ Strengthened my confidence in maintaining uptime and reliability across Azure infrastructure.

This lab reinforced my ability to handle VM recovery operations with precision and clarity — a key skill for any cloud engineer working in production or sandbox environments.

📸 Screenshots

Step 1: Click search box

Selected the Azure portal search box to locate services, resources, or troubleshooting tools for managing virtual machines and infrastructure. This step kicks off your navigation flow — perfect for launching into redeploy, reapply, or tagging actions.

Click search box

Step 2: Type virtual machines and press Enter

Used the Azure portal search bar to find the target virtual machine, then navigated to its Redeploy + reapply blade to initiate host migration and provisioning recovery actions.

Type virtual machines and press Enter

Step 3: Click Virtual machines

Selected “Virtual machines” from the Azure portal search results to access the VM inventory and begin redeploy or reapply recovery actions. This step launches your troubleshooting workflow — ideal for restoring access.

Step 4: Click on Server01

Selected Server01 from the virtual machine inventory to open its overview page and access recovery actions like Redeploy and Reapply.This step initiates targeted troubleshooting — perfect for resolving RDP or provisioning issues.

lick on Server01

Step 5: Click Redeploy + reapply

Navigated to the “Redeploy + reapply” blade from the Server01 VM overview to initiate host migration or rerun provisioning for recovery and troubleshooting. This step is key for resolving RDP failures or failed provisioning states without altering your VM configuration.

Click Redeploy + reapply

Step 6: Click Redeploy

Selected the “Redeploy” button to migrate Server01 to a new Azure host, resolving potential connectivity or infrastructure issues while preserving all VM settings. This step is a powerful recovery action — ideal for restoring access without rebuilding.

Click Redeploy

Step 7: Click Overview

Returned to the “Overview” tab of Server01 to confirm the redeployment status and review updated VM health and connectivity details. This step wraps up the recovery flow — perfect for validating that your VM is back online and stable.

Click Overview

Step 8: Click the notification bell

in the top-right corner to view alerts or provisioning messages for this VM.

Click the notification bell

Step 9: Redeploying virtual machine

Confirmed that Server01 was successfully redeployed to a new Azure host. The operation resolved infrastructure-level issues while preserving all VM settings and resources.

Redeploying virtual machine

Step 10: Click Refresh

Manually refreshed the Server01 overview page to confirm successful redeployment and ensure the VM status reflects its latest operational state.

Click Refresh

✅ Step 11: Click Refresh again

Refreshed the Server01 overview page to verify that the VM restarted successfully and retained its “Running” status post-operation.

Click Refresh again

Step 12: Click Redeploy + reapply

Accessed the “Redeploy + reapply” blade from the Server01 overview to initiate host migration or reapply provisioning for troubleshooting VM connectivity or failed state.

Click Redeploy + reapply

Step 13: Click Reapply

Selected the “Reapply” button to rerun platform provisioning for Server01, resolving potential VM configuration or connectivity issues without changing infrastructure settings.

Click Reapply

Step 14: Click Notification bell

Opened the Azure portal notifications icon to track Replay or Replay+ progress and monitor VM telemetry attachment status.

Click Notification bell

Step 15: Click Reapplying virtual machine

Executed the “Reapply” operation for Server01 to rerun platform provisioning and restore VM health. Verified success via notification panel showing “Succeeded” status. This step confirms a clean recovery — ideal for resolving failed states without changing infrastructure.

Click Reapplying virtual machine

Step 16: Click Refresh

Selected the “Refresh” button on the Server01 overview page to update the VM status and confirm that recent operations completed successfully.

Click Refresh

Tip This step is my final checkpoint — ideal for validating redeploy or reapply actions.

About

Troubleshoot and restore Azure VM health by redeploying to a new host and reapplying its state—ensuring stability, connectivity, and seamless recovery

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors