How to rename S3 Bucket name in AWS

684    Asked by JohnIngerson in Python , Asked on Jul 4, 2021

After all the tough works of migration etc. Just realise that I need to serve the content using CNAME (e.g media.abc.com). The bucket name needs to start with media.abc.com/S3/amazon.com to ensure it works perfectly.

Just realise that S3 doesn't allow direct rename from the console.

Are there any ways to rename s3 bucket and workaround for this?


Answered by MARIA ISABEL

You cannot rename s3 bucket. You can only create a new bucket with the desired name and move all the contents to that bucket. Using AWS CLI, this can be done quickly.




Your Answer

Interviews

Parent Categories