Create a Custom Image

<p>This article describes how to create a private custom image based on an existing ECS instance.</p> <p><strong>Prerequisites</strong></p> <p>1.The ECS instance must be shut down.</p> <p>2.Release the EIP of the ECS instance before creating an image.</p> <p>3.The instance has 2 NICs. Delete NIC 1 before creating an image.</p> <p>4.For Linux system, you need to execute the cleanup command: rm -f /etc/udev/rules.d/70-persistent-*</p> <p><strong>Usage Guidelines</strong></p> <p>1.Before creating a custom image on a Linux system, you are suggested to unmount all file systems and data disks and shut down the instance. Otherwise, ECS instances created with that custom image may not be able to start.</p> <p>2.When creating a custom image for a Linux instance, you cannot include the data disk information in /etc/fstab files. Otherwise, ECS instances created with that custom image may not be able to start.</p> <p>3.Do not upgrade the kernel and Operating System version at will.</p> <p>4.Do not adjust the instance system disk partition.</p> <p>5.Make sure the system disk has enough free space.</p> <p>6.Do not modify key system files, such as /etc/, /boot, /usr, /bin, /lib and sbin, etc.</p> <p>7.The default login username is root. Do not modify it.</p> <p><strong>Limitations</strong></p> <p>1.A user can create a maximum of five custom images.</p> <p>2.A snapshot will be automatically created when you create an image.</p> <p><strong>Procedures</strong></p> <p>1.Log in to the <a href="#https://yun.pingan.com/console/ecs/overview" target="_blank">ECS Console</a>.</p> <p>2.In the left navigation pane, click <strong>Instance</strong> to enter the <strong>Instance Management</strong> page.</p> <p>3.Select the target region, and in the operations column of the target instance click <strong>More</strong> &gt; <strong>Operations Management</strong> &gt; <strong>Create Image</strong>.</p> <p>4.On the <strong>Create Image</strong> that opens, enter the image name and description.</p> <p><strong>Note</strong>: The image name can be Chinese characters, English letters, digits, at signs (@), underlines (_), dashes (-) with up to 45 characters.</p> <p><strong>5.</strong>Click <strong>Confirm.</strong></p> <p><strong>Result</strong></p> <p>You will see an <strong>Operation Succeeded</strong> message at the bottom of the page upon completion. In the left navigation pane, click <strong>Images and Snapshots</strong> &gt; <strong>Image</strong>, and you can view the newly created custom image. When the status changes from <strong>Creating</strong> to <strong>Available</strong>, the creation of a custom image is completed.</p>
Did the above content solve your problem? Yes No
Please complete information!

Call us

400-151-8800

Email us

cloud@pingan.com

Online customer service

Instant reply

Technical Support

cloud products