, , ,

Cloud Reliability, Backups and Disaster Recovery Explained (Cloud for Beginners, Part 15)

Reliability is a number, not a feeling. A plain-English guide to redundancy, backups, RTO and RPO, and the four disaster recovery strategies on AWS, Azure and Google Cloud.

Cloud for Beginners · Part 15 of 18
TL;DR

Reliability is a number you can measure, not a feeling. The cloud gives you the parts to build it: redundancy (a live spare), backups (a copy you can roll back to), and a recovery plan measured by two values, RTO and RPO. Pick the cheapest plan that meets those two numbers. A backup you have never restored is a guess, so test it.

Who this is for

Freshers and brand-new IT employees who keep hearing words like high availability, failover, redundancy and disaster recovery in standups and have been nodding along. No prior cloud background needed. By the end you will know what these words mean, how they differ, and how teams actually decide between them.

Picture a hospital. It runs on the city power grid like any building. But push through the basement door and you find a diesel generator, a room of batteries, and a fuel contract. None of that makes the hospital better at treating patients on a normal day. It exists for the ten minutes a year when the grid drops and a ventilator cannot wait. That basement is what reliability work looks like in the cloud. Most of the time it sits idle and costs money. The day it earns its keep, nothing else matters.

New engineers often assume the cloud is reliable by default, that Amazon, Microsoft and Google have somehow solved downtime for you. They have not. They give you the generator, the batteries and the fuel line. Wiring them up so your app survives a failure is still your job. This part shows you the pieces and how to think about them.

Reliability is a number, not a vibe

When a team says a service is reliable, they mean something precise: the share of time it is up and serving requests. That share is written as a percentage and people count the nines. 99.9 percent is three nines. 99.99 percent is four nines. Each extra nine sounds tiny but cuts allowed downtime by roughly ten times, and the cost of reaching it climbs fast.

Here is the part that surprises freshers. Those percentages translate into very human amounts of downtime per year.

How many nines buys how little downtime 99% (two nines) about 3.65 days down per year 99.9% (three) about 8.8 hours down per year 99.99% (four) about 53 minutes down per year 99.999% (five) about 5 minutes down per year
Each added nine shrinks the downtime budget by roughly ten times.

This is why providers publish a Service Level Agreement, or SLA: a promise of how many nines they will hit, with a refund if they miss. Note the word promise. An SLA is a credit on your bill, not a shield that keeps your app online. If a provider misses its 99.99 percent target, you get a small service credit, not your lost sales back. So the number you actually care about is the one your whole system delivers end to end, and that is usually lower than any single piece, because a chain of services multiplies their failure rates together.

Redundancy: the whole game is having a spare

Redundancy means running more than one of a thing so that one can die without taking you down. A car carries a spare tyre. A passenger jet has two or four engines and can land on fewer. Cloud systems work the same way: two web servers instead of one, a standby database copy that takes over if the main one fails, data written to more than one building.

The cloud makes this easier than it ever was on physical hardware, because the buildings are already there. In Part 8 we met Availability Zones, the physically separate data centres inside a region. Redundancy is what you actually do with them: spread your copies across zones so a power cut or flood in one building does not erase your service.

Load balancer Availability Zone A Availability Zone B App server App server DB primary DB standby replicate
Two zones, two copies of everything. If Zone A goes dark, traffic and the database keep running in Zone B.

The thing that bites people: single points of failure

A single point of failure is any one part that, if it dies, takes everything with it. You can have ten web servers across three zones and still go fully down because all of them talk to one database in one zone. The job is to walk the path a request takes and ask, at each hop, what happens if this one dies. The weakest link sets your real reliability, no matter how strong the rest is.

Each provider gives you ready-made redundancy for the hard parts. On AWS, an RDS database can run in Multi-AZ mode with an automatic standby in another zone. On Azure, you place virtual machines across Availability Zones and use zone-redundant storage. On Google Cloud, a regional persistent disk keeps a synchronous copy in a second zone. Same idea, three brand names.

Why this matters in your first job

In your first months you will not design reliability from scratch. But you will be asked questions like, is this service in more than one zone, or what happens if that database fails over. If you can read an architecture diagram and point to the single points of failure, you stand out immediately. Senior engineers do not expect you to fix it on day one. They are thrilled when a junior can simply see it.

Backups are not the same as redundancy

This trips up almost everyone at first, so slow down here. Redundancy protects you from a part breaking. Backups protect you from a mistake or an attack. They solve different problems and you need both.

Why both? Imagine someone runs a bad command and deletes a customer table. Your redundant standby database faithfully copies that deletion to the other zone in a fraction of a second. Now both copies are empty. Redundancy did its job perfectly and it did not save you, because the data was not broken, it was deleted on purpose by mistake. Only a backup, a frozen copy from before the delete, gets the table back. The same logic covers ransomware, a buggy deploy that corrupts records, or an accidental overwrite.

ConceptProtects againstDoes NOT protect against
RedundancyA server, disk or whole zone failingDeletes, corruption, ransomware (it copies the damage)
ReplicationSame as redundancy, near-instant copiesThe same human and software mistakes
BackupMistakes, corruption, ransomware, going back in timeAn outage right now (restoring takes time)
Redundancy keeps you up. Backups let you go back. Different tools for different disasters.

The 3-2-1 rule, still the best starting point

The old backup rule still holds in the cloud: keep three copies of your data, on two different kinds of storage, with one of them somewhere else. In cloud terms, that often means your live data, a backup in object storage like Amazon S3 or Azure Blob or Google Cloud Storage, and a copy of that backup in a second region. Cloud storage helps you here in one respect: object storage already writes your data across at least three separate buildings inside a region, which is how S3 is designed for eleven nines of durability, a figure that means losing a single object is expected about once in ten million years. Durability is about not losing data; it is not the same as your app staying online.

Real interview question

What is the difference between high availability and disaster recovery?

Answer it like this: high availability is about staying up through small, expected failures, a single server or zone dying, usually automatically and in seconds, inside one region. Disaster recovery is about coming back from a large, rare event, a whole region going down or data being destroyed, often by failing over to another region and often with a human pressing go. One is the spare tyre you never stop driving on; the other is calling the tow truck. Saying that out loud, with the region detail, shows you understand scale, not just the buzzwords.

RTO and RPO: the two numbers that decide everything

Every disaster recovery plan comes down to two questions the business has to answer first. They are not technical questions, they are about money and tolerance, and they drive every choice you make after.

RTO, Recovery Time Objective: how long can we be down before it really hurts? Minutes? Hours? A full day? RPO, Recovery Point Objective: how much recent data can we afford to lose? The last five minutes of orders? The last hour? Since yesterday? RPO maps directly to how often you back up or replicate. If you can lose at most one hour of data, you cannot back up only once a night.

Disaster strikes RPO last good backup RTO back online data you lose time you are down past future
RPO looks backward (data lost). RTO looks forward (time to recover). Smaller numbers cost more.

The four disaster recovery strategies

All three big providers describe the same spectrum of disaster recovery options. They differ in how fast you recover and how much you pay to keep a second site warm. Going from top to bottom, recovery gets faster and the bill gets bigger.

StrategyWhat runs in the second regionTypical recovery timeCost
Backup & restoreNothing, just stored backupsHoursLowest
Pilot lightCore data replicating, servers offTens of minutesLow
Warm standbyA small but live copy, ready to scale upMinutesHigher
Multi-site active/activeA full copy serving live trafficNear zeroHighest
The same four patterns appear on AWS, Azure and Google Cloud under similar names.
Cheaper, slower to recover Pricier, faster to recover Backup& restore Pilot light Warm standby Multi-siteactive/active
You are buying down recovery time with money. Match the strategy to the RTO the business needs, not to the fanciest option.

Each provider has tools that sit on this spectrum. AWS Elastic Disaster Recovery and AWS Backup cover the lower and middle tiers; Azure Site Recovery and Azure Backup do the same on Azure; Google Cloud offers its Backup and DR Service plus regional and multi-regional storage. You do not need to memorise the product names as a fresher. You need to know which rung of this ladder a given setup is standing on.

Worked example: pricing the spare

Say your production app runs on two small servers and a database, and it costs roughly 300 dollars a month to run. The business says it can tolerate two hours of downtime and one hour of lost data. That RTO and RPO rule out backup-and-restore (too slow) and do not require active/active (too costly). Pilot light fits: you replicate the database to a second region continuously and keep the application servers switched off there. Your extra cost is mostly the replicated storage and a tiny always-on footprint, perhaps 40 to 70 dollars a month, not a second full 300 dollar stack. When disaster hits, automation boots the dormant servers and you are back inside the two-hour window. The lesson: the right answer is usually not the most protective one, it is the cheapest one that still meets both numbers.

Try it yourself

On any provider free tier, create a small object storage bucket (S3, Azure Blob, or Google Cloud Storage), upload a text file, then turn on versioning. Edit the file and upload it again. Now open the version history and restore the older version. That is a backup and a point-in-time restore in two minutes, the simplest disaster recovery there is. To check it worked, download the restored object and confirm the old text is back. Bonus: try deleting the object with versioning on, and notice it leaves a delete marker you can undo, which is exactly the protection redundancy alone cannot give you.

The gotcha that ends careers, and my honest opinion

Gotcha

A backup you have never restored is not a backup, it is a hope. Teams discover on the worst day that the nightly job had been silently failing for weeks, or that the backup is there but nobody wrote down how to restore it, or that the restore takes nine hours when the RTO was two. The backup existing and the backup working are two different facts.

Here is where I will disagree with a lot of cloud marketing. Vendors love to sell multi-region, always-on architectures as the responsible default, and conference talks make active/active sound like the grown-up choice. For most teams, most of the time, that is overkill that drains budget and adds complexity you will struggle to operate. I would rather see a team run a simple pilot-light setup that they actually test every quarter than a glamorous multi-region design nobody fully understands and nobody has ever failed over to in anger. Tested-and-simple beats untested-and-sophisticated every single time. A recovery plan is only as good as your last successful rehearsal of it.

FAQ

Is the cloud automatically backed up for me?

No, and this assumption causes real data loss. Providers keep the infrastructure healthy and your storage durable, but they generally do not keep restorable backups of your application data unless you turn that on. The shared responsibility model means your data is your job. Enable backups and versioning yourself.

What is the difference between durability and availability?

Durability is the chance your data still exists later, the eleven-nines figure you see on object storage. Availability is the chance the service answers when you call it right now, usually three or four nines. Data can be perfectly durable and still unavailable for an hour during an outage. You care about both, for different reasons.

Do I need a second region, or are multiple zones enough?

For most everyday apps, spreading across availability zones inside one region handles the common failures and is far simpler. A second region is for surviving a rare event that takes out an entire region, or for meeting a legal or contractual requirement. Start with multi-zone; add multi-region when a real RTO or rule demands it.

How often should backups run?

Your RPO decides it. If the business can lose at most one hour of data, you need backups or continuous replication at least hourly. If losing a day is fine, a nightly backup is enough. Work backward from the tolerance, not from a habit.

What does failover actually mean?

Failover is the act of switching from the failed thing to its spare, redirecting traffic from a dead server or zone to a healthy one. It can be automatic (good systems fail over in seconds without a human) or manual (someone runs a procedure). The cleaner your failover, the closer you get to those extra nines.

Where this leaves you

Reliability stops being mysterious once you separate the three jobs: redundancy keeps you up through failures, backups let you travel back from mistakes, and a disaster recovery plan, sized by RTO and RPO, decides how fast and how completely you bounce back. The cloud hands you all three as building blocks. Your value, even as a fresher, is in seeing where they are missing. Find one app you can poke at, open its storage, turn on versioning, and restore a file. The first time you bring something back from the dead, this all clicks.

Your move this week: pick any service you have access to and ask the two questions out loud, what is our RTO and what is our RPO. If nobody can answer, you have just found the most useful thing a junior can surface.

Cloud for Beginners · Part 15 of 18
« Previous: Part 14  |  Complete Guide  |  Next: Part 16 »

References

About The Author


Discover more from Journal of Intelligent Infrastructure – By Dr Pranay Jha

Subscribe to get the latest posts sent to your email.

Leave a Reply

Your email address will not be published. Required fields are marked *

Architect’s Toolkit

About the Author

Dr. Pranay Jha is a Cloud and AI Consultant with 18+ years of experience in hybrid cloud, virtualization, and enterprise infrastructure transformation. He specializes in VMware technologies, multi-cloud strategy, and Generative AI solutions. He holds a PhD in Computer Applications with research focused on Cloud and AI, has published multiple research papers, and has been a VMware vExpert since 2016 and a VMUG Community Leader.

Discover more from Journal of Intelligent Infrastructure - By Dr Pranay Jha

Subscribe now to keep reading and get access to the full archive.

Continue reading