Docs

Geo-redundancy

With geo-redundancy, chili keeps your data at two sites: in Zurich (CH-EAST) and additionally in Geneva (CH-WEST). chili replicates the data from Zurich to Geneva, more than 200 km away. If an entire data centre is lost, a copy of your data exists at the other site.

Geo-redundancy is a per-bucket add-on. See pricing for terms.

When geo-redundancy pays off

  • Requirements for separate sites: your policies, your auditor or a regulator require data at two geographically separate sites.
  • Long-term archives: data whose loss could not be made good, such as patient data or business records with a retention obligation.
  • Last backup copy: if your only off-site copy is on chili, geo-redundancy also protects it against the loss of a site.

Even without geo-redundancy, chili protects every bucket with erasure coding against data loss from hardware failures. Geo-redundancy adds protection against the loss of an entire site.

What geo-redundancy is not

Geo-redundancy is not a backup against deletion. Whatever you delete or overwrite in Zurich is also deleted or overwritten in Geneva. The same applies to deletion by an attacker holding valid access keys.

To protect against accidental deletion and ransomware, combine geo-redundancy with:

  • Versioning: earlier versions are kept
  • Object Lock: locked versions cannot be deleted before their period ends

Data location

Both sites are in Switzerland. Your data is neither stored outside Switzerland nor replicated there. See Security and data location and the Trust Center for details.

Site

Role

Zurich (CH-EAST)

site of every bucket

Geneva (CH-WEST)

additional copy for buckets with geo-redundancy

Setup

You choose geo-redundancy only when you create a bucket in the chili Console, in the Bucket step of the wizard. It cannot be turned on or off afterwards.

To make an existing bucket geo-redundant, create a new bucket with geo-redundancy in the Console and copy the data over, for example with rclone. The migration cookbook shows how. The move incurs no egress fees.

Endpoint and region

Buckets with geo-redundancy are reached through their own endpoint:

Setting

Value

Endpoint

https://s3-ch.chilistorage.com

Region

ch-east

Port

443, HTTPS only

Addressing

path style

The region stays ch-east, even though the data is also stored in Geneva. The Console shows the right endpoint for each bucket. More under Endpoints and regions.

Apart from the endpoint, nothing changes for your application. A connection test with the AWS CLI:

aws s3 ls s3://my-geo-bucket \
  --region ch-east \
  --endpoint-url https://s3-ch.chilistorage.com

All other examples in this documentation use the default endpoint s3-ch-east.chilistorage.com. For buckets with geo-redundancy, replace it with s3-ch.chilistorage.com.

Common pitfalls

  • Wrong endpoint: a bucket with geo-redundancy belongs to the endpoint s3-ch.chilistorage.com. Take the endpoint from the Console.
  • Geo-redundancy wanted afterwards: this only works with a new bucket and copying the data over.
  • Geo-redundancy treated as a backup: deletions are replicated too. Turn on versioning or Object Lock for data that needs protection.
  • Costs underestimated: geo-redundancy is billed as an add-on on top of storage. Check the pricing.

Next