I find a bucket without aws region in my s3, but I cannot delete it.

1

Hi. I don't know why a bucket without aws region in my s3, I cannot delete it. When I click delete, it prompts "The bucket "elasticbeanstalk-eu-west-" was not found.

Do you have any methods to delete this strange bucket? Thanks.

Eddy
preguntada hace un año1199 visualizaciones
8 Respuestas
1

Could you please share a screenshot of S3 console and the delete action?

You can delete a bucket using the Console, CLI or SDK [1]. I recommend to list them before you proceed and see what the output is.

If you can also share the output of the CLI, that might help!

Also, please note bucket configurations have an eventual consistency model. i.e., If you delete a bucket and immediately list all buckets, the deleted bucket might still appear in the list [2]

[1] https://docs.aws.amazon.com/AmazonS3/latest/userguide/delete-bucket.html

[2] https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html#ConsistencyModel

profile pictureAWS
EXPERTO
respondido hace un año
1

Bucket-level operations are eventually consistent - it is expected to see this for a while after deleting the bucket, and it should resolve itself within a day. Could you please confirm how long you have seen this? see https://repost.aws/knowledge-center/s3-listing-deleted-bucket

profile pictureAWS
EXPERTO
respondido hace 5 meses
0

Hi Jonathan,

Thanks for your reply.

I am the new user of AWS. Attached are the screenshot of my s3 for your information. When I click Empty or Delete this bucket, it prompts the bucket is not found.

my s3 bucket not found

It looks like a zombie. I go through the answers of the old post. Someone said the undeleted folder was deleted finally but did not mention the reason.

Kindly, Eddy

Eddy
respondido hace un año
  • Just to be sure, have you refreshed the whole page (and not only using the refresh icon)? it seems like the bucket was deleted already but the console still show it. What does the CLI/SDK return? does it show a bucket?

0

I have the same, which is created by serverless framework. Is there a way to force delete buckets or something? Enter image description here

respondido hace 8 meses
0

Same issue here. Here's what I tried (only showing relevant bits of the output):

➜  julian ✗ aws s3 ls
...
2023-11-26 15:35:43 julian-okrfi-documents-analysesbucket68db1ab5-v77wvprqkyoq
2023-11-26 19:29:32 julian-okrfi-documents-extractedbucket216b7b88-n7668keizgtf
2023-11-25 21:40:25 julian-okrfi-documents-uploadsbucket10132eb4-vrfql5bj9uhh
...
➜  julian ✗ aws s3 rm s3://julian-okrfi-documents-analysesbucket68db1ab5-v77wvprqkyoq
fatal error: An error occurred (NoSuchBucket) when calling the ListObjectsV2 operation: The specified bucket does not exist

If I try to delete it in the AWS console:

console screenshot

the result isn't much better...

delete result

Julian
respondido hace 5 meses
0

I'm encountering the same issue. I refreshed the bucket list in the S3 console; however, the bucket still shows up and cannot be deleted. This issue needs to be resolved, and it is important to clarify the underlying reason.

respondido hace 5 meses
0

I have the exact same issue, going on 568 buckets without region and unable to delete.

Please help fix this.

Enter image description here

Braulio
respondido hace 5 meses
0

Jonathan, I can confirm that the bucket is now gone. I'm not sure if it was within 24 hours, but it seems to have cleared itself at some point.

It seems like the UX is just poor around this. I would expect buckets that aren't visible by ListObjectsV2 to not show up in that list. Or at least have a "marked for deleted, will disappear soon". Either of those, and this question thread would likely not exist.

Julian
respondido hace 5 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas