Replicating Images Across Regions
Scenarios
An image is a regional resource. If you want to use a private image in another region, you can replicate it to the target region.
Video Tutorial
Background
| Scenario | Description | Procedure |
|---|---|---|
| Cross-region replication under the same account | After the replication is complete, a new image is generated in the target region. The new image has an ID that is different from the source image ID. | See this section. |
| Cross-region, cross-account replication | Replicate the image to the target region and share it with other accounts. | See this section and Sharing Specified Images. |
| Cross-account replication in the same region | After the replication is complete, the image is shared with the target tenant. The target tenant can use the image (with the same ID as the source image) but the image owner is still the tenant who shared it. | See Sharing Specified Images and Replicating a Shared Image. |
Constraints
| Item | Description |
|---|---|
| Image type |
|
| Image size | The size of each image to be replicated across regions cannot exceed 128 GB. |
| Concurrent replication | Each user can replicate a maximum of five images across regions at a time. |
| Function | You can select multiple images for cross-region replication at a time. However, you are not allowed to select an ISO image, encrypted image, frozen image, or the image that is being created. |
| Time | It takes a while to complete a cross-region replication task. The time required for replicating an image across regions depends on the network speed, image size, and number of concurrent tasks. |
| Permissions | An agency is required for cross-region image replication. This agency must have the permissions for cross-region image replication in the destination region. For example, if you want to replicate a system or data disk image from region A to region B, the agency must have the permissions of IMS CrossCopyAgencyPolicy in region B. For details about how to create an agency, see Create an Agency. |
| Billing | When a full-ECS image is replicated across regions, the associated CSBS or CBR backups will also be replicated. Therefore, you will be charged for these backups in the target region. |
- √ indicates replication is supported.
- × indicates replication is not supported. You can export the desired image and then import it to the target region.
- - indicates that the source and destination regions are the same.
- Region adjustment or function open-beta testing may affect cross-region image replication. Existing users are not affected. You can see on the console if cross-region can be performed for a given region.
- Regions not listed in the figure above do not support cross-region replication of system or data disk images.
Procedure
Cross-region image replication allows you to replicate a single image or multiple images across regions.
- Log in to the IMS console.
- Locate the row that contains the image to be replicated and choose More > Replicate in the Operation column.
- In the displayed Replicate Image dialog box, set the following parameters. Figure 3 Replicating an image across regions
Table 2 Parameters Parameter
Description
Example Value
Replication Mode
Images can be replicated within a region or across regions.
NOTE:This parameter is available only when the current region supports cross-region replication.
Across Regions
Name
Enter a name that is easy to identify. The default image name is in the following format: copy_<name-of-the-region-where-the-source-image-is-located>_<source-image-name>.
-
Destination Region
Select a region from the drop-down list. For details about the supported destination regions, see Figure 2.
-
Destination Project
Select a project from the drop-down list. After you select the destination region, the system automatically displays available projects.
-
Target Server Backup Vault
This parameter is available only for full-ECS images created using CBR. Select a vault for storing backups.
If no CBR backup vault is available in the destination region, click Create Server Backup Vault to create one. Ensure that you select Replication for Protection Type. For other parameters, see Purchasing a Server Backup Vault. After the vault is created, click
to refresh the page and select the vault from the drop-down list box.-
IAM Agency
Select a created IAM agency for cross-region image replication. The agency must be one created for IMS and granted the required permissions. For details about how to create an IAM agency, see Create an Agency.
-
Description
This parameter is optional. Enter a description for the image.
-
Disclaimer
Read the disclaimer and select I have read and agree to the disclaimer.
-
- Click OK.
Switch to the destination region. If the image status becomes Normal, the image replication is successful.
- Log in to the IMS console.
- In the private image list, select the images to be replicated and click Cross-region replication above the list.
If Cross-region replication is unavailable, the current region does not support cross-region image replication.
- In the displayed Replicate Image dialog box, confirm the selected image that can be replicated across regions and specify the required parameters. Figure 4 Replicating multiple images across regions
Table 3 Parameters Parameter
Description
Example Value
Destination Region
Select a region from the drop-down list. For details about the supported destination regions, see Figure 2.
-
Destination Project
Select a project from the drop-down list. After you select the destination region, the system automatically displays available projects.
-
Target Server Backup Vault
This parameter is available only for full-ECS images created using CBR. Select a vault for storing backups.
If no CBR backup vault is available in the destination region, click Create Server Backup Vault to create one. Ensure that you select Replication for Protection Type. For other parameters, see Purchasing a Server Backup Vault. After the vault is created, click
to refresh the page and select the vault from the drop-down list box.-
IAM Agency
Select a created IAM agency for cross-region image replication. The agency must be one created for IMS and granted the required permissions. For details about how to create an IAM agency, see Create an Agency.
-
Description
This parameter is optional. Enter a description for the image.
-
Disclaimer
Read the disclaimer and select I have read and agree to the disclaimer.
-
- Click OK.
Switch to the destination region. If the image status 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.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot




