Console > S3 > Select Bucket > Management > Replication >
To Enable Replication the bucket should be enabled with versioning
<https://oracletechdba.blogspot.com/2020/01/aws-maintaining-versioning-file-or.html >
Eg:Copy objects from s3testbucketjhb2020 to s3testbucketjhb2020 ,Which both are different region.
Note:The target Encryption cannot use the same KMS,We have to define new Key for target.
And in source we have to provide source key for AWS to decrypt the object and copy to the target and encrpyt with new key.
Source Bucket Name: s3testbucketjhb2020 Region:US East(N.Virginia)

Select the Bucket name

If the File is Encrypted select the key for decrypt and copy to the target.

Target we can give in the same AWS account or Different AWS account,Then select the target bucket name

Enter the target bucket or create new bucket for target,I am creating new one in other region with target default serer side Encryption.

Select IAM role

AWS created the Role and save
You can see the status of the replicaiton.

To check Console > S3 > you can see the Target replication bucket name

Note: We can select replication time control but it will be charged refer below
<https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-time-control.html>
<https://docs.aws.amazon.com/AmazonS3/latest/user-guide/enable-replication.html#enable-replication-add-rule>
To Enable Replication the bucket should be enabled with versioning
<https://oracletechdba.blogspot.com/2020/01/aws-maintaining-versioning-file-or.html >
Eg:Copy objects from s3testbucketjhb2020 to s3testbucketjhb2020 ,Which both are different region.
Note:The target Encryption cannot use the same KMS,We have to define new Key for target.
And in source we have to provide source key for AWS to decrypt the object and copy to the target and encrpyt with new key.
Source Bucket Name: s3testbucketjhb2020 Region:US East(N.Virginia)
to
Target Bucket Name:replicationbuckatejhb2020 Region:Asia Pacific(Mumbai)Select the Bucket name
If the File is Encrypted select the key for decrypt and copy to the target.
Target we can give in the same AWS account or Different AWS account,Then select the target bucket name
Enter the target bucket or create new bucket for target,I am creating new one in other region with target default serer side Encryption.
Select IAM role
AWS created the Role and save
You can see the status of the replicaiton.
To check Console > S3 > you can see the Target replication bucket name
Note: We can select replication time control but it will be charged refer below
<https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-time-control.html>
<https://docs.aws.amazon.com/AmazonS3/latest/user-guide/enable-replication.html#enable-replication-add-rule>
No comments:
Post a Comment