Cross-Region Replication
US3 provides a cross-region replication function, allowing you to bind storage spaces (Buckets) in two different regions for file synchronization.
Cross-region replication is the automatic, asynchronous replication of files across storage spaces in different US3 data centers (regions). It replicates operations such as creation, update, and deletion of files from the source storage space to the target storage space in a different region.
The cross-region replication function provides cross-regional disaster recovery capabilities for storage spaces while meeting your data replication needs. Files in the target storage space are complete copies of those in the source storage space, with the same file names and content.
Application Scenarios
-
Compliance requirements: Your data must, for compliance purposes, have a copy stored at a certain distance. The cross-region replication function enables data replication between geographically distant US3 data centers to meet these requirements.
-
Minimizing latency: If your business operates in two geographic locations, maintaining file copies in US3 data centers closer to users can reduce latency when accessing files.
-
Data backup and disaster recovery: If you have high requirements for data security and availability, cross-region replication ensures that backup data in another US3 data center can be activated in case of irreparable damage to a US3 data center due to force majeure such as earthquakes or tsunamis.
-
Data migration: For business reasons, you need to migrate data from one US3 data center to another.
-
Operational needs: If you have computing resources in two different data centers, cross-region replication allows you to maintain US3 files simultaneously across these regional data centers.
Precautions
-
For two storage spaces in sync, since you can operate both storage spaces simultaneously, the copied files may overwrite files with the same name in the target storage space. The file overwrite operation is irreversible. Please set the cross-region replication rules according to your needs to avoid loss of important data.
-
Since cross-region replication uses asynchronous replication, it may take some time for data to be duplicated to the target Bucket, typically ranging from a few minutes to a few hours, depending on the size of the data.
-
Image source retrieval and cross-region replication features cannot be enabled at the same time.
-
If a bucket is configured with a lifecycle policy, the lifecycle configuration will only apply to the current storage space. Files will not be deleted in sync between storage spaces that have cross-region replication enabled.
-
Expenses related to cross-region replication:
- Traffic fees: The cost of traffic on the source end generated when using the cross-region replication feature to sync the data from the source storage space to the target storage space. For traffic fees, please refer to product pricing.
- Request fees: US3 will calculate the number of requests and charge request fees, including the source’s list pull and download requests, and the target’s upload requests. For request fees, please refer to product pricing.
Setting Up Cross-Region Replication Rules
Select the corresponding bucket, enter the management page, and choose the cross-region replication feature.
Click on the New Rule button to open the Add Cross-Region Replication Rule page.
-
Target region: You can choose the region in which the replica target space is located. The two storage spaces for data synchronization must be in two different regions. Data synchronization cannot be performed between storage spaces in the same region.
-
Target storage space: Choose the target storage space to enable data synchronization. Neither of the two storage spaces for cross-region replication can simultaneously synchronize with any other storage space. For example, if storage space A is set to synchronize data to storage space B, neither A nor B can establish a data synchronization relationship with any other storage space.
After adding a cross-region replication rule, it will take effect by default. The status can be seen in the status bar. You can use other buttons under the operation bar for corresponding enable, disable, and delete operations.
Notes
- The cross-region replication feature supports real-time data synchronization. It can monitor and synchronize data additions, deletions, and modifications in real time to the storage space in the target region. For a 2MB file, it can achieve minute level information synchronization and ensure the eventual consistency of data on both sides, but not the consistency of intermediate state data.
2.Currently (Dubai Mumbai Sao Paulo Ho Chi Minh Lagos) does not support cross-domain replication. Please contact technical support if you require this.
- At present, only files uploaded through an external domain name can trigger the cross-region replication feature.