5 ms·
A generic question: Our company is completely dependent on AWS. Sure we have taken all of the standard precautions for redundancy, but what happened here could
by scarface74 8y ago
A generic question: Our company is completely dependent on AWS. Sure we have taken all of the standard precautions for redundancy, but what happened here could just as easily happen with AWS - a needed resource is down globally.
What would a small business do as a contingency plan?
- geggam 8y agoInfrastructure as code. Terraform using AMIs plus chef recipes that work in the cloud and bare metal. Dont use AWS specific services. This would allow you to spin over to another cloud provider , vsphere or bare metal with minimal work
- xchaotic 8y agoI think you are downplaying minimal
- Twirrim 8y agoI don't think OP was intending "minimal" to mean it would be easy to get to the stage where it's possible, just that once you've got all your infrastructure-as-code stuff set up correctly, you ought to be able to just be pressing buttons / running scripts and have your infrastructure up and running in another cloud provider. Even when working in small companies with small infrastructure, I've kept recreation of infrastructure as one of my high priorities (one reason it really bugged me in one job to have to depend on Oracle Databases that I couldn't automate to the same degree.) In my mind, it's not different from the importance of having, and testing restoration of, backups. If your infrastructure gets compromised somehow, or you find yourself up the creek with your provider, you've got to be able to rebuild everything from scratch.
- user5994461 8y agoThe infrastructure has always been the easy part, as long as the company is willing to pay for multiple datacenters. Then you realize a lot of software and databases can only run from a single instance, zero support for multi regions, and you're not gonna to rewrite everything and resiliency just can't happen.
- geggam 8y agoNo, with over 20 years experience and having done exactly this for several different companies and startups I pretty much have this process down.
- cloakandswagger 8y agoTotally impractical for any small business and of questionable usefulness for large ones. You'd be giving up the largest benefit of platforms like AWS--ready to use services for common tasks--to avoid the infinitesimally small chance of AWS having some doomsday global outage. To answer the original question: It looks like this issue was just a UI bug that affected the console, the service itself wasn't impacted. Events that do impact the service will be contained to a region, meaning you can mitigate it with proper redundancy across regions, no zany multi-cloud solution required.
- geggam 8y agoEvidently you dont know how to do this well
- scarface74 8y agoThat’s not how Terraform works. Each provisioner has separate syntax depending on the cloud provider. The template for AWS wouldn’t work on GCP or Azure.
- geggam 8y agoCorrect. However written properly you get 90% of the way there. Disaster recovery by switching to another provider is simple when minimal centos/rhel images are used.
- edoceo 8y agoThen struggle like hell for the other 90%
- scarejunba 8y agoAssume I’m not fully informed here. What does “written properly” mean? Sure I can move over route53 to cloud DNS easily but Firehose to PubSub? Lambda to Cloud Functions? DynamoDB to BigTable and moving the data? The syntax for provisioning these doesn’t work that well for some find and replace to work. Are you using a templater to generate cloud-specific HCL from a template or something? Sounds like a pretty big problem to solve to me and not just something where you can win via discipline.
- geggam 8y agoQuit using vendor lock in resources then asking why its hard to leave that vendor.
- scarface74 8y agoYou’re always “locked in” to your infrastructure. People have this brilliant strategy of thinking they have this brilliant strategy of avoiding “lock in” and again they get the worse of both worlds. They end up spending more to avoid lock-in and they aren’t taking advantage of what thier provider has to offer. At the end of the day, changing your underlying infrastructure is so risky and usually not worth the cost benefit analysis, it’s rarely done.
- scarface74 8y agoAnd this is the reason that people end up spending so much more in the cloud - treating AWS like a glorified colo.
- dgemm 8y agoAssuming you have architected multi-region I'm not sure how realistic that scenario is. AWS regions are mostly standalone, I have seen services go down in a region but never globally.
- scarface74 8y agoThe most recent example that I can think of when something went down globally was Route 53 - the one service that AWS promises 100% up time for.
- cthalupa 8y agoAre you thinking of the event in April? That was not a Route 53 outage, that was a BGP hijack. https://blog.thousandeyes.com/amazon-route-53-dns-and-bgp-hijack/ https://blog.thousandeyes.com/amazon-route-53-dns-and-bgp-hi...
- dgemm 8y agoCitation needed?
- scarface74 8y agoSee the reply to my original post. It wasn’t an actually Route 53 “outage”.
- nimchimpsky 8y ago"Our company is completely dependent on AWS." Well not a lot. On the plus side its pretty reliable.
- xchaotic 8y agoRoll the dice? What are the consequences for you, especially if you can shift the blame? What are the odds of you having better uptime rolling your own tooling? Can you afford the complexity of multi cloud? Is the added complication worth it?
- yjftsjthsd-h 8y agoBasically, you have three options. You can go full milti cloud, with all the expenses and overhead that entails. You can have everything run in one place but have a plan to switch to a backup system. Or you can look at the overhead and cost associated with those, and decide that it's not worth it. If the business can handle the costs and risks, then any of them can be a valid option.
- apapli 8y agoVery little, unless that small business has a big enough budget to design something that spans multiple clouds. Ultimately it’s a risk/return decision. “Is going exclusively with AWS/azure/GCP etc a better decision in reliability, financial and mantainability terms than complicating the design to improve resiliency? And will this more complex solution actually improve reliability?”
- eknkc 8y agoThis might be an unpopular opinion but, Going multi region on AWS should be safe enough. If a multi region, multi service meltdown happens on AWS, it will feel like most of the internet has gone down to a lot of users. Being such a catastrophic failure, I bet the service will be restored pretty fast, not in 3 days. You could go multi cloud though. But when half of the internet struggles to work correctly, I’d not feel too bad about my small business’ downtime.
- hacknat 8y agoYeah, AWS has never had a global outage, Google has had 2 now.
- jorams 8y agoI'm not sure where you get this idea, but AWS has definitely had global outages. 1.5 years ago there were massive global issues with S3, causing even their own status dashboard to malfunction. edit: I stand corrected. Apparently the S3 outage wasn't global, though its effects were. Meanwhile, this outage has only really been noticeable to ops teams, since it doesn't affect existing nodes or anything outside GKE. It's definitely concerning and the fix is taking far too long, but as far as global outages go the impact is relatively minor.
- eknkc 8y agoThat only affected buckets on us-east-1.
- mcqueenjordan 8y agoOn February 28th, 2017, S3 had issues in us-east-1, not globally. It just happens that most customers create their buckets in us-east-1. (It’s the default bucket creation region.)
- sascha_sl 8y agoCorrect, but quite a few AWS services are built on S3, and some apparently weren't using buckets per region.
- dabei 8y agoUsing Kubernetes is a good start. It should be easy to migrate your server between EKS and GKE. However data is trickier to move around. So you won’t be immune from all global outages.
- mey 8y agoFirst, determine your tolerance. How much does downtime per min cost you? How long can you be down? A lot of the time it may be cheaper to apologize to your customers than build a truly reliable system. Then start looking at points of failure and sort them based on severity and probability. Is your own software deployment going to generate more downtime per year than a regional aws outage? There are formal academic ways to determine what your overall availability is, but don't have those on hand. Suffice to say, it takes significant research, planning, execution, and testing to ensure a target availability. (See Netflix https://medium.com/netflix-techblog/the-netflix-simian-army-16e57fbab116 https://medium.com/netflix-techblog/the-netflix-simian-army-... ) if someone says they have 99.9% or better up time, they had better have proof in my mind (or a fat SLA violation payout) People outsource to cloud providers not because they are cheap, but because managing infra in house is hard. Also move fast and break things. Read AWS docs about availability, there are availability zones in a region, spread across those to minimize impact. Then test when something goes down. Fix/repeat.
- gaius 8y agoIf all your competitors are down too, the equation changes, no?
- arachnophobe 8y agoYep - If all my competitors are down the equation changes such that I _definitely_ want to be up. Any trade comes to me if it's urgent, and I appear more professional as I've got a functioning system. I might be an chancer running my entire system off an shoestring but being up when everyone else has taken a dive looks good.
- devonkim 8y agoPeople outsource to cloud providers because building / hiring / maintaining a team of decent engineers that provide a baseline industry bar of SLAs, SLOs is much more expensive than the eye watering costs of most cloud providers at even a IaaS level. Opex is tough. Most companies I’ve been at don’t offer multi region support for their services because it’s too expensive for the service provided even in so-called “price insensitive” enterprises (you can’t just make up a price that’s huge, they do have budgets still) and most of their customers are unwilling / unable to pay more for the extra availability. If your software is designed from the start better, multi region failovers should be fairly inexpensive though. But all the bolted on “multi region” software I’ve seen has been hideously expensive and oftentimes less reliable due to the design being soundly not able to tolerate failures well.
- viraptor 8y ago> What would a small business do as a contingency plan? Depends on your definition of small. If it's small enough not to have a dedicated infrastructure team designing multicloud solution, then the contingency plan may be: switch DNS to a static site saying "we're down until AWS fixes the issue, check back later". Otherwise it depends on your specific scenario, your support contracts, and lots of other things. You need to decide what matters, how much the mitigation costs vs downtime, and go from there.
- aviv 8y agoWe invested early in being multi-region on GCP as well as multi-cloud with AWS as a fully redundant option if it ever became necessary to fail over to them.
- adevx 8y agoPaying off big-time now :-)
- aviv 8y agoIt sure did. It took us about a minute to fully fail over to AWS, and we are running there now for the rest of the day. We will promote GCP to be the primary cloud again tonight. Without our multi-cloud set up we would have been down for over an hour. In our business this is not an option.
- user5994461 8y agoYou need to have a secondary location for backups, not AWS. Stores copie of customer data, orders, accounts, balances and anything that is critical to the business. If AWS ever screws up, you will be able to continue running the business even if it might take weeks to start over. For live redundancy, you should have a secondary datacenter on another provider, but realistically it's hard to do and most business never achieve that. Instead, just stick with AWS and if there is a problem the strategy is to sip coffee while waiting for them to resolve it. Much better this way than you having to fix it yourself.
- tanilama 8y agoUnpopular opinion: very little perhaps. You have to make sure all your your 3rd party dependencies have the same contingency plan as you do, but I guess it is going to be difficult to even figure that out...
- Mtinie 8y agoMulti-Cloud-Service-as-a-Service application redundancy wrappers. I wish I was only being tongue-in-cheek.
- halbritt 8y agoMy entire production infrastructure is in GCP. What happened here has caused approximately zero impact to the availability of my service.