Replication
By default, nothing is replicated. Your data stays in the region where you created the bucket. Data stays in your chosen region unless you turn on replication.
Turn replication on when you need a second copy in another location, for example to survive the loss of a whole site or to keep a copy with another provider. There are two options:
| Cross-region replication (CRR) | Geo-replication | |
|---|---|---|
| Who sets it up | You, with the S3 API | Bamboozle, on request |
| Destination | Another Bamboozle region, or any other S3-compatible storage | Other Bamboozle regions |
| What is copied | Objects written after you turn it on | The bucket with its objects, access keys, policies and settings |
| Granularity | Whole bucket or a prefix | Whole bucket |
| Access keys and policies at destination | Set up separately | Copied automatically |
The two can't be used on the same bucket. Replication is asynchronous, so the copy can lag behind by a short time.
Cross-region replication
Use CRR when you want to control replication yourself, replicate only part of a bucket, or keep a copy with another provider.
What you need:
- Versioning turned on for the source and the destination bucket.
- A destination bucket, and credentials that can write to it.
- The replication rules, applied to the source bucket with the S3 API (
PutBucketReplication).
Things to know:
- Only objects written after you turn on CRR are copied. Copy existing data once yourself, for example with
rclone copy. - Access keys, bucket policies and other bucket settings aren't copied. Set them up on the destination.
- Rules can include a prefix, so you can replicate just one folder.
- Whether delete markers are replicated is part of the rule (
DeleteMarkerReplication).
Contact support if you'd like help setting up CRR.
Geo-replication
Use geo-replication when you want a full, managed copy of a bucket in another Bamboozle region, including its keys and policies, so you can switch to the other region and carry on with the same credentials.
To turn it on, contact support with the bucket name and the destination region.
Replication and data location
Replicated data is stored in the destination region and is subject to the law of that country. Check your data residency requirements before replicating between the UAE and Austria, or to a third-party provider. See Security and data location.