|
|
|
|
|
by billyhoffman
1704 days ago
|
|
No it’s not. Deleting 4B objects costs $20, via DELETE and LIST requests. As the article says DELETEs are free and you can do bulk deletes of 1000 objects at a time. However you need to have the object names. You get those using LIST, which gives you 1000 items for each request. LISTs are currently priced at $0.005 per 1000 List requests. So $0.005 to delete 1M objects. Using the “empty bucket” feature does this internally and charges you that exact same amount. The only way you get near your price is if you try to delete by applying a new lifecycle policy to 4B objects that are not in Standard storage. |
|
If you can select your objects with a lifecycle policy (by object tag or prefix) you don't need the LISTs either. The prefix can be "" to select all objects. Just be careful with that.