CLOUD CONCEPT

Warm Standby

Warm standby is a disaster recovery strategy that keeps a scaled-down, functional copy of a production environment running in a separate recovery location.

Cloud Concepts Hub →

What is Warm Standby

The recovery environment maintains current application components and replicated data, but normally has less capacity than the primary environment. During a disaster, engineers promote data stores where necessary, increase capacity, and redirect traffic, balancing recovery speed against the cost of keeping duplicate infrastructure running.

Warm standby keeps a complete, working version of a workload running at reduced capacity in a separate recovery location, often another cloud Region. The standby includes the application tiers, networking, data stores, and supporting dependencies needed to provide service. Unlike an environment assembled only after an outage, it can already process requests at a limited scale, although it does not normally serve production traffic.

The defining distinction is functional readiness rather than full production capacity. A pilot light typically keeps essential components, particularly data replication, running while other application infrastructure must be started or deployed during recovery. Warm standby has the application environment running already; recovery focuses on promoting writable data stores, scaling resources, validating readiness, and shifting traffic. Backup and restore generally requires more reconstruction, while active-active runs multiple locations that normally serve production traffic. These strategies offer different cost, complexity, and recovery characteristics rather than interchangeable labels.

Recovery objectives should determine the design. Recovery time objective, or RTO, is the maximum acceptable time to restore service after disruption. For warm standby, this includes incident detection, the decision to fail over, database promotion, capacity expansion, and traffic redirection. Recovery point objective, or RPO, is the maximum acceptable amount of data loss expressed as time. Asynchronous replication can leave recent writes unavailable in the recovery location, so a running standby does not imply zero data loss. Neither RTO nor RPO is guaranteed by choosing the strategy; both require measurement through realistic exercises.

For example, an online ordering application might run its primary environment in one Region and a smaller application fleet with a replicated database in another. The standby receives application updates and configuration changes alongside production. After a primary-region failure, operators assess replication lag, prevent conflicting writes where possible, promote the recovery database, scale the application fleet, test critical transactions, and redirect clients. If the design permits limited service before scaling completes, recovery can be staged, but restoring full production capacity remains part of the recovery plan.

Capacity and dependencies are common sources of failure. A configured scaling policy does not guarantee that instances will be available during a regional incident. Teams should check service quotas, instance availability, database scaling constraints, startup times, and any need for capacity reservations. Recovery also depends on certificates, secrets, encryption keys, identity permissions, container images, external integrations, and connectivity being available independently of the failed location. DNS failover can help redirect clients, but caching and existing connections can delay the transition.

Warm standby costs more than backup and restore or a minimal pilot light because application resources and data replication run continuously. It usually costs less than maintaining multiple fully provisioned production environments. Replication does not replace backups: accidental deletion, corruption, or malicious changes may propagate to the standby. Maintain protected recovery points, rehearse failover under representative load, and document failback, including data synchronization and controlled traffic movement. High availability across Availability Zones can complement this strategy, but does not by itself provide recovery from a regional outage.

Key aspects of Warm Standby

Warm standby combines a running secondary environment, replicated data, and tested scaling and failover procedures to balance recovery speed with ongoing cost.

Running, reduced-capacity environment

Keep all essential application tiers operational in the recovery location, rather than deploying them only after a disaster. Size the standby to support validation and limited operation, with a tested path to production capacity.

Data replication with explicit RPO

Replicate databases and other persistent state according to the workload's acceptable data-loss window. Monitor replication lag and understand which acknowledged writes could be lost during an unplanned failover.

Measured recovery time

Include detection, authorization, promotion, scaling, validation, and traffic switching when measuring RTO. Test the complete recovery procedure rather than treating resource startup time as the recovery time.

Controlled failover and failback

Use a runbook or tested automation to establish the recovery location as authoritative and avoid conflicting writers. Plan how to synchronize data and return traffic after the original location becomes usable.

Configuration and dependency readiness

Keep application versions, infrastructure definitions, permissions, and regional dependencies aligned. Verify that recovery does not require access to services or artifacts available only in the failed location.

Cost and readiness balance

Accept ongoing standby and replication costs to reduce the work required during an outage. Retain independent backups because a replicated environment may also receive destructive or corrupting changes.

Cloud services for Warm Standby

EC2 and EC2 Auto Scaling provide a running application fleet that can expand during recovery. RDS replication maintains a secondary database where supported, while S3 replication copies required objects. CloudFormation helps keep both environments structurally consistent, with regional configuration and capacity differences managed explicitly. Route 53 redirects clients once the recovery environment is ready. These services do not constitute an automatic recovery guarantee: the runbook must coordinate database promotion, scaling, dependency checks, and traffic changes. Regular exercises should measure replication lag, application readiness, recovery time, and the ability to fail back safely.

Amazon EC2 image Amazon EC2

EC2 instances can host a reduced-capacity application environment in a recovery Region. Keep the required application tiers running and validate instance launch dependencies and capacity availability before relying on expansion during an incident.

Open Amazon EC2 →
Amazon RDS image Amazon RDS

For supported engines and configurations, cross-Region read replicas can maintain a database copy for recovery. Promotion and application connection changes must be included in the failover procedure; asynchronous replication means recent writes may be lost.

Open Amazon RDS →
Amazon Route 53 image Amazon Route 53

DNS failover routing and health checks can direct clients toward a recovery endpoint. Coordinate routing with database promotion and application readiness, and account for DNS caching rather than assuming every client switches immediately.

Open Amazon Route 53 →
Amazon EC2 Auto Scaling image Amazon EC2 Auto Scaling

Auto Scaling groups can maintain a small running fleet and increase desired capacity during recovery. Scaling requires suitable quotas, launch configuration, available capacity, and enough time for instances to become healthy.

Open Amazon EC2 Auto Scaling →
Amazon Simple Storage Service image Amazon S3

S3 Cross-Region Replication can copy application objects to a recovery Region, with replication rules and lag affecting recovery readiness. Destination permissions, encryption access, and application bucket references must also be prepared.

Open Amazon S3 →
AWS CloudFormation image AWS CloudFormation

CloudFormation templates can define consistent infrastructure for primary and recovery environments while allowing different capacity settings. Deploy and maintain the standby in advance; a template alone is not a running warm standby.

Open AWS CloudFormation →