The Object Storage is an internet-scale, high-performance storage platform that offers reliable and cost-efficient data durability. The Object Storage service can store an unlimited amount of unstructured data of any content type, including analytic data and rich content, like images and videos.
Object Storage is a regional cloud service. Buckets are logical containers created in a tenancy inside a region in which customer data is stored as objects.
You can store a copy of all objects from one bucket in another bucket located inside a different region for redundancy. This copy can help you recover from a disaster that could affect an entire cloud region. Cross-region object replication provides protection from a regional outage.
Configure the IAM policies
- Log in to the OCI console and click Identity, and then click Policies.
- Create a new policy and add the following statements:
Allow group 'OracleIdentityCloudService'/'OCI_Administrators' to manage buckets in tenancy Allow group 'OracleIdentityCloudService'/'OCI_Administrators' to manage objects in tenancy Allow service objectstorage-us-ashburn-1 to manage object-family in tenancy Allow service objectstorage-us-chicago-1 to manage object-family in tenancy
Configure Object Storage cross-region replication
- Go to the source bucket and click Create Policy as shown in the following image.
Note: The destination bucket “Replication_Blog” has to be created in the destination region us-chicago before setting up replication. Setup replication policy on source bucket by selecting the destination region and bucket to replicate to and then click Create.
Select the Destination Region and Destination Bucket for replicating objects and click Create.
In the Bucket Information tab, the Replication field displays Enabled for the source bucket in US East (Ashburn) region.
In the US Midwest (Chicago) region, go to the Bucket Information tab and verify if the Replication is Enabled on the destination bucket as well :
Navigate to the destination region and bucket and confirm that the objects uploaded to the source bucket have been replicated in the destination bucket in US Midwest (Chicago) region.
I hope this article can help you
See you in the next article.
Disclaimer: “The postings on this site are my own and do not necessarily represent my current employer positions, strategies, or opinions. The information here was edited to be useful for general purpose, specific data, and identifications was removed to allow reaching a generic audience and to be useful.