CLOUD CONCEPT

Pilot Light

Pilot light is a disaster recovery strategy that keeps essential components and replicated data ready in a recovery environment while leaving most application capacity inactive until needed.

Cloud Concepts Hub →

What is Pilot Light

A pilot light environment maintains the minimum foundation required to rebuild a production workload after a disaster, typically including continuously replicated data and predefined infrastructure. It balances ongoing cost against recovery speed, usually recovering faster than backup and restore but requiring more activation work than warm standby.

Pilot light is a disaster recovery strategy in which a small, essential part of a workload remains operational in a recovery location. The name refers to a small flame that can ignite a larger system when needed. In cloud architectures, that essential core commonly includes replicated databases or a replication staging environment, while application servers and other production components are stopped or deployed only during recovery. The recovery environment is not normally ready to serve the full application without additional actions.

Start by defining the recovery time objective, or RTO, and recovery point objective, or RPO. RTO is the target maximum time to restore service after disruption. RPO expresses the acceptable amount of data loss measured in time. Pilot light can support a low RPO through ongoing replication, but asynchronous replication can still lose recent writes. Its RTO includes incident detection, recovery authorization, data promotion or recovery, infrastructure provisioning, application startup, validation, and traffic redirection. Neither objective is guaranteed simply by selecting this strategy.

For example, an online retailer might operate its production application in one cloud region and maintain a replicated database in another. Network definitions, machine images, application artifacts, configuration, and infrastructure templates are prepared for the recovery region. Application compute remains absent or stopped. During a regional outage, an automated workflow promotes the recovery database, launches application instances, configures their database endpoints, verifies checkout transactions, and redirects customer traffic. Database promotion and compute provisioning should follow a tested dependency order.

The distinction from other disaster recovery strategies is important. Backup and restore primarily rebuilds from stored recovery copies rather than maintaining an operational replicated core. Warm standby maintains a scaled-down but functional copy of the complete workload that can already handle traffic at reduced capacity. Active-active operates the workload in multiple locations serving production traffic. Pilot light generally costs less than warm standby because less infrastructure runs continuously, but it usually requires more recovery work and a longer RTO. These are relative trade-offs, not fixed recovery-time guarantees.

Infrastructure as code and recovery automation make pilot light practical. Engineers should prepare identity permissions, encryption-key access, network connectivity, secrets, certificates, software artifacts, and service quotas in the recovery location. A database replica alone does not make an application recoverable. Available compute capacity must also be considered: a quota increase permits resource creation but does not reserve physical capacity.

Replication is not a substitute for backups. Accidental deletion, corruption, or malicious changes can propagate into the recovery environment. Retain independently recoverable backups, use appropriate retention and protection controls, and test point-in-time recovery where supported. On AWS, AWS Backup can complement the replicated core with protected recovery points, but scheduled backup copies alone do not constitute a pilot light architecture.

Run recovery exercises that measure application-level results rather than just successful resource creation. Check replication lag, restore or promotion duration, capacity availability, dependency connectivity, and the effect of DNS caching on traffic cutover. Prevent simultaneous conflicting writers by isolating the original primary before enabling recovery writes. Finally, document failback: recovering in a second region does not automatically synchronize changes back to the original environment or make the return transition safe.

Key aspects of Pilot Light

Pilot light combines a minimal operational core, replicated data, and tested activation procedures to balance recovery objectives against ongoing infrastructure cost.

Minimal operational recovery core

Keep essential stateful components or a replication staging environment running in the recovery location. Leave most application capacity inactive until recovery is initiated.

Replication aligned with RPO

Choose replication mechanisms that support the workload's acceptable data-loss window, and monitor their lag and health. Asynchronous replication does not guarantee zero data loss.

Activation aligned with RTO

Measure the complete recovery workflow, including detection, authorization, provisioning, data recovery, application validation, and traffic cutover. Use those measurements to determine whether pilot light meets the business requirement.

Repeatable infrastructure and recovery automation

Maintain versioned infrastructure definitions, deployable artifacts, and tested recovery workflows. Prepare regional dependencies such as permissions, encryption keys, secrets, and quotas before an incident.

Cost versus readiness trade-off

Reduce ongoing compute costs by not running a complete application stack in the recovery location. Account for continuing replication, storage, database, and testing costs, as well as the extra work needed to activate service.

Independent backups and tested failback

Keep recoverable historical copies because replication can propagate damaging changes. Exercise both recovery and the eventual return to the preferred operating location, including write isolation and data synchronization.

Cloud services for Pilot Light

Amazon RDS cross-Region replicas or AWS Elastic Disaster Recovery can maintain recoverable workload data while most application compute remains inactive. AWS CloudFormation defines the infrastructure needed to activate the recovery environment, and Amazon EC2 supplies compute capacity when recovery begins. After data recovery and application validation, Amazon Route 53 can direct users to healthy recovery endpoints. AWS Backup provides historical recovery points for failures that replication cannot safely address, such as propagated corruption. Engineers must connect these capabilities through tested orchestration, appropriate permissions, monitoring, and explicit failover and failback procedures.

Amazon RDS image Amazon RDS

For supported database engines and configurations, cross-Region read replicas can maintain the data tier of a pilot light environment. Recovery includes promoting the replica, updating application connections, and validating data; asynchronous replication means recent transactions may be missing.

Open Amazon RDS →
AWS Elastic Disaster Recovery image AWS Elastic Disaster Recovery

Continuously replicates source-server block-level data into a staging area in the recovery Region. Recovery launches usable instances from the replicated data, supporting a pilot light-style approach without continuously running full recovery servers.

Open AWS Elastic Disaster Recovery →
AWS CloudFormation image AWS CloudFormation

Defines recovery infrastructure as version-controlled templates so missing application resources can be provisioned consistently. Templates must account for regional dependencies and be exercised regularly rather than assumed to work during an outage.

Open AWS CloudFormation →
Amazon EC2 image Amazon EC2

Provides application instances that can be launched or started during recovery using prepared images and launch templates. Recovery planning must address instance availability, quotas, configuration, and the time required to reach usable capacity.

Open Amazon EC2 →
Amazon Route 53 image Amazon Route 53

Can redirect DNS traffic to the recovery environment after its application endpoints are ready. Health checks and routing policies assist cutover, but they do not provision the missing application stack, and DNS caching affects transition time.

Open Amazon Route 53 →
AWS Backup image AWS Backup

Adds scheduled recovery points, retention policies, and supported cross-Region or cross-account backup copies alongside replication. It protects against scenarios requiring an earlier recovery point, but backup management alone does not establish a pilot light environment.

Open AWS Backup →