226 points · by rootforce · 6y ago · 118 comments
e.g. we set up our L@E functions in us-east-1, run our actual systems in eu-west-1, but 95%+ of our traffic comes in via eu-west-2, and the L@E functions output logs for that traffic to the eu-west-2 CloudWatch.
For Cloudfront stuff, it's not very region dependent.
And usually it's old things, like really really old if something is available in us-east-1 and not us-east-2. I would imagine some ancient ec2 instance types.
They can rebuild that whole datacenter a hundred times over and still not feel it in their wallet.
Agreed.
Are you saying us-east-2 would be better than us-east-1?
Although IAM service is global one and it is located in us-east-1, so you wouldn't be able to avoid this particular issue.
I used to work for another pretty big company and we knew to roll out changes to the smaller DCs first.
If their goal is to reduce the number of affected locations (and not care about number of people) then deploying to us-east-1 makes more sense.
Blah.
Maybe, possibly, hopefully...
UPDATE: Status page now shows it https://status.aws.amazon.com/#
https://gaslighting.me is the non-editorialized version.
I've done a lot of cloud site HA work on large sites.
Waiting out the cloud outage so far ends up being the best solution for almost all companies, from both engineering and business standpoints. Eat the outage, but continue with a known-working site afterwards. You just blame the cloud provider for the downtime.
> I've heard of larger companies running a completely redundant hot standby on another independent cloud platform and switching DNS over to the standby when something goes wrong.
In theory, that makes sense. It practise, it almost never works.
If by "independent cloud platform" you mean another AZ or region in the same cloud, that is often attempted and can work reasonably well. If you mean failover from AWS to GCP, then that's unlikely, since everything is different.
An example is whenever DynDNS goes down for 2-3 hours, and everybody builds out flaky failover tools that are less reliable than their original DNS provider - and have to be maintained forever. Might work with one or two domains, becomes a huge ongoing problem with dozens of them. Also, DNS mgmt. APIs are flaky in several dimensions (availability, versioning, parameters, etc.)
Another is that you can't failover to another location that doesn't have all your data, current certificates, monitoring, etc., and the failover site needs the capacity of the original site to work. That costs ongoing money and time, and you never know how well the failover will work or how it will perform.
An example is Heartland, one of the biggest US payment providers, who failed over to another location and took a 5 day outage. Or gitlab, who took a one day outage because of database isues.
I have (automatically) failed over a large site for a publicly-traded company from one AWS region to another, but that took a year of work to setup, and I understood almost all aspects of the site. Afterwards, I realized that almost nobody really has time to organize that either at a conceptual or engineering level. And organizations don't recognize Herculean efforts like that, so think twice beforehand.
Key point: always involve your DBA from the beginning when doing a project like this.
The other day we started using Access Advisor, and we found some of our KMS key policies with a Principal of '*'.
It wasn't marked as globally open, so we planned to fix them a little later.
This morning we found that status had changed.
While we were in the wrong to begin with, it was a little surprising to find the interpretation of the key policy changing overnight.
Of course it became our top priority and is now fixed. Something to look out for...
[0] - https://aws.amazon.com/about-aws/global-infrastructure/regio...
So it's entirely possible to depend on IAM but not in a way which this is breaking.
Please confirm and I will work to spread the news - can I cite you as the source?
(significantly higher == 100% availability, it hasn't gone down... yet)
But genuinely AzureAD is really good. Authentication and Authorization systems are difficult, AD has always been begrudgingly the most well rounded (yes, it has warts) but AzureAD really is nice.
I especially like that my local admin can delegate Enterprise Apps to me so I can create SAML/OAUTH2 SSO links between stuff we use without needing the keys to the kingdom.
I recently set up Enterprise Federation with GCP and it took less than a day. (compared with many months in my last company which used on-prem AD)