Replicating Images Within a Region
Scenarios
You can convert encrypted and unencrypted images into each other or enable some advanced features (such as fast ECS creation from an image) using in-region image replication. You may need to replicate an image to:
- Replicate an encrypted image to an unencrypted one.
Encrypted images cannot be shared with other tenants. If you want to share an encrypted image, you can replicate it to an unencrypted one.
- Replicate an encrypted image to an encrypted one.
Keys for encrypting the images cannot be changed. If you want to change the key of an encrypted image, you can replicate this image to a new one and encrypt the new image using an encryption key.
- Replicate an unencrypted image to an encrypted one.
If you want to store an unencrypted image in an encrypted way, you can replicate this image as a new one and encrypt the new image using a key.
- Optimize a system disk image so that it can be used to quickly create ECSs.
Fast Create greatly reduces the time required for creating ECSs from a system disk image. Currently, this feature is supported by all newly created system disk images by default. Existing system disk images may not support this function. You can optimize the images through in-region image replication. For example, if image A does not support fast ECS creation, you can replicate it to generate image copy_A that supports fast ECS creation.
Constraints
- Full-ECS images cannot be replicated within the same region.
- Private images created using ISO files do not support in-region replication.
Prerequisites
The images to be replicated are in the Normal state.
Procedure
- Access the IMS console.
- Log in to the management console.
- Under Compute, click Image Management Service.
The IMS console is displayed.
- Locate the row that contains the image to be replicated, click More in the Operation column, and select Replicate.
- In the displayed Replicate Image dialog box, set the following parameters:
- Name: Enter a name that is easy to identify.
- Enterprise Project: Select an enterprise project from the drop-down list. This parameter is available only if you have enabled enterprise projects or your account is an enterprise account. To enable this function, contact your customer manager.
- Description: This parameter is optional. Enter description of the replication.
- Encryption: If you want to encrypt the image or change a key, select KMS encryption and select the key you want to use from the drop-down list.
- Click OK.
On the Private Images page, view the replication progress. If the status of the new image becomes Normal, the image replication is successful.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.