Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

aws s3 change bucket region

-- Create tmp
$ aws s3 sync s3://bucket1 s3://tmp --source-region us-west-1 --region us-west-2
$ aws s3 rb s3://bucket1 --force
-- Recreate bucket1 in us-west-2, but you might have to wait due to caching
$ aws s3 sync s3://tmp s3://bucket1 --source-region us-west-2 --region us-west-2
Source by www.edureka.co #
 
PREVIOUS NEXT
Tagged: #aws #change #bucket #region
ADD COMMENT
Topic
Name
6+4 =