Live data from Hacker News

Post-mortem of Christmas Eve Amazon ELB outage

aws.amazon.com

31–40 of 40 posts

Re: Post-mortem of Christmas Eve Amazon ELB outage

#31
As usual, their summaries leave me with more questions than answers.

A maintenance process whose purpose in life is to delete data from ELB backend database (if it were not the case, you'd see "maint process didn't work right") in such a weird way that it would cause such chaos? Why on earth would such a maint process exist in the first place? I can imagine some possibilities here of course but it feels to me there is more to it than what they've chosen to disclose.

Next. So they lose config data but data path for now not impacted. Fine, makes sense. But then backend, with only partial data, attempts to reconfig running LBs, doesn't fail completely (as in it was able to connect and do at least something but not all actions it was supposed to do) thus forcing otherwise good but impaired LBs into a completely bad state. Sunds suspicious to me.

And then the biggest question - why did they choose to attempt to restore entire backend database when only 6.8% of LBs were impacted?

I also have no idea how a CM process can protect against making a mistake - mistakes happen when somebody is at the controls with or without prior coordination.

All in all, their backend systems are so sophisticated and precisely engineered that any unforeseen/unexpected abnormality caused by manual intervention (be it inadvertent run of a maint script or fat fingered traffic re-routing from primary to backup network) inevitably lead to overwhelming reaction of their automation that makes the problem even worse and extremely hard to recover from.

Very tough position to be in - during these outages, they are essentially fighting the skynet that they themselves created and at their scale there is no way around it.

So hats off to those who've been working on this and good luck taming the beast.

Re: Post-mortem of Christmas Eve Amazon ELB outage

#32
post #16
post #7

Earlier quoted context omitted.

I wonder who gets stuck working those shifts -- would it just be following the normal schedule, in the name of fairness? Do more senior people get to claim the day of vacation? Do parents get priority over single people?

They might've had employees that don't celebrate Christmas.

Any large technology company will have lots of employees from cultures that don't celebrate Christmas. One of the nice little upsides of globalization.

Re: Post-mortem of Christmas Eve Amazon ELB outage

#33

Want to learn great infrastructure management tips? Read and digest these post-mortems.... Regardless of who the provider is. There is always one takeaway from these that I can use to better my own infrastructure management activities - even when most of my infrastructure runs on AWS. :)

Wouldn't it be a better idea to learn from a provider that isn't constantly screwing things up? Amazon's systems clearly aren't working reliably.

If Amazon can have an issue of this severity in ELB, one of their core core services, during peak traffic season for their #1 highest profile customer, every one of their services should be viewed with suspicion and you really need to have non-amazon backup systems in place in case they have an incident that affects you. Yes it is painful to leave the comfortable aws womb, but it's time to grow up and start either managing multiple infrastructure providers or build your own.

Re: Post-mortem of Christmas Eve Amazon ELB outage

#34
post #7

Earlier quoted context omitted.

I wonder who gets stuck working those shifts -- would it just be following the normal schedule, in the name of fairness? Do more senior people get to claim the day of vacation? Do parents get priority over single people?

Most teams I've seen have at least one person willing to bite the bullet voluntarily. Perhaps they don't celebrate Christmas, or they want to do a favor to their team, or they'd prefer to take vacation at a different time. I have volunteered to be on call during Christmas in the past specifically because it is Christmas: other than rare events like this, it's the quietest time of the year. I get a relaxed week of wor…

Yeah, I've volunteered for such shifts before. Usually there's some "unofficial" extra compensation, extra time off or something similar.

Re: Post-mortem of Christmas Eve Amazon ELB outage

#35
post #20

Earlier quoted context omitted.

Just as likely as 12:25 on 12/24.

Though technically correct, this (seemingly) common response to highlighted dates belies the fact that no, 12:24 12/24 is in fact more rare than an arbitrary other minute because of the pattern in it's configuration. Sometimes pedantry gets in the way of appreciating something as small as this.

There are any number of ways a number could be considered "special". It could be prime, it could have no repeated digits, it could have sequential digits, it could be a friendly number, it could be a palindrome, it could be a perfect number, ... I could go on...

Eventually the numbers with nothing "special" about them begin to appear the minority: http://www2.stetson.edu/~efriedma/numbers.html

Re: Post-mortem of Christmas Eve Amazon ELB outage

#36
post #16

Earlier quoted context omitted.

They might've had employees that don't celebrate Christmas.

Any large technology company will have lots of employees from cultures that don't celebrate Christmas. One of the nice little upsides of globalization.

But not necessarily a lot of people on each of the relevant teams.

Re: Post-mortem of Christmas Eve Amazon ELB outage

#37

The post-mortem is missing important pieces. 1) When was the problem detected? 2) How was the problem detected: automated monitoring, operator vigilance, or customer complaints? 3) When were customers first notified of the outage? This post-mortem starts out with the root cause, but it is likely that was not known until after the outage had ended, so it's important to know how much time passed between the root cause…

I think the measures they implement to prevent this failure are adequate. Changing access control patterns so that not a single person but at least two persons must allow the job to run are sufficient as a quick fix. They also mention changing the future architecture to automate such maintenance jobs and to make data recovery faster. So it is indeed a mix of process and technical measures, much as the problem was caused by more of a process problem rather than a technical problem.

Finally I don't think that the computational part of the data recovery is the time intensive one. A laptop may churn through gigabytes and gigabytes a minute, but a developer can't. In this case the more time intensive part is probably figuring out which parts of the data got lost and how to get them back, then writing the tools to automate the process, test that the data fits and then put it safely back in production. I understand that it's annoying, but theres only so many flops a human brain can run.

Re: Post-mortem of Christmas Eve Amazon ELB outage

#38
post #33

Want to learn great infrastructure management tips? Read and digest these post-mortems.... Regardless of who the provider is. There is always one takeaway from these that I can use to better my own infrastructure management activities - even when most of my infrastructure runs on AWS. :)

Wouldn't it be a better idea to learn from a provider that isn't constantly screwing things up? Amazon's systems clearly aren't working reliably. If Amazon can have an issue of this severity in ELB, one of their core core services, during peak traffic season for their #1 highest profile customer, every one of their services should be viewed with suspicion and you really need to have non-amazon backup systems in place…

Or make a calculated cost/risk assessment, and act accordingly.

Re: Post-mortem of Christmas Eve Amazon ELB outage

#39
post #2

"The data was deleted by a maintenance process that was inadvertently run against the production ELB state data. This process was run by one of a very small number of developers who have access to this production environment."

This is why I love AWS post-mortems: They don't hide things. Most companies would have said "the outage was caused by a system being accidentally misconfigured" or even less; Amazon, in contrast, admitted (a) that a specific person was identified who made the mistake, (b) that he had access to the systems in question because a process was being run manually which should have been automated, and (c) that if there hadn…

Sadly, it's only the postmortems. Their entire status gameplan involves being very vague.

Re: Post-mortem of Christmas Eve Amazon ELB outage

#40
Thanks to AWS for the full disclosure here... I always jump at the chance to read the post-mortems. However, I don't understand why this took Netflix down. This affected ELB only in us-east-1, but surely Netflix is multi-region, at least for their frontend?
Post reply on HN