Replication Policy Management
You can perform replication to a bucket in a different location or the same location.
You can configure multiple replication policies. If the source bucket becomes unavailable due to a failure or disaster, you can continue to provide services through the replicated bucket.
- The replication feature supports a 1:N structure, enabling replication within a region or across regions. * Data transfer fees apply when performing cross-region replication.
- The replication feature applies to files uploaded after the replication policy is configured.
- Deleting the version file from the source does not delete the file in the replicated bucket.
- Example: If you configure the replication from Bucket A to Bucket B, the versioned files in Bucket B are retained even if the versioned files in Bucket A are deleted.
- You can configure bidirectional replication.
- Example: If configured as Bucket A ↔ Bucket B, files uploaded to Bucket A are replicated to Bucket B, and files uploaded to Bucket B are replicated to Bucket A.
- Copied files are not copied.
- Example: If you configure the replication path as Bucket A → Bucket B → Bucket C, files replicated from Bucket A to Bucket B are not replicated from Bucket B to Bucket C.
- If a folder in the source contains no files, that folder is not copied to the destination.
Add a replication policy
You can create and add a new replication policy.
- You can configure replication for the created bucket.
- To add a replication policy, you must set the versioning feature to Enabled.
- To configure the versioning feature, see Configure versioning.
To add a replication policy, follow these steps.
Click the All Services > Storage > Object Storage menu. 1. Go to the Service Home page of Object Storage.
On the Service Home page, click the Object Storage menu. 2. Navigate to the Object Storage List page.
On the Object Storage List page, click the resource to which you want to add a replication policy. 3. Go to the Object Storage Details page.
Click the Replication tab.
Click the Add button. 5. The Add Replication Policy popup window opens.
Enter the policy information, and then click the Confirm button. 6. A popup window opens to notify you that a replication policy has been created.
Category Required Detailed Description Policy Name Required Enter the name of the replication policy - Enter up to 255 characters, including letters, numbers, and special characters (
-._)
Replication Location Required Select a replication location (region) - Other locations available
Replica bucket name Required Select the name of the replication bucket - Cannot add a replication policy between the same bucket
Target file Required Select the file to replicate - All: Replicate all files
- Prefix: Replicate files that start with the specified prefix value
- Enter up to 1,024 bytes based on UTF-8 encoding (same as the file length constraint)
- Special characters (
%<>#\`^\
Priority Required Specify the priority when multiple replication policies are configured
Priority can be set from 1 to 100, with higher numbers indicating higher priority
You cannot configure a policy that overlaps with other replication policies using the same replication bucketReplicate Delete Marker Select Whether to use deletion marker replication Table. Items in the Add Replication Policy dialog box- Enter up to 255 characters, including letters, numbers, and special characters (
Click the Confirm button. 7. A replication policy is added.
- You cannot add a replication policy between the same bucket.
- If an invalid policy exists, you cannot add a replication policy.
- Example: A policy remains after the replication bucket is deleted
- If the replication location is in a different region, an additional inter-region data transfer fee applies.
Modifying a Replication Policy
You can modify the replication location, replication bucket name, and target files of the replication policy.
- To modify a replication policy, you must set the versioning feature to Enabled.
- To configure the versioning feature, see Configure versioning.
To modify a replication policy, follow these steps.
Click the All Services > Storage > Object Storage menu. 1. Go to the Service Home page of Object Storage.
On the Service Home page, click the Object Storage menu. 2. Navigate to the Object Storage List page.
On the Object Storage List page, click the resource for which you want to modify the replication policy. 3. Go to the Object Storage Details page.
Click the Replication tab.
In the replication policy list, click the More > Edit button for the policy you want to modify. 5. The Edit Replication Policy popup window opens.
After modifying the replication policy information, click the Confirm button. 6. A popup window opens to notify you of the replication policy modification.
Category Required Detailed Description Replication Location Required Select a replication location (region) - Other locations are available
Replica bucket name Required Select the name of the replicated bucket - You cannot add a replication policy between the same bucket
Target file Required Select the file to replicate - All: Replicate all files
- Prefix: Replicate files that start with the value entered as the prefix
- Enter up to 1,024 bytes based on UTF-8 encoding (same as the file length constraint)
- Special characters (
%<>#\`^\
Priority Required Specify the priority when multiple replication policies are configured
Priority can be set from 1 to 100, with higher numbers indicating higher priority
You cannot configure a policy that overlaps with other replication policies using the same replication bucketReplicate Delete Marker Select Whether to use deletion marker replication Table. Items in the Edit Replication Policy dialog boxClick the Confirm button. 7. The replication policy modification is complete.
- You cannot create a replication policy between the same bucket.
- You cannot add a replication policy if an invalid policy exists.
- Example: A policy remains after the replication bucket is deleted
- If the replication location is in a different region, an additional inter-region data transfer fee applies.
Change the replication policy status
You can enable or disable a replication policy to change whether it is executed.
To change the replication policy status, follow these steps.
- Click the All Services > Storage > Object Storage menu. 1. Go to the Service Home page of Object Storage.
- On the Service Home page, click the Object Storage menu. 2. Navigate to the Object Storage List page.
- On the Object Storage List page, click the resource for which you want to change the replication policy status. 3. Go to the Object Storage Details page.
- Click the Replication tab.
- In the replication policy list, click the More > Enable or More > Disable button for the policy whose status you want to change. 5. A popup window opens to notify you of the replication policy status change.
- Activation: Performs replication according to the replication policy.
- Deactivate: Stops replication.
- Click the Confirm button. 6. The status of the replication policy changes.
Delete a replication policy
You can delete unused replication policies.
To modify a replication policy, follow these steps.
- Click the All Services > Storage > Object Storage menu. 1. Go to the Service Home page of Object Storage.
- On the Service Home page, click the Object Storage menu. 2. Navigate to the Object Storage List page.
- On the Object Storage List page, click the resource for which you want to delete the replication policy. 3. Go to the Object Storage Details page.
- Click the Replication tab.
- In the replication policy list, click the More > Delete button for the policy you want to modify. 5. A popup window opens to notify you that the replication policy has been deleted.
- Click the Confirm button. 6. The replication policy is deleted.
- Changing the versioning status of the source and destination buckets prevents replication from running properly.
- If versioning is set to disabled on the source bucket, replication is not performed. * If you set it back to Use, file replication is performed for files uploaded after the change.
- If you set versioning to disabled for a replication bucket, replication is performed, but versioning is not available. * If you set it back to Use, version control is applied from that point forward.
- Deleting the source bucket also deletes the configured replication policy.
- Deleting a replication bucket does not affect the replication policy configured on the source bucket.
- If you recreate a replication bucket with the same bucket name as a deleted replication bucket, replication is performed to that bucket.
Enable ServiceWatch replication metrics
By default, Object Storage is integrated with ServiceWatch and basic monitoring. To integrate Object Storage replication metrics with ServiceWatch, you must enable ServiceWatch replication metrics. For more information about ServiceWatch, see ServiceWatch Overview.
- Basic monitoring is provided for free, but replication metrics incur additional charges when enabled as detailed monitoring items.
- ServiceWatch replication metrics are applied to all replication policies in a bucket once configured per bucket.
To enable ServiceWatch replication metrics for Object Storage, follow these steps.
- Click the All Services > Storage > Object Storage menu. 1. Go to the Service Home page of Object Storage.
- On the Service Home page, click the Object Storage menu. 2. Go to the Object Storage List page.
- On the Object Storage List page, click the resource for which you want to enable ServiceWatch replication metrics. 3. Go to the Object Storage Details page.
- On the Object Storage Details page, click the Replication tab. 4. Go to the Replication tab.
- Click the Edit button for the ServiceWatch replication metrics. 5. ServiceWatch Replication Metrics Edit
- In the ServiceWatch Replication Metrics Edit dialog box, select Enable, review the guidance, and click OK.
- Check the ServiceWatch replication metrics on the Replication tab.
Disable ServiceWatch replication metrics
To disable the ServiceWatch replication metrics for Object Storage, follow these steps.
- Click the All Services > Storage > Object Storage menu. 1. Go to the Service Home page of Object Storage.
- On the Service Home page, click the Object Storage menu. 2. Go to the Object Storage List page.
- On the Object Storage List page, click the resource for which you want to disable ServiceWatch detailed monitoring. 3. Go to the Object Storage Details page.
- On the Object Storage Details page, click the Replication tab. 4. Go to the Replication tab.
- Click the Edit button for the ServiceWatch replication metrics. 5. ServiceWatch Replication Metrics Edit
- In the ServiceWatch Replication Metrics Edit dialog box, deselect Enable, review the guidance, and click OK.
- Check the ServiceWatch replication metrics on the Replication tab.