How Can I Optimize an Image?
Scenarios
The general-purpose second-generation ECS uses KVM. To create this type of ECS from an image, you must ensure that the image has the KVM driver installed. Otherwise, you may fail to start or log in to the ECSs created from the image.
To help you better use general-purpose second-generation ECSs, IMS provides the automatic image optimization function.
- This feature is available only in the CN-North region.
- Only some images can be optimized. You can check whether an image can be optimized on the console.
Constraints
- After an image is automatically optimized, a new private image will be generated.
- Only Linux images can be optimized automatically.
For details about how to manually optimize a Windows private image, see Optimizing a Windows Private Image. For details about how to manually optimize a Linux private image, see Optimizing a Linux Private Image.
- After an image is optimized, a new image will be generated and it can be used to create general-purpose second-generation ECSs. After the optimization is complete, you can delete the original image.
Procedure
- Log in to the management console.
- Under Computing, click Image Management Service.
- Click the Private Images tab to display the image list.
- Locate the image to be optimized, click More in the Operation column, and select Optimize from the drop-down list.
In the Operation column of the target image, if you cannot find Optimize from More, optimization is not supported for this image.
You can also click the image name and then click Optimize on the image details page.
- In the displayed dialog box, select Yes. I have optimized the image. if you have optimized the image. Otherwise, select No. Help me optimize the image.
Figure 1 Optimize Image
- Click OK.
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.