Cross-region replication

Also known as: CRR

On this page 7

Cross-region replication (CRR) is a cloud storage feature that automatically and asynchronously copies objects from a source bucket in one geographic region to a destination bucket in a different region. It is used in cloud object storage to protect data against a regional outage, to satisfy rules that demand a geographically separate copy, and to place data closer to users or compute in another part of the world.

Unlike the redundancy that a provider builds into a single region, cross-region replication is a customer-configured policy: the account owner decides which objects are copied, where they go, which storage class they land in and who owns the replicas. That control brings both flexibility and responsibility, because replication rules, permissions and costs must be designed deliberately.

How cross-region replication copies objects

Cross-region replication works by attaching a replication rule to a source bucket, after which the storage service watches for new writes and copies each qualifying object to the destination. The copy is made by the provider in the background, so the application that wrote the object receives its success response before the replica exists.

Most implementations share the same building blocks. Object versioning must usually be enabled on both buckets, because the service tracks individual versions and must not overwrite a newer write with an older one. A service role or managed identity grants the replication process permission to read from the source and write to the destination, and the rule defines a filter by prefix or tag that selects which objects qualify.

The following table summarizes the components that a typical replication configuration contains and what each controls.

ComponentPurposeTypical setting
Source bucketHolds the original writesVersioning enabled
Destination bucketReceives the replicasDifferent region, versioning enabled
Replication ruleSelects objects and targetPrefix, tag or whole bucket
IAM role or identityAuthorizes the copy processRead source, write destination
Storage class overrideSets the class of the replicaOften a colder, cheaper class
Ownership overrideAssigns replica ownershipDestination account owns copies
Encryption settingHandles keys for encrypted objectsKey in the destination region
Components of a replication configuration

Replication is asynchronous by design. Most objects arrive within seconds to minutes, but large objects, bursts of writes and multipart uploads can extend the delay. Some providers offer a time-bound option, such as S3 Replication Time Control, which targets replication of most objects within 15 minutes and exposes metrics for lagging objects.

What gets replicated and what does not

Cross-region replication copies only what the rule and the service semantics allow, and the exceptions are where most surprises occur. By default, rules usually apply only to objects written after the rule is created; existing objects require a separate batch operation or a one-time copy job.

Deletes are treated with particular care. A delete marker may or may not be replicated depending on configuration, while the permanent deletion of a specific version is normally not replicated, which protects the replica from malicious or accidental removal in the source.

Event in sourceReplicated by defaultNotes
New object uploadYesMain purpose of the rule
Objects existing before the ruleNoNeeds batch replication
Metadata and tag changesUsually yesDepends on provider and rule
Delete markerConfigurableOften disabled for protection
Version-specific deletionNoPrevents malicious propagation
Replicas from another ruleNoChained replication needs explicit setup
Lifecycle transitionsNoEach bucket runs its own lifecycle policy
Typical replication behavior by object event

Because lifecycle rules are evaluated per bucket, a source bucket can move objects to cold storage after 30 days while the destination keeps them in hot storage, or the reverse. Designing both lifecycle policies together prevents both unexpected costs and unexpected data loss.

Cross-region replication is one layer in a data protection strategy, not a complete backup solution on its own. It is often confused with built-in multi-zone durability and with backups, but each protects against a different failure.

ApproachProtects againstDoes not protect against
Cross-region replicationLoss of a whole regionCorrupt writes, which are copied too
Same-region replicationAccount or bucket mistakesRegional outage
Multi-zone redundancyData center or zone failureRegional outage, deletions
Dual-region or geo-redundant classRegional outage, managed by providerLogical errors, ransomware
Object versioningOverwrites and deletionsRegional outage
Immutable backup or object lockRansomware and tamperingFast regional failover
Cross-region replication and neighboring approaches

Providers name similar features differently. Amazon S3 offers Cross-Region Replication as a rule-based feature, Azure Blob Storage offers object replication alongside geo-redundant storage options, and Google Cloud Storage provides dual-region and multi-region buckets plus configurable replication. The key distinction is between provider-managed geo-redundancy, where the customer cannot choose replica details, and customer-managed replication, which allows separate accounts, keys and storage classes.

Designing a replication strategy

A sound design starts from the recovery point objective (RPO) and the recovery time objective (RTO) that the business needs. Asynchronous replication means the replica always lags the source, so the RPO is never zero; for most workloads it is measured in seconds to minutes.

The decision table below maps common requirements to a practical configuration.

RequirementRecommended setupReason
Regional disaster recoveryCRR to a distant regionSurvives loss of the primary region
Ransomware resilienceCRR to a separate account with object lockCompromised credentials cannot alter replicas
Data residency rulesDestination within the same jurisdictionKeeps copies legally compliant
Low-latency global readsReplicas near user regionsReduces read latency and egress
Cost-sensitive archive copyReplica in an archive storage classLowers storage cost per gigabyte
Strict replication deadlineTime-bound replication with alertsMeasurable lag and alarms
Choosing a replication configuration

Cost deserves explicit modeling. Every replicated byte incurs inter-region data transfer charges, the destination incurs its own storage charges, and replication requests are billed as write operations. For buckets with many small objects, request charges can exceed transfer charges, so filters that exclude temporary or derived data often pay for themselves.

Limitations and common mistakes

The most frequent failure is assuming replication equals backup. Because CRR copies every valid write, a bug that overwrites thousands of objects or a ransomware process that encrypts them produces faithfully replicated damage; only versioning, object lock or an independent backup allow recovery.

  • Missing permissions on the replication role or on encryption keys silently leave objects in a failed or pending status.
  • Forgetting existing objects leaves the replica incomplete until a batch job copies the historical data.
  • Replicating to a region in the same blast radius, such as a nearby region with shared dependencies, weakens disaster recovery.
  • Ignoring replication metrics means a growing backlog is discovered only during an actual failover.
  • Never testing failover leaves applications unable to read from the replica because of hard-coded endpoints or missing permissions.

Monitoring should track replication status per object, bytes pending and operations failed. A periodic failover drill, in which a test application reads exclusively from the destination region, confirms that the replica is usable and not merely present.

The short version

Cross-region replication means the cloud keeps a second copy of your files in another part of the world. Every time something new is saved, the system quietly sends a copy to a distant data center a few seconds or minutes later.

Think of it as keeping a spare set of house keys with a friend in another city. If something happens to your home city, the spare set is still safe. The catch is that it is a copy, not a time machine: if you damage a file, the damaged version is copied too, so it works best together with versioning and backups.

Where it makes a difference

A mid-sized online retailer stores product images, invoices and order exports in an object storage bucket in a European region. Its continuity plan requires that the company can resume operations within four hours if the primary region becomes unavailable, while invoices must stay inside the European Union.

The engineering team enables versioning and creates a cross-region replication rule to a second EU region, sending invoices to a separate backup account protected by object lock and sending product images to a replica bucket in a cheaper infrequent-access class. A batch job copies the 2.3 million existing objects, and replication metrics alert the on-call engineer if more than 1,000 objects are pending for over 15 minutes.

Months later, a regional service disruption makes the primary bucket unreadable for several hours. The storefront switches to the replica endpoint through a configuration flag, and customers continue browsing and ordering with minimal disruption, while the auditors later confirm that every invoice copy remained within the required jurisdiction.