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

  1. Log in to the VMware Cloud Director tenant portal.
  2. From the More drop-down menu, select Object Storage.
  3. From the Buckets tab, click the bucket that you want to replicate.
  4. In the Bucket Replication tab, click Create a Replication Rule.
  5. Enter the necessary details, and click Create.

What to do next

To see the replicated files, navigate to the destination bucket, click Sync, then click Refresh.

Delete a Bucket Replication Rule

When you no longer want to replicate a bucket, you can delete the bucket replication rule.

Procedure

  1. Log in to the VMware Cloud Director tenant portal.
  2. From the More drop-down menu, select Object Storage.
  3. From the Buckets tab, click the source bucket, whose rule you want to delete.
  4. In the Bucket Replication tab, navigate to the rule that you want to delete, and click Remove.
    If you want to remove all rules, click Remove All.