By using AWS re:Post, you agree to the AWS re:Post Terms of Use

Is it possible to delete a bucket and create again the bucket on a different region with same name?

0

I have an S3 bucket on the region "eu-west-1" and I deleted it because I want to create again on another region "us-east-1". There is a propagation time to be able to create the bucket again in the different region? If I try to create again on the old region "eu-west-1" I can immediately re-create the same bucket, but in different region I get the same error... How can I solve? I get this error:

Unknown Error An unexpected error occurred. API response A conflicting conditional operation is currently in progress against this resource. Please try again.

profile picture
asked 2 months ago280 views
1 Answer
3
Accepted Answer

Yes, it is possible to delete a bucket and create it again with the same name in a different region. However, there are some important considerations and potential issues you may encounter:

  1. Bucket names are unique across all of AWS, not just within a region. This means that even after deleting a bucket, its name may not be immediately available for reuse in a different region.

  2. When you delete a bucket, there is indeed a propagation delay before the bucket name becomes available for reuse. This delay can vary and is not precisely defined by AWS, but it typically ranges from a few minutes to several hours.

  3. The error message you're receiving ("A conflicting conditional operation is currently in progress against this resource. Please try again.") suggests that the deletion process may not have fully completed across all AWS systems.

To resolve this issue:

  1. Wait for a longer period after deleting the bucket. This could be anywhere from 30 minutes to several hours.

  2. If you're still encountering issues after waiting, you can try the following:

  • Double-check that the bucket has been completely deleted from the original region (eu-west-1).
  • Clear your browser cache or try using a different browser or the AWS CLI to create the bucket.
  • If using the AWS CLI or SDK, ensure you're using the correct credentials and region settings.
  1. If the problem persists after several hours, it may be worth contacting AWS Support for assistance, as there could be an underlying issue with the bucket deletion process.

Remember that while you can immediately recreate a bucket with the same name in the same region, creating it in a different region requires waiting for the name to become available globally. This is due to the global uniqueness of S3 bucket names across all AWS regions.
Sources
can i delete s3 bucket , i used that data to create AMI | AWS re:Post
Working with Amazon S3 buckets - AWS Cloud9
DeleteBucket - Amazon Simple Storage Service

profile picture
answered 2 months ago
profile picture
EXPERT
reviewed 2 months ago
profile picture
EXPERT
reviewed 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions