Sub topic 14
Comparing Cost and Complexity Across Strategies
This chapter assumes you know the four DR strategies (backup and restore, pilot light, warm standby, multi-site active/active). It also assumes you know RTO and RPO, and can read AWS CLI output and basic Python. The goal is to compare the strategies by what they cost to run and what they cost to operate, so you can justify a choice with numbers.
Cost has two parts
The bill for a DR strategy is the smaller part of its cost. There are two kinds of cost:
- Run cost is what AWS charges for the DR Region. It includes compute, databases, storage, data transfer, and supporting services.
- Operating cost is the engineering time to build, maintain, test, and execute the strategy. It does not show up on the invoice, and it often exceeds the run cost for the simpler strategies.
Cost and complexity both rise as recovery time falls. Backup and restore is cheap to hold and slow to recover. Active/active recovers almost instantly but costs about as much as a second production environment and adds hard data-consistency problems.
Run cost drivers
Idle compute
Compute is the largest line item in most designs, and it is the main thing that separates the strategies:
- Backup and restore runs no compute in the DR Region until you recover.
- Pilot light runs only a minimal core. Application servers are defined but stopped, or run at zero or near-zero count.
- Warm standby runs a complete but scaled-down fleet, often 10 to 50 percent of production capacity.
- Active/active runs full capacity in every Region, because each Region must absorb the other's traffic if one fails.
Reserved capacity discounts apply to the always-on baseline. Savings Plans cover the steady portion of a warm standby fleet. Pay-as-you-go pricing is better for the portion you scale up only during a disaster.
Databases
A database with a live replica is usually the second-largest cost, and pilot light already pays for it. A cross-Region Aurora secondary cluster or a DynamoDB global table keeps RPO low, but you pay for the replica's instances (or write capacity), its storage, and replicated writes. Backup and restore avoids this cost, but its RPO is bounded by backup frequency.
Storage
Backup storage grows with retention. Each cross-Region copy is a full additional copy of the backup data. S3 Cross-Region Replication and EBS snapshot copies add the same kind of cost. Lifecycle rules, such as the DeleteAfterDays setting in an AWS Backup plan, limit this growth. Retention that exceeds your compliance need is a common source of waste.
Data transfer
Replicating data between Regions is billed as inter-Region transfer, charged per GB leaving the source Region. This cost scales with your write volume, not with your database size. A write-heavy workload on a replicated database or global table can spend more on transfer than on the replica itself. Active/active also pays for cross-Region traffic whenever one Region calls a service in the other.
Supporting services
These costs are small, but they exist in every strategy that runs infrastructure in the DR Region. They include load balancers, NAT gateways, VPC endpoints, Route 53 health checks, Global Accelerator, and monitoring. A NAT gateway has an hourly charge even when no traffic flows through it, so a "dormant" environment that includes one is not free.
Operating cost and complexity drivers
| Driver | Backup and restore | Pilot light | Warm standby | Active/active |
|---|---|---|---|---|
| Data consistency | Restore from a point in time | Replica lags by seconds | Replica lags by seconds | Writes in several Regions can conflict |
| Configuration drift | Low (rebuild from code) | Medium (core is live, rest is code) | High (two live stacks to keep aligned) | High (same code and config must run everywhere) |
| Failover steps | Many, mostly manual | Several, scriptable | Few | None, or only a traffic shift |
| Failback | Rebuild and re-sync | Re-sync, then switch back | Re-sync, then switch back | Reintroduce a Region |
| Test frequency needed | Restore drills | Scale-up and promotion drills | Failover drills | Region-loss drills |
| Skills required | Backup and IaC | Replication and IaC | Replication, scaling, traffic | Distributed data design |
Some of these drivers deserve more detail.
Configuration drift. Any strategy with live resources in two Regions can drift. A security group, IAM policy, parameter, or AMI changed in production but not in the DR Region will fail the first time you rely on it. The standard defense is deploying both Regions from the same infrastructure as code pipeline, so DR is never updated by hand.
Capacity at recovery time. Pilot light and backup and restore both depend on launching capacity during a regional event, when many customers may do the same. If your RTO is strict, reserve capacity. On-Demand Capacity Reservations hold instances in the DR Region at the On-Demand price, whether or not you use them. This is a cost you add specifically to turn a cheap strategy's optimistic RTO into a dependable one.
Active/active data design. Running writes in more than one Region means choosing a conflict model. DynamoDB global tables resolve conflicting writes with last-writer-wins, so some updates are silently overwritten. Aurora global database has one writer Region at a time, so a second Region can only forward writes to it. Either way, the application may need changes such as idempotent writes, partitioning users by home Region, or conflict-tolerant data types. This is engineering work, not a configuration flag, and it is the largest single complexity jump in the chapter.
A simple cost model
Before you present a choice to stakeholders, estimate each strategy as a share of the production run cost. The script below does that. All prices and fractions are illustrative assumptions; replace them with figures from your own bill and the AWS Pricing Calculator.
from dataclasses import dataclass
PROD_COMPUTE = 10_000.0 # monthly production compute cost
PROD_DB = 6_000.0 # monthly production database cost
STORAGE_PRICE = 0.05 # cost per GB-month for backup storage
TRANSFER_PRICE = 0.02 # cost per GB of inter-Region transfer
@dataclass
class Strategy:
name: str
compute_fraction: float # share of production compute running in the DR Region
db_fraction: float # share of production database cost running in the DR Region
storage_gb: float # backup and replicated storage in the DR Region
transfer_gb: float # monthly data copied or replicated between Regions
def monthly_cost(self) -> float:
return (
self.compute_fraction * PROD_COMPUTE
+ self.db_fraction * PROD_DB
+ self.storage_gb * STORAGE_PRICE
+ self.transfer_gb * TRANSFER_PRICE
)
strategies = [
Strategy("Backup and restore", 0.0, 0.0, 20_000, 2_000),
Strategy("Pilot light", 0.03, 0.3, 20_000, 5_000),
Strategy("Warm standby", 0.3, 0.5, 20_000, 5_000),
Strategy("Active/active", 1.0, 1.0, 20_000, 10_000),
]
baseline = PROD_COMPUTE + PROD_DB
for s in strategies:
cost = s.monthly_cost()
print(f"{s.name:<20} {cost:>9,.0f} per month {cost / baseline * 100:>6.1f}% of production")With these inputs, the output is roughly 6.5, 20.0, 44.4, and 107.5 percent of production cost. The active/active figure exceeds 100 percent because it adds a second full environment plus transfer. In practice you would also add the fixed costs from the previous section, such as load balancers and NAT gateways.
Hidden costs that change the ranking
- Testing. An untested strategy does not meet its RTO. Budget for regular drills, and include the cost of the DR resources you launch during the test. Warm standby and active/active are cheaper to test because the environment already exists.
- Licensing. Some commercial software charges per core or per instance regardless of whether the instance serves traffic, which makes warm standby and active/active more expensive than the compute cost alone suggests.
- Compliance. Data residency rules can limit which Regions you may replicate into, which restricts your choices before cost is considered.
- People. Active/active needs engineers who understand multi-Region data. If your team does not have them, the salary or training cost belongs in the comparison.
Making the comparison
Use this sequence when comparing strategies for one workload:
- Write down the RTO, RPO, and the cost of one hour of downtime for the workload.
- Estimate run cost for each strategy that can meet the RTO and RPO. Discard the ones that cannot, however cheap they are.
- Add the operating cost: build effort, ongoing maintenance, and drills.
- Compare the total yearly cost of each remaining strategy with the expected loss from downtime.
- Pick the cheapest strategy that meets the targets, and revisit it when the workload or its business value changes.
Consider using different strategies for different tiers. A typical estate puts a small number of critical systems on warm standby or active/active and leaves most workloads on backup and restore or pilot light. Applying one strategy to everything either overspends on minor systems or underprotects the important ones.
Exercise
A workload has an RTO of 4 hours and an RPO of 15 minutes. Its production run cost is 20,000 per month. Name two cost drivers that make pilot light more expensive than backup and restore, and say which extra operating risk you should budget for to make the 4-hour RTO dependable.
Show answer
Pilot light adds a live database replica in the DR Region (instances or write capacity, storage, and replicated writes) and the inter-Region transfer cost of keeping it current. Backup and restore needs neither, but its RPO is limited by backup frequency, so it may not reach 15 minutes. Pilot light's RTO also depends on launching application capacity during a regional event. To make the 4-hour RTO dependable, budget for scripted scale-up and promotion drills, and consider On-Demand Capacity Reservations in the DR Region so the instances are available when you need them.
Exercise
A team proposes active/active for a payment service because "it has the best RTO." List two costs, one run cost and one operating cost, that the team must include before comparing it with warm standby.
Show answer
Run cost: full production capacity in every Region, plus continuous inter-Region transfer, which can bring the total to about double production cost. Operating cost: designing and testing multi-Region writes, for example handling last-writer-wins conflicts in DynamoDB global tables or forwarding writes to a single Aurora writer Region, which usually requires application changes and ongoing expertise.