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 the in-region image replication function. You may need to replicate an image in the following scenarios:
- Replicate an encrypted image to an unencrypted one.
Encrypted images cannot be shared with other tenants or published as Marketplace images. If you want to publish or 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.
If a system disk image supports fast ECS creation, the time required for creating ECSs from it can be greatly reduced. Existing system disk images may not support this function. You can optimize the images using the in-region image replication function. If image A cannot be used to quickly create ECSs, you can replicate it to generate image copy_A, which can be used to quickly create ECSs.
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
- Log in to the management console.
- Under Computing, 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:
- Replication Mode: Select Within Region.
- 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 when you have enabled the enterprise project function, 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.
Last Article: Creating Encrypted Images
Next Article: Replicating Images Across Regions
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.