How to Quickly Clone a VM in Azure !

Abhimanyu Garg
TechManyu
Published in
4 min readMar 14, 2018

--

Creating a clone/copy of an existing VM should ideally be done by creating an Image out of the VM and then using it to create a new VM. This is currently not the way we can do it in Azure because once you generalize the existing VM for capturing Image, the VM gets deallocated and you cannot login to it again. If you don’t generalize it and still go ahead with capturing the Image, still it will mark the VM as generalized (it basically assumes the administrator has run the steps at the OS level) and deallocates it.

--

--

DevOps Professional with keen interest in System Design & Automation. SRE | MultiCloud | CKA | Terraform Certified | https://www.linkedin.com/in/techmanyu