78

Title is quite explanatory, but I have just deleted an s3 bucket as it was in the wrong region and am wanting to recreate it in the correct region with same name as the just deleted one.

Is there any documentation of this or user experience?

3
  • Delete bucket A in region 1 and recreating it in region 2, I've had to wait as long as 45-minutes. – Adam Jul 18 '19 at 12:23
  • Many hours in my experience. You can recreate it in the console almost instantly, but the bucket is not really there. It doesn't show any access or region information and gives an error when listing the content. Same result with the CLI. My guess is that amazon runs some process every few hours that performs the needed cleanup. – Federico Sep 2 '20 at 9:39
  • "You can recreate it in the console almost instantly" -- that does not match my experience. Instead, it throws an API error like so: "A conflicting conditional operation is currently in progress against this resource. Please try again." (That was via the AWS Console, not using the CLI or one of the SDKs, I'll note.) – Morgan Blackthorne Sep 18 '20 at 18:35
75

The S3 docs used to say:

When you delete a bucket, there may be a delay of up to one hour before the bucket name is available for reuse in a new region or by a new bucket owner. If you re-create the bucket in the same region or with the same bucket owner, there is no delay.

But now they just say:

... it might take some time before the name can be reused ...

3
  • 5
    This information may be out of date as it's been removed from the documentation. – r3m0t Jan 20 '17 at 12:39
  • 4
    Today it took more than 1h for me. – Martin Thoma Apr 6 '18 at 15:24
  • 1
    This seems to also apply for moving buckets from one AWS account to another. – Jay P. Dec 18 '19 at 16:43
11

I've had to wait 5-10 minutes at times.

7
  • 7
    It's been over half an hour and I'm still waiting... – Asfand Qazi Mar 10 '16 at 8:04
  • 1
    @AsfandYarQazi OK? Contact AWS support if it's still stuck. – ceejayoz Mar 10 '16 at 14:05
  • 31
    It took over an hour. Just letting people know not to pin their hopes on it taking 10 minutes, it may take much longer. – Asfand Qazi Mar 10 '16 at 17:56
  • 1
    Took exactly an hour today. – Marc Tamsky Jun 8 '17 at 4:05
  • 4
    FYI, deleted three buckets because I wanted to move them to a different region. It took an hour for one of the names to become available after deletion. However, it took several hours for two of them to become available (they were in a sort of limbo: still showing in the list after deletion, but without region name and without any ability to try and delete them again.) So bottom-line: just be patient. – Fabien Snauwaert Aug 28 '17 at 22:28
-5

about 5-10 seconds. Bucket names must be region-unique (you can create us-1/test and eu-1/test simultaneously). It looks like someone create bucket in region with name you want to use.

edit: Bucket name is globally unique.

2

Not the answer you're looking for? Browse other questions tagged or ask your own question.