Hacker News new | ask | show | jobs
by vmception 1633 days ago
This happened to me, the bill was so ridiculous that I wasnt even bothered by it. It got voided by aws support as predicted.

MFA does not prevent this. Its IAM keys.

2 comments

This is an underrated point. Every "best security practices" guide you read has you setup MFA for console access, then create IAM keys with no such protection.

The credentials I'm using with Terraform require MFA in order to call 'AssumeAdmin'. Everyone I've ever shown this configuration has complained about it being overkill and tried to argue Terraform should just have IAM keys sitting on disk, one desktop compromise away from taking everything. And since it's used to provision basically everything it's a highly privileged account.

aws-vault works too
How big was the bill?
Like $120,000 after paying like $.30 for cloudfront for 10 months

It was pretty obviously uncharacteristic