Trial Azure: Making a virtual machine custom mirror

Source: Internet
Author: User

Virtual machine custom Mirroring (image) is a useful feature that allows you to configure the basic system environment on a single virtual machine and then mirror it, creating a virtual machine directly from this image, which saves a lot of repetitive configuration work.

Aliyun and Ucloud all have this function, azure of course, this is also the cloud service trademark with free service.

Let's share our experience with the "Make Virtual machine Custom Mirroring" feature in Azure.

(i) Preparatory work

Create an original virtual machine, assuming the name Blogserver1. Once created, log in to the configuration of the basic deployment environment, such as installing IIS and making related configuration (support for high concurrent IIS Web server common settings).

(b) operate with intuition without looking at any help documents

1, enter virtual machines-> IMAGES, click Create; Enter image NAME to select the VHD URL for the blogserver1 virtual machine that you created previously, and select "I have run Sysprep on" Virtua L machine associated with the This VHD. " (see chart below)

2. Click OK button ... The creation failed with the following error message:

The VHD Http://..../vhds/blogserver-blogserver1-2013-09-11.vhd has been blogserver1-blogserver1-0-201309110319510234 as an ID Resources to the image repository.

Error messages are confusing.

It is also the same error to turn off the blogserver1 virtual machine for operation.

After some tossing and dropping, give up.

(iii) operation under the Help document

The help document is from the How-Capture an Image of a Virtual Machine Running Windows Server.

1, Remote Desktop login to the virtual machine, into the C:\Windows\System32\Sysprep\ directory, run Sysprep.exe, select generalize, select Shutdown (see figure below).

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.