Bucket Synchronization Policies: Difference between revisions

From OSNEXUS Online Documentation Site
Jump to navigation Jump to search
No 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>'''
'''<big>Multi-Site Setup with and without bucket sync policies</big>'''
Line 7: Line 7:
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 "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 "symmetrical replication" is chosen, default "enable" rules exist between the primary and each secondary zone.
* '''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).
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.
** 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.<br />
 
'''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.''
''Note : While the AWS replication feature allows bucket replication within the same zone, RGW does not allow it at the moment.''
Line 64: Line 56:


[[File:Bucket Sync - Multi-Site Full Zone Replication 05.jpg|850x850px]]
[[File:Bucket Sync - Multi-Site Full Zone Replication 05.jpg|850x850px]]




Line 73: Line 66:


[[File:Bucket Sync - Multi-Site Full Zone Replication 06.jpg|850x850px]]
[[File:Bucket Sync - Multi-Site Full Zone Replication 06.jpg|850x850px]]




Line 84: Line 78:


[[File:Bucket Sync - Multi-Site Full Zone Replication 07.jpg|900x900px]]
[[File:Bucket Sync - Multi-Site Full Zone Replication 07.jpg|900x900px]]





Revision as of 06:12, 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.


Multi-site is setup with full zone replication selected for us-east-1 and us-west-1.

Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-2, selected buckets need to have sync policies.


Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-1, selected buckets need to have sync policies.

Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-2, selected buckets need to have sync policies.


Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-1, selected buckets have sync policies.

Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-2, selected buckets have sync policies.


Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-1, selected buckets have sync policies.

Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-2, selected buckets have sync policies.


Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-1, selected buckets have sync policies

Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-2, selected buckets have sync policies

In addition there are bucket sync policies between the two secondary zones (us-west-1 and us-west-2)


Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-1, selected buckets have sync policies

us-east-1 and us-west-1 has two storage classes STANDARD and STANDARD_IA

Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-2, selected buckets have sync policies

us-west-2 only has STANDARD


Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-1, selected buckets have sync policies

us-east-1 and us-west-1 has two storage classes STANDARD and STANDARD_IA

Multi-site is NOT setup with full zone replication selected for us-east-1 and us-west-2, selected buckets have sync policies

us-west-2 only has STANDARD