419 points · by HiroProtagonist · 4y ago · 198 comments
[0] https://www.reddit.com/r/AmazonFlexDrivers/comments/rb3ggn/i...
What's worse, though, is that this also implies that even if an outage is localized to a particular region, data for deliveries to that region isn't multihomed, so you can't just failover flex app service to another region and keep delivering. For a service that lives and dies on being able to deliver everything faster than everyone else... that seems like a massive oversight... but also completely in-character for Amazon.
I don't doubt that many functions are difficult to failover, but a bare-bones minimum seems straightforward. For example, evidence of delivery is append-only and only needs to be globally consistent later, after a dispute.
Apparently even some warehouses were ghost towns today without anyone sorting packages[1]
Here in Phoenix, I've had two packages supposed to be delivered today now delayed. Also, delivery on items just went from overnight delivery to 3+ day delivery as the quickest option.
[0] https://www.reddit.com/r/AmazonFlexDrivers/comments/rbf8ti/j...
[1] https://www.reddit.com/r/AmazonFlexDrivers/comments/rbbnwa/y...
Corporate words are worthless anyway.
Why shouldn’t Government IT be using the same tools regular companies use for IT?
why is McDonalds dependent on AWS for their app to work? (/s)
Was it Metra or the CTA out of curiosity?
A service that is unable to handle such a failure does not qualify as being ready for deployment. And I'm not just saying that to be a self-righteous pedant, I'm saying it because this kind of failure is statistically likely to happen at some point, so ignoring it is setting yourself up for major (and potentially very expensive) problems if you don't test for it regularly.
And even more now: http://techblog.netflix.com/2013/12/active-active-for-multi-...
The companies we talk here about are most likely running a monolith app on Centos6..
But an entire region? I've never worked anywhere that decided being multi-region was a good tradeoff. At best we've replicated data to another region and had some of our management services there, so in the absolute worst case (which would need to be much worse than yesterday) we could rebuild our product's infrastructure there.
Do I agree with this approach? Not in all possible cases of course, but for my employers? Overall, yes. It mitigates the highest impact risks. Going further would have significant complexity and costs. Those companies success or failure haven't been impacted by their multi-region strategy AFAICT.
Services that truly need 100% uptime (and by that I don't mean what management say they WANT, but they are prepared to PAY) are a tiny minority, to the point that I imagine most software developers never work on one.
Even setups that i have seen to handle such cases, usually had some single point of failure somewhere.
And lest face it. Even if you do multi region on AWS, that won't protect you next time someone screws up BGP/switches/DNS or whatever and every region goes down for a while. In that case you better have failover to some other cloud vendor. Even planes or other safety critical equipment is not 100% failure proof.
One major outage per year doesn't necessarily mean just a few hours of downtime, it could mean having to redeploy your entire service somewhere else, which could take several days or more if you haven't prepared for it. How many of those services can live with that?
If you're going to concentrate risk on AWS, it better be essentially flawless, stable, and highly-redundant.
> All service interfaces, without exception, must be designed from the ground up to be externalizable. That is to say, the team must plan and design to be able to expose the interface to developers in the outside world. No exceptions.
1: https://nordicapis.com/the-bezos-api-mandate-amazons-manifes...
"Neighbors in Tennessee city worry as Amazon packages pile up outside home"
"[The people who live in the house] have a friend who has a contract with an Amazon warehouse in China. They say whenever that friend's contract expires, she will send the packages to their house for the family to sort and then send back to Amazon for the company to sell."
It's possible to ask Amazon to remove selected items from their warehouse and send to any US address for a somewhat reasonable fee of around $0.32/item ([3]).
What happens here is the Chinese sellers send packages to the residents of the house, and then relist items under a different account, so that the counter is reset and the Amazon storage fees are low again.
That said, the residents of the house run a subpar operation.
1. https://sellercentral.amazon.com/gp/help/external/G3EDYEF6KU...
2. https://sellercentral.amazon.com/gp/help/external/help.html?...
3. https://sellercentral.amazon.com/gp/help/external/help.html?...
That is simply not true.
https://www.zdnet.com/article/microsoft-moves-closer-to-runn...
Source: used to work as a SWE on a flagship Azure service
so it's even more embarrassing how terrible the software is.
trolling aside - if this is true, the state of e.g: MS Teams is a travesty. Implementation of replies to messages implemented in 2021!? So many bugs, etc. it seriously damages productivity. And don't get me started on sharepoint.
I have a running list of teams bugs/flaws/inferiorities, it's currently about 30 items, will probably publish it sometime soon
Office 365, Teams, Dynamics, xcloud, xbox live - they all run on Azure.
I'm sure that's changing with time.
YouTube also has its own infrastructure independent of GCP and the rest of Google
I'm pretty sure YouTube hasn't had their own infra in quite a while. When I was there ~8 years ago I think it was all integrated already. Certainly database, video processing, storage, CDN were all on core Google infra, and I'm sure the frontends were too though I don't remember looking into that explicitly.
Neither was AWS.
Where on Earth did you learn that?
1. Scale is hard and downtime is hard, HNers either recognize the struggle or appreciate their lack of experience. When AWS fails many armchair architects come out to suggest solutions but many more techies just sympathize with the Amazonians.
2. Technically, Amazon has built something impressive. It might not be what you want, or what others have, but AWS is impressive in scale and scope and even reliability. Many people share credit where due.
3. One can criticize the treatment of warehouse and delivery workers that Amazon is known for, but this has little baring on the tech workers there nor AWS generally. So AWS stories tend to be free from the social critique the company as a whole receives.
This is the future. AWS has an outage and your car won't work.
This is why I buy older cars with minimal electronics, BTW.
I'm really not sure what I'm going to do with cars in the future. The Volt is the last wave of not-always-connected-software-OTA-big-data-analysis cars, and even it had Onstar, it just tries to talk to towers that no longer exist. But there's a difference between that sort of system and what newer cars have. I suppose you can always disable the cell modem and let them have occasional wifi access to update, but... ugh.
In sufficiently cold conditions, you need to warm the engine up before starting the car, with an electric heating element. If this was controlling one of those heating elements, the problem was presumably that the car wasn't able to start at all, not that the car couldn't be started remotely.
Of course you could. There have been remote car starters for 20+ years. They don't rely on internet nonsense to work either.
There’s another Alaska, less cold?
I’ve read reports that even Ring doorbells don’t eh… ring because of the outage.
The cli is gorgeous, the web gui is terrible.
At a previous job where we needed to always be up, our disaster recovery plan assumed that the us-east-1 site had been hit by a meteor (not literally, but that's how we explained it to each other to put ourselves in the mindset.)
https://en.wikipedia.org/wiki/Failure_domain
Clouds aren't magic. They require a certain amount of operational confidence in order to understand that, yes, an entire region can fall out from under you at any time and it's your responsibility to detect and deploy into an unaffected region if possible.
edit: Generally, one entire region will not fail. However, core services like STS rely on us-east-1 so it's particularly susceptible to disruption.
For many use cases, it’s acceptable to shrug and blame AWS for a failure. It’s harder when your high availability solution fails independently, which they almost always do more than US-East-1
And being the only one up doesn't win as many market cred points and you'd think.
Empirically? No.
But seriously, instead of making every dev team consuming an AWS product hire the extra engineers required to build a system that spans multiple failure domains — which lets be honest, companies won't — why hasn't Amazon just hired the engineers required to do it for me?
> Generally, one entire region will not fail.
Laughs in global failures.
There are also way too many successful, public cloud-native businesses running without any semblance of a Business Continuity or DR Plan among any of their teams. I wish I could name and shame some of the more egregious cases I have seen.
FYI this example hasn’t been true for a while. STS regional endpoints are generally what you should be using these days. The “global” us-east-1 endpoint still works, and may be the default for some clients, but isn’t a requirement.
So yes, in theory much of AWS's services are probably very reliable and distributed across AZs and regions, but in practice there's likely a whole bunch of debt where one thing gets fucked up and it cascades.
To be fair, we only run services in us-east-1, and we had zero downtime from this issue. The only issue we encountered were API calls that were failing for us, and those were for CloudWatch and CodeDeploy. We are heavily reliant on EC2, OpenSearch, and S3.
At the end of the day, building redundant systems is expensive (and may introduce whole new bugs), so they probably did the math and figured the risk of a whole region outage was less than the cost of building redundancy in some systems that are hard to make redundant.
Though, as you say, none of that's a great excuse for Amazon itself. I know Alexa devices, Ring Devices, Prime Video, imdb.com, etc, also all had issues in the first hours of this outage.
[9:37 AM PST] We are seeing impact to multiple AWS APIs in the US-EAST-1 Region. This issue is also affecting some of our monitoring and incident response tooling, which is delaying our ability to provide updates.
After 2017 I'll never use US-east-1 again. Hell... I should have learned that particular lesson in 2011 but it took two catastrophic failures for me to figure it out.
There are numerous threads here on HN covering the topic "why does US-east-1 suck so hard."
https://news.ycombinator.com/item?id=13756082 is just one example.
You'd think if it's anything mission critical, Amazon would be following its very own Well-Architected Framework. The Reliability pillar would speak to this.
https://docs.aws.amazon.com/wellarchitected/latest/reliabili...
Although the cost to make all of Amazon commerce, logistics, and digital truly multi-region is probably an order of magnitude more than the impact of this outage.
But I suspect there are third part integrations that benefit from being on the same AZ as Amazon APIs. I’ve been having little convos all day about how I think the inter region pricing creates a perverse incentive that’s exacerbating the us-east-1 situation.
To be clear, I am not advocating for ignoring high availability setups. Just highlighting the complexity cost of it.
The key benefit of the cloud is blameshifting. It’s someone else’s problem, you just get the day off.
(of course outages can happen and are to be expected especially at Amazon's scale, it's just the bad communication and the amateurish non-redundant setup of their own core services that is shocking)
Imagine ransomware targeting Amazon and spilling into the real world logistics, how much ransom could they charge.
p.s. Your username?! I can think this must be the only site you've managed to get that handle?
And the username I use here isn't available on pretty much any other site, but was still available here in 2021.