DEV Community

Sachin
Sachin

Posted on

Copy bucket to another bucket S3aws (Automatic)

we can see the manual process now we can see the automation way
we have mumbai and delhi bucket the mumbai bucket copy all the file in delhi bucket
note - default enable the versioning that is manadatory for security

Go inside the mumbai bucket have demo file

Select the management option

and downside you found
create the replication rule

type the rule name and choose one option 1 any specific file you choose type i have only copy 10 file start with guide and then i type guide* ok and 2 option when all the select the all file and object


and now choose the destination bucket

and they have two option in this bucket and another bucket have another account if you want another aws account and type account number and bucket name choice is your but in this time i choose this bucket

you can see the option of role this i am service that have user and permission handle and group hand but in this time we create a new role

and save now you have two option

1 if you bucket a have exiting some file and object copy to another bucket
2 it not copy the exiting file and when we upload the new object only copy that

I choose 1 i have alredy screem shot

Top comments (0)