← Compendium

Availability doesn’t come out of the box

When email at Microsoft stalls for a day and a half and a data centre in Bahrain is simply gone after an attack, an uncomfortable question suggests itself: how is a team of twenty supposed to be more available than the biggest names in the industry? The good news is that it doesn’t have to be.

On the evening of 12 November 2026, email stopped arriving at companies around the world. Exchange Online, Teams and SharePoint were disrupted, and it took about a day and a half before Microsoft reported normal service again. Anyone who runs systems themselves sees an outage like this less as a scandal than as a reminder of how demanding it is to operate platforms of that size. Behind them are experienced teams who do nothing else, and still not every failure in a system that large can be foreseen.

According to the analyses published so far, the cause lay in the redundancy itself: the switch from the primary to the secondary group of network gateways did not succeed. The fallback route was there; it just did not take over at the moment that mattered. That is not a failing of one particular provider, because handing over to emergency operation is the most delicate moment in any system, as it is the part that can least often be tried under real conditions. Keep that thought in mind, because it comes back later in this article.

Even the best go down

AWS, Azure and Google Cloud set standards for availability and service quality that an ordinary company with its own server room cannot come close to. They run redundant power feeds, their own fibre networks and teams who do nothing around the clock but keep operations stable. Even so, the outages of recent months show that one hundred percent availability is out of reach there as well.

That raises a question every small product company should honestly ask itself at some point: how is a business many times smaller than Microsoft supposed to deliver better availability and security? The sober answer is that on its own, it probably cannot. That is less discouraging than it sounds, because it is not its job in the first place.

Safe, fast and cheap do not come out of the box in the cloud. What you get is access to the building blocks to build them yourself.

That is where the real value of the big providers lies. They spare you from building data centres, power supply and networks, and they give you a system in which you can protect your application according to your own requirements. How far you go is up to you. AWS makes a good example; Azure and Google Cloud work with very similar concepts under slightly different names.

The region is the first decision

The first choice is usually made for legal rather than technical reasons. Many customers require their data to stay in the EU, and some even insist on a location in Germany. At AWS that means the Europe (Frankfurt) Region, technically eu-central-1, which is one of the oldest and most fully equipped regions in Europe.

If you have to go one step further, there has been an additional option since January 2026. AWS launched the European Sovereign Cloud with a first region in Brandenburg. It is physically and logically separate from the other regions and designed to be operated exclusively by staff residing in the EU. For most small product companies Frankfurt is the obvious choice, while for regulated industries the sovereign variant can be decisive.

The second consideration is easily overlooked: not every region offers the full range of services, and the differences often only show in the details. Amazon SES sends email from eight European regions, but receiving email does not work in Zurich or Spain. And if you want to use Kiro with its data kept in Europe, you end up in Frankfurt as well. Before a region is settled, it is therefore worth checking that every service the product needs today, and will need a year from now, is available there.

Three data centres instead of one

Choosing the region only settles half of it, though. Every AWS region consists of several Availability Zones, AZs for short, and Frankfurt has had three of them since 2017. An Availability Zone is not a single server room but a separate site made up of one or more data centres that shares no infrastructure with the other zones in the region.

AWS itself describes how seriously this separation is meant: the zones of a region are up to about 100 kilometres apart, share neither generators nor cooling and are fed from different power substations. At the same time they are linked by redundant, dedicated fibre so closely that data can be mirrored between them synchronously with a latency of a few milliseconds.

The classic reason for building it this way is the proverbial backhoe that cuts through a power cable on a construction site. All the big providers have redundant power feeds, so the example is deliberately blunt, but the point should be clear. If one data centre drops out, for whatever reason, there are still two more. If you have spread your data and services across them, losing a zone does not cause downtime, at most an entry in your monitoring.

The effort is smaller than many expect, because the managed services already bring a large part of it with them. DynamoDB automatically replicates every item across several zones and scales on its own, so the hard problem of keeping data in sync and scaling across zones never lands on your desk. Similarly, S3 stores objects across several zones by default. Where you run servers or containers yourself, a load balancer spreads them across all three zones, and a relational database runs as a Multi-AZ deployment with a standby instance in a second zone.

When it is more than a backhoe

Availability Zones protect against local events: a fire, a power cut, a flooded hall. What they do not cover is an event that hits an entire region at once. For a long time that was seen as a rather theoretical case, and recent months have shown that it is real.

In March 2026, drone strikes hit AWS data centres in the United Arab Emirates and in Bahrain, and AWS asked its customers at the time to move their resources to other regions. The real lesson followed in September. AWS announced that data held exclusively in the Bahrain region cannot be recovered, because the damage had affected several Availability Zones at once and so went beyond what regional and Multi-AZ services are designed to withstand. In the Emirates, one of the three zones was affected.

Shortly afterwards, in October 2026, drones hit several Yandex data centres within a few days, in Sasovo, Kaluga and Vladimir. According to the company, Yandex recovered 97.16 percent of the affected customer data; the rest is lost.

Cases like these are rare, and for a product running in Frankfurt a comparable scenario is very unlikely. They do show very clearly where the boundary of a single region lies. It is not only the backhoe driver who can cause trouble, and a region only protects against certain local events. Anyone whose data lived exclusively in one region had no second chance when it mattered. Anyone who had a copy elsewhere could start again.

Backups belong somewhere else

This leads to the most important step, which is also the cheapest: the backups do not live in the same region as production. If the product runs in Frankfurt, a copy of every backup goes to Ireland, for example. AWS Backup handles this with a regular, automatic copy into a backup vault in the target region, without anyone having to remember it.

It becomes more robust still when that vault sits in an account of its own, where only very few permissions to write and delete exist. A backup in the same account as the original does not protect you in the case where exactly that account is compromised or operated by mistake. How to fit such a backup account sensibly into your account structure is what we show in Splitting AWS accounts sensibly.

The second region costs money, for storage and for transferring data between regions. For a typical small product this stays within a deliberate, manageable investment that you set up once and then let run. Compared with what a complete loss of data costs, it is almost always the cheapest item on the list.

Rebuild rather than restore

A backup in Ireland is only half the insurance, though. The data is safe, but where do you restore it to when the environment it lived in no longer exists? Networks, databases, containers, permissions, certificates and DNS records have to come into being again somewhere, quickly, and without anyone trying to remember clicks made in the console two years ago.

The benefit of IaC does not wait for a disaster. The same description that builds a new region in an emergency produces development, staging and production as environments of the same kind in everyday work. That takes dull repetition off the team and frees their heads for the questions that genuinely need judgement. We work with separate environments and checking pipelines on every product, and it is exactly this routine that carries you when it counts.

That leaves the last building block, and this is where the thought from the beginning comes back. If switching to the fallback route is the most delicate moment even for the biggest players, that holds all the more for a small team. A recovery plan that has never been rehearsed is like a fallback route nobody knows will take over when it matters. Anyone who has walked through a restore once with a backup from staging knows whether the path holds and finds the gaps calmly rather than under pressure. Write the steps down where the team will find them; how an operations handbook grows with every drill and every incident is what we describe in An operations handbook that writes along.

An emergency in four phases

How the building blocks work together is easiest to show as a sequence. In normal operation, production runs in Frankfurt, spread across all three Availability Zones. Every night a locked copy of the backups goes to a separate backup account in Ireland. A third region is prepared as a fallback target but not yet in use.

Frankfurt · production AZ a App + data active AZ b App + data active AZ c App + data active Data spread across all three zones daily copy Ireland · backup copy, locked own account Fallback region e.g. Stockholm, prepared
Phase 1, normal operation: production is spread across three zones, and the backup sits in another region and an account of its own.

Then one Availability Zone fails, whether through a fire, a power cut or the proverbial backhoe. The two remaining zones take over, because the load balancer, the database and the managed services reroute traffic automatically. At best, customers notice nothing; the team gets an alert and, the next day, a review.

Frankfurt · production AZ a App + data takes over AZ b App + data fails AZ c App + data takes over Customers notice nothing daily copy Ireland · backup copy, locked own account Fallback region e.g. Stockholm, prepared
Phase 2, a zone fails: the other two carry operations, because data and services were spread out from the start.

Some time later the backup region itself becomes unreachable. Production keeps running untouched, because it does not depend on the backup. The situation only becomes risky if nobody reacts now and production runs for days without a fresh off-site copy. So the target of the copies is switched to the prepared fallback region, and because that too is a single line of code, it takes minutes rather than days.

Frankfurt · production AZ a App + data active AZ b App + data active AZ c App + data active Production keeps running unchanged Ireland · backup unreachable switched Stockholm · backup new target for copies locked, own account
Phase 3, the backup region fails: production notices nothing; only the target of the copies is switched to the prepared fallback region.

That leaves the case nobody wants to live through and for which all the preparation pays off: production itself is gone, because the region is unavailable or an attacker has made the environment unusable. Now IaC and backup work hand in hand. The pipeline rebuilds the entire environment, in the same region once it is reachable again, or in a completely different one such as Paris. Then the data is restored from the last locked copy, and the DNS record points to the new environment. The business recovers because everything it needs exists in another place and the way back has been walked before.

Frankfurt Production unavailable Backup · Ireland last locked copy Infrastructure as code in Git, outside the region Data Build New production in Frankfurt or e.g. Paris AZ a rebuilt AZ b rebuilt AZ c rebuilt Pipeline builds, backup fills
Phase 4, rebuild: production is recreated from code and the locked backup, in the same region or in a completely different one.

It is no coincidence that the last step hinges on a DNS record. If you do not have your domain and the access to it firmly under control, you can build the new environment but cannot send anyone there. Why this is so often underestimated is what we explain in DNS is massively underestimated.

Where to start

Nobody has to do all of this at once, and the order almost sorts itself out if you ask yourself a single question: what happens if, tomorrow morning, the region your production runs in is no longer there? The honest answer usually shows straight away which building block comes next.

  • Check that everything really is spread across several Availability Zones. A single database instance or a single NAT gateway in just one zone are the most common silent bottlenecks.
  • Set up an automatic, locked copy of your backups in a second region and an account of its own. It is quick to set up and protects against the worst case, losing your data for good.
  • Describe your infrastructure as code, step by step, starting with whatever would be hardest to rebuild by hand.
  • Restore a backup from staging as a trial run, so you know the way before you need it.

With these four steps, the question of whether your product can be more available than Microsoft turns into a far more useful one: whether it can reliably get back on its feet after an outage. That is a question you can answer with yes at reasonable effort, using exactly the building blocks the big providers already put at your disposal.

Frequently asked questions

Isn’t it enough that my provider promises 99.99 percent availability?

A promise like that applies to a single service, and above all it governs a credit if the target is missed. It says nothing about whether your application is built to survive the loss of a zone, and it does not replace data that is lost. Your product’s availability comes from your architecture on top of those services, not from the figure on their data sheet.

Do I need active operations in two regions straight away?

In most cases, no. Running actively in several regions is complex and expensive, because data has to be kept in sync over long distances. For a small product the better trade-off is almost always production spread across three zones of one region, locked backups in a second region, the environment described as code and a rehearsed recovery. That covers the very rare loss of a region with a short interruption instead of permanently doubled costs.

How far from Frankfurt should the backup region be?

It should be far enough away that an event hitting Frankfurt does not hit it too, while still meeting your legal requirements. For data that has to stay in the EU, Ireland, Paris or Stockholm are good candidates. Check beforehand that the services you need for recovery are available there, because not every region offers the same range.

What is the difference between an Availability Zone and a region?

A region is a geographic area such as Frankfurt with several Availability Zones. An Availability Zone is a separate site of one or more data centres with its own power and cooling, up to about 100 kilometres from the other zones but closely networked with them. The zones protect against local events; a second region protects against whatever hits an entire region.

Does a backup in another region also protect against ransomware?

It does only if it is immutable. An attacker who gains access to your account can delete ordinary backups just as easily as the originals, whichever region they are in. If the copy sits in an account of its own and is protected against deletion with a lock such as AWS Backup Vault Lock, it survives even when production is compromised.

We built our infrastructure by hand. Is IaC still worth it?

Yes, and you do not have to start from zero. Many tools can import existing resources, so you describe what is already running piece by piece. Start with whatever would be hardest to rebuild by hand, usually networking, permissions and databases. Every part you describe is one less that someone has to reconstruct from memory in an emergency.

Related topics