Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in AWS by (1.4k points)

I have to rename my S3 bucket and I could see there is no option for renaming. Please suggest other steps to get over this issue.

1 Answer

0 votes
by (2.6k points)

I suggest creating a new AWS s3 bucket and making it sync with the older bucket. Kindly use the below code:

aws s3 mb s3://[new-bucket]

aws s3 sync s3://[old-bucket] s3://[new-bucket]

aws s3 rb --force s3://[old-bucket]

Related questions

Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.6k users

Browse Categories

...