Bucket Synchronization Policies: Difference between revisions

From OSNEXUS Online Documentation Site
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:admin_guide]]
[[index.php?title=Category:Admin guide]]
 
'''<big>Multi-Site Setup with and without bucket sync policies</big>'''


Multi-Site Setup with and without bucket sync policies




This document goes over the different use cases of bucket sync policies and zone level multi-site object setup.
This document goes over the different use cases of bucket sync policies and zone level multi-site object setup.


Zones: Three zones are depicted: us-east1 (Primary), us-west1 (Secondary), and us-west2 (Secondary).
'''Zones:''' Three zones are depicted: us-east1 (Primary), us-west1 (Secondary), and us-west2 (Secondary).


Primary to Secondary Replication:
'''Primary to Secondary Replication:'''


If "symmetrical replication" is chosen, default "enable" rules exist between the primary and each secondary zone.
If "symmetrical replication" is chosen, default "enable" rules exist between the primary and each secondary zone.
Line 14: Line 15:
If "bucket level replication" is chosen, default "deny" rules (default-deny-us-east1-us-west1, default-deny-us-east1-us-west2) are created in "allowed" state, meaning they prevent replication until specific bucket rules are added.
If "bucket level replication" is chosen, default "deny" rules (default-deny-us-east1-us-west1, default-deny-us-east1-us-west2) are created in "allowed" state, meaning they prevent replication until specific bucket rules are added.


Secondary to Secondary Replication:
'''Secondary to Secondary Replication:'''


No default deny rules are created between secondary zones (e.g., default-deny-us-west1-us-west2 is not automatically created).
No default deny rules are created between secondary zones (e.g., default-deny-us-west1-us-west2 is not automatically created).


To sync buckets between us-west1 and us-west2, a specific "enable" rule like enable-us-west1-us-west2 needs to be manually created. This rule is directional and only applies to specific buckets once bucket-specific rules are added.
To sync buckets between us-west1 and us-west2, a specific "enable" rule like enable-us-west1-us-west2 needs to be manually created. This rule is directional and only applies to specific buckets once bucket-specific rules are added.
''Note : While the AWS replication feature allows bucket replication within the same zone, RGW does not allow it at the moment.''
[[File:Bucket Sync Policy - Zone.png | 800px]]
[[File:Bucket Sync Policy - Zone.png | 800px]]
=== Multi-site is setup with full zone replication selected ===
[[File:Bucket Sync - Multi-Site Full Zone Replication.jpg|none|thumb|800x800px]]

Revision as of 04:58, 6 October 2025

index.php?title=Category:Admin guide

Multi-Site Setup with and without bucket sync policies


This document goes over the different use cases of bucket sync policies and zone level multi-site object setup.

Zones: Three zones are depicted: us-east1 (Primary), us-west1 (Secondary), and us-west2 (Secondary).

Primary to Secondary Replication:

If "symmetrical replication" is chosen, default "enable" rules exist between the primary and each secondary zone.

If "bucket level replication" is chosen, default "deny" rules (default-deny-us-east1-us-west1, default-deny-us-east1-us-west2) are created in "allowed" state, meaning they prevent replication until specific bucket rules are added.

Secondary to Secondary Replication:

No default deny rules are created between secondary zones (e.g., default-deny-us-west1-us-west2 is not automatically created).

To sync buckets between us-west1 and us-west2, a specific "enable" rule like enable-us-west1-us-west2 needs to be manually created. This rule is directional and only applies to specific buckets once bucket-specific rules are added.


Note : While the AWS replication feature allows bucket replication within the same zone, RGW does not allow it at the moment.

Multi-site is setup with full zone replication selected