Steps to attach unmanaged OS Disk to a Windows Azure VM

Steps to attach unmanaged OS Disk to a Windows Azure VM

Steps to attach unmanaged OS Disk to a Windows Azure VM

In this blog, we will show you the steps to attach unmanaged OS Disk to a Windows Azure VM through the portal.

 

REQUIREMENTS

  • Microsoft Azure Subscription
  • Azure Storage Explorer
  • OS VHD Disk

 

OVERVIEW

  • We have already created a Windows 2016 VM named az-unman-vm-01 using traditional (Blob) storage.

Steps to attach unmanaged OS Disk to a Windows Azure VM

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • For demo purpose, we are deleting the above VM and reattach the OS disk using the Azure storage explorer.

 

INSTALLING STORAGE EXPLORER

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • Follow the on-screen instructions and install the tool on your PC. Open the Azure Storage Explorer.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

Note: We are using windows 2016 VM for this demo

 

CONFIGURING STORAGE EXPLORER

  • First, add our existing Azure account to access the storage blobs.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • After successful authentication, our storage blob will be displayed in the explorer.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • We are using the webtierstorage01 storage account to store the az-unman-vm-01 az-unman-vm-01 VM VHD.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

VM CONFIGURATION

  • Login to our demo VM az-unman-vm-01 through RDP.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • We have created few files and folder for demo purpose on the desktop. Need to verify that we are using the existing VHD for newly creating VM.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

DELETING THE VM

  • Go-to azure portal and click on virtual machines link from services list.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • First, stop the VM and delete it.

Steps to attach unmanaged OS Disk to a Windows Azure VM

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • Open the storage explorer and make sure that VHD is available in the blob storage.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

DELETING EXISTING VM CONFIGURATION

  • Delete the existing associated IP for az-unman-vm-01 VM from virtual networks before creating the new VM.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

CREATING NEW VM

  • Create a new VM using virtual machines link from the Azure service list.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

Note: Make sure that you are selecting exactly the same configuration of your deleted VM.

 

  • We are using windows 2016 image to create a new VM for this demo.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • During VM provisioning, Azure will create a new IP and VHD file under the blob storage.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • Cancel the VM provisioning now.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • It will take few minutes to complete the operation.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

RE-CONFIGURING THE VM

  • Open the storage explorer and right click on the new created VHD and click Break Lease.

Steps to attach unmanaged OS Disk to a Windows Azure VM

  • It prompts for confirmation, click Yes to continue.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • Make a note of the new VHD name and delete it.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • Rename the existing VHD file with new name as az-unman-vm-0120171128011004.vhd using the rename option.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • Provide the new name and click on Rename button.

Steps to attach unmanaged OS Disk to a Windows Azure VM

  • The VHD has been renamed successfully.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

VERIFICATION

  • Open the Azure portal and select the VM and start it. For this demo, it’s az-unman-vm-01.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • It will take few minutes to complete the operation.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • Log in to the VM using RDP.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

  • You can see our old files & folders available on the desktop.

Steps to attach unmanaged OS Disk to a Windows Azure VM

 

VIDEO

Thanks for reading this blog. We hope it was useful for you to learn about attaching the existing unmanaged VHD to a new VM.

Share on facebook
Facebook
Share on twitter
Twitter
Share on pinterest
Pinterest
Share on linkedin
LinkedIn
More Interested Related Posts
zfs pool usage

ZFS Pool and Dataset Usage

ZFS Pool and Dataset Usage   I am back with another blog to provide the useful script to the Freebsd users to determine the zpool

Assistanz Networks

Installing Zabbix Agent in FreeBSD 12.0

Zabbix Agent Installation and Configuration Guide on FreeBSD 12.0   Zabbix is an open-source monitoring software tool for diverse IT components, including networks, servers, virtual

DirectAdmin Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk
$ 99 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • NDA & SLA
  • SLA Review Meetings
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation
  •  

Platinum Support

24/7 Proactive Support
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Support

$ 30 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response Time
  • 4 Hours Resolution time for the Possible Issues
  • Security and Performance Optimization
  • React to Customers queries
  • Simple SignUp Process
  • Instant Account Activation
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support

Cpanel Server Management Plans

Premium Support

24/7 End User Support from your Helpdesk

$ 99 Monthly / Server
  • 24/7 End User White Label Support
  • Unlimited Number of Tickets
  • Chat Support for Admin
  • Separate Account Manager
  • Guaranteed SLA
  • Weekly Status Reports
  • FREE Consultancy Services
  • Simple SignUp Process
  • Instant Account Activation

Platinum Support

24/7 Proactive Server Management
$ 49 Monthly / Server
  • Unlimited Support Plan
  • 24/7 Emergency Phone
  • Chat Support for Admin
  • Separate Account Manager
  • Advance Proactive Monitoring
  • Guaranteed SLA
  • SLA Review Meetings
  • 3rd Party Application Support
  • FREE Consultancy Services
  • Server Migration Support
  • Weekly Status Report
  • No End User Support
Popular

Unlimited Support

24/7 Server Management

$ 29 Monthly / Server
  • Unlimited Admin Tasks
  • 24/7 Support
  • Basic Monitoring
  • 30 Minutes Response time
  • 4 hours Response time for possible issues
  • Security and Performance Optimization
  • React to Customers queries
  • No Third party application support
  • No Migration and End User Support