You can use a custom image to create CVM instances of the same operating system, applications, and data to improve efficiency. This document guides you through how to create an instance using a custom image.
You must have a custom image under your account and in the region where you want to create an instance.
If there is no custom image, see the following solutions:
|Images on local computers or other platforms||Import the system disk image on local computers or other platforms to the custom image on CVM. For more information, see Overview.|
|There are template instances but no custom images||For more information, see Creating Custom Images.|
|Custom images in other regions||Copy the custom image to the target region where you want to create an instance. For more information, see Copying Images.|
|Custom images under another account||Share the custom image with the account under which you want to create an instance. For more information, see Sharing Custom Images.|
If you use a custom image that contains one or more data disk snapshots, the operating system will automatically create the same quantity of Cloud Block Storage (CBS) as snapshots and the same capacity as each snapshot. You can expand, but cannot reduce, the CBS capacity.
You can also create a custom image using the RunInstances API. For more information, see RunInstances