3 ms·
> In 2021, anyone who comes across this question may benefit to know that AWS console now provides an empty button. source : https://stackoverflow.com/a/678341
by NabiDev 5y ago
> In 2021, anyone who comes across this question may benefit to know that AWS console now provides an empty button.
source : https://stackoverflow.com/a/67834172 https://stackoverflow.com/a/67834172
- bryan0 5y agoAccording to the article the empty button still calls LIST per 1000 objects. So if the guy in the SO thread has 2B object this one click would still cost him ~$10k ??
- fullsailor 5y agoLIST requests are priced by the 1000. And are priced the same at all storage classes. My estimate is that it would cost him $1 to click that button. 2M LIST requests = (2B objects / 1000 per LIST) $1 = (2M / 1000) × $0.005 At least that's my reading of the Pricing page for US East (Ohio).
- bryan0 5y agoAh ok. That would at least make more sense.
- tedivm 5y ago> Within the last year, AWS added a handy Empty button to the S3 console when viewing a bucket. You can click that button and watch the S3 console make API calls on your behalf. > Here's what it does: It calls a LIST on the bucket, pagination through the objects in the bucket 1000 at a time. It calls a DeleteObjects API method, deleting 1000 at a time. > The cost is 1 API LIST call per 1000 objects in the bucket. Delete operations are free, so there's no extra cost there. source: I read the article.