3 ms·
You can do it pretty easily with the AWS APIs, and in the process scram-switch only the stuff you really want to kill.
by eropple 11y ago
You can do it pretty easily with the AWS APIs, and in the process scram-switch only the stuff you really want to kill.
- detaro 11y agoHow would you script a protecting against the issue described in the article? Unless you make sure to check the cost before each single request you can't stop it (and if you accidentally send one massive retrieval request even that isn't enough) For other services it is easier, but even then, setting up and managing my own cost control mechanism is a level of complexity (and risk of failure) I'd really want to avoid, esp. since I probably use AWS to avoid management overhead.
- eropple 11y agoYou can't in this particular use case, but I can't envisage AWS providing a cost-control system that would stop this, either. It doesn't make sense--they're not calculating costs as they go. What I'm saying is that what Amazon would provide you is not functionally different from what you can do yourself right now. I would be a lot more worried about a risk of over-charging myself if AWS wasn't incredibly good about refunding accidental overages.
- detaro 11y agoas user re pointed out above, apparently for Glacier that functionality actually exists: https://docs.aws.amazon.com/amazonglacier/latest/dev/data-retrieval-policy.html#data-retrieval-policy-using-console https://docs.aws.amazon.com/amazonglacier/latest/dev/data-re...
- eropple 11y agoHuh, that's...surprising. Glad it exists, though, as Glacier definitely is opaque. Thanks for pointing that post out (to you and to `re).
- deleted 11y ago[deleted]
- Nexxxeh 11y agohttp://docs.aws.amazon.com/amazonglacier/latest/dev/data-retrieval-policy.html#data-retrieval-policy-using-console http://docs.aws.amazon.com/amazonglacier/latest/dev/data-ret... and https://aws.amazon.com/blogs/aws/data-retrieval-policies-audit-logging-glacier/ https://aws.amazon.com/blogs/aws/data-retrieval-policies-aud... were linked elsewhere in the comments. Edit: By user?id=re.