You can protect your data by automatically replicating S3 objects from one bucket to another within the same region, or across different regions.
Bucket replication copies newly created or updated objects from a source S3 bucket to a destination S3 bucket. The copied objects have the same key names and metadata (creation time, owner, or user-defined metadata).
The objects, which already exist in the bucket are not copied after you set up bucket replication.
Create a Bucket Replication Rule
You can create multiple replication rules for the source bucket. Each rule indicates an individual replication regulation.
You cannot set a bucket replication rule if the object lock feature is enabled.
If you are using Cloudian HyperStore, all the replication rules of one source bucket must use the same destination bucket.
If you are using AWS S3, you can replicate one source bucket to different destination buckets.
Prerequisites
- Verify that you have enabled versioning both for the source and the destination buckets.
- If you are using AWS S3, verify that you are assigned with an IAM role.
Procedure
- Log in to the VMware Cloud Director tenant portal.
- In the primary left navigation panel, under More, select Object Storage.
- From the Buckets tab, click the bucket that you want to replicate.
- In the Bucket Replication tab, click Create a Replication Rule.
- Enter the necessary details, and click Create.
What to do next
Delete a Bucket Replication Rule
When you no longer want to replicate a bucket, you can delete the bucket replication rule.