How to rename AWS S3 Bucket
Solution aws s3 mb s3://[new-bucket] aws s3 sync s3://[old-bucket] s3://[new-bucket] aws s3 rb –force s3://[old-bucket] Explanation There’s no rename bucket functionality for S3 because there are technically no folders in S3 so we have to handle every file within the bucket. The code above will 1. create a new bucket, 2. copy files over and … Read more