99
AWS accused of a ‘digital execution’ after it deleted 10 years of users' data without warning
(www.tomshardware.com)
A community for high quality news and discussion around technological advancements and changes
Things that fit:
Things that don't fit
AWS very likely can recover all of their data, they probably just don't want to. We had a devops person at our company run a script that wiped out 95% of our Lambdas, 'irreversibly' according to AWS docs. AWS spent 2 weeks with our devops team to recover as many of the lambdas as possible. Most of the recovered lambdas were just sent over to us as randomly identified
zip
s, but we did get the majority of them back.I have to know, how do you lose lambdas? You should still have the source code. Please tell me you didn't code them directly in the aws console...
I meant to respond to this yesterday. We didn't lose the lambda code, we lost lambda versions, which are immutable versions of your Lambda. There is no way to restore these (hence immutable).
We had every lambda version's code tagged in github as a release and while we could have redeployed them it would have taken just as long if not longer, due to how long our deployments for the lambdas in question were (20minutes to 1.5h depending on the lambda).
There were a lot of suboptimal things that happened to make it a shitshow, but essentially:
This all resulted in a dumb devops dude getting a ticket to clean up our dev account due to running out of lambda storage space. He cleaned up the dev account with a script that was built to only be run against dev. Then he decided even though the ticket said just clean up dev, he would take a look at prod and clean that one up too.
Thus managing to take down the entire company's sales infrastructure.
The shared aws account and the devops script to clean up lambdas was built before I started at that company, but the rest of the code/architecture was mine and one other person's design. It worked really really well for what it was built for (immutable rules for specific points in time), but there were a lot of shortcomings and things we missed that resulted in everything going badly that month.