Skip to main content

Cross-Region Pilot Light Architecture Implementation

 

1. Project Overview

  • AWS Customer Name: SabioPay
  • AWS Partner Name: Techpartner
  • DR Strategy: Pilot Light
  • Industry: FinTech / Payment Acquirer
  • Workload: Mission-Critical Payment Processing & Merchant Onboarding

Customer Overview

Sabio Pay specializes in payment solutions that cater to a wide range of financial needs. Their platform allows you to make instant payments, manage transactions, and monitor your finances—all in one place. With intuitive features and robust security measures, they ensure that your money is always safe and your transactions are always seamless. 

2. Customer Challenge

SabioPay operated its core payment platform in a single AWS region (ap-south-1 Mumbai). As a critical payment acquirer handling digital checkout flows, merchant onboarding, and external bank integrations (specifically Jio Bank), any regional outage posed a catastrophic risk to merchant operations and financial settlement cycles.

Specific Challenges:

  • Single Region Dependency: An outage in Mumbai would halt transaction processing and merchant onboarding, leading to immediate revenue loss and a catastrophic breach of Jio Bank SLAs.
  • Strict Financial RPO: Regulatory mandates and transaction ledger reconciliation loops required an aggressive 15-minute Recovery Point Objective (RPO) to avoid manual bookkeeping discrepancies.
  • Banking Handshake Continuity: External banking partners (Jio Bank) utilize strict IP whitelisting; recovery required a strategy to maintain whitelisted connectivity paths without manual re-configuration delays.
  • Cost Optimization: With a primary infrastructure baseline of approximately $1,350/month, the business required a highly resilient solution but needed to minimize idle compute costs, strictly avoiding a heavily provisioned Warm Standby replica.

3. Partner Solution

Techpartner designed and implemented a Cross-Region Pilot Light architecture. This strategy was selected as the most cost-effective path to meeting SabioPay’s strict 15-minute RPO and 30-minute RTO targets by maintaining a live data layer while keeping the compute resources fully dormant in Hyderabad (ap-south-2).

Technical Architecture & Implementation

The solution maintains an ‘Always-Live’ data sync core while the rest of the application tier and helper resources are fully provisioned via Terraform but kept in a stopped, scaled-down state within a single AWS account.

A. Cross-Region Data Persistence

Techpartner implemented centralized continuous protection for the following resource types:

  • Amazon RDS (MySQL): Configured an active Cross-Region Read Replica in ap-south-2, providing continuous asynchronous transaction log streaming to meet the 15-minute RPO. This is the only resource kept actively running in the DR region.
  • Amazon EBS (SFTP Data Tier): Dynamically isolates stateful file layers by using Amazon Data Lifecycle Manager (DLM) to automate hourly snapshot copies to the secondary region, deliberately avoiding the overhead of AWS Backup.
  • S3 Buckets: Asynchronous Cross-Region Replication (CRR) with Versioning enabled for merchant onboarding documents and secure SFTP file payloads.

B. Automated Regional Recovery via Terraform & CodeDeploy

To guarantee the 45-minute RTO, Techpartner engineered a modular Terraform library that manages the regional environments. All infrastructure resources (VPC, subnets, Security Groups, IAM Roles, ALB, Auto Scaling Groups, and CodePipelines) are pre-created via Terraform and kept in a fully stopped/scaled-down state. If any core AMI changes occur in the primary region, the updated Golden AMIs are systematically copied cross-region to redefine the dormant fleet for future checkouts.

During a disaster failover, the Techpartner DevOps team triggers the activation which:

  • Programmatically promotes the active RDS cross-region read replica to standalone primary status.
  • Executes a Terraform script to instantly start the static helper instances (SFTP, OpenVPN, monitoring) and scale up the application Auto Scaling Groups.
  • Maintains pre-allocated, banking-whitelisted Elastic IPs (EIPs) on NAT Gateways to instantly re-establish secure Jio Bank API and SFTP connections.

Following instance ignition, the independent regional AWS CodePipeline triggers CodeDeploy to execute a fresh codebase deployment, pulling application packages from the replicated S3 buckets to spin up the latest Java and Laravel microservices across the newly active instances.

4. High-Level and Technical Detail of AWS Services Used

  • Amazon RDS: Utilized for continuous cross-region read replication and rapid database promotion to standalone primary.
  • Amazon Data Lifecycle Manager (DLM): Orchestrates automated hourly cross-region EBS snapshots for the stateful SFTP tier without overarching backup tools.
  • Terraform (IaC): Primary tool for managing deployment environment configuration, maintaining stopped-state environment parity, and executing scaling state changes.
  • AWS CodePipeline & CodeDeploy: Fully decoupled CI/CD deployment mechanisms running independently in the recovery region to automate codebase deployment across scaled EC2 fleets upon recovery activation.
  • Amazon CloudWatch & EventBridge: Monitors real-time replication lag metrics and triggers automated alerts if database sync time exceeds acceptable thresholds.

5. Outcomes and Quantitative Results

The Pilot Light implementation was validated through a formal, full-scale DR Game Day simulation on June 15, 2026.

Quantitative Metrics:

  • RPO Achievement: Verified data freshness at a consistent 35 seconds (well within the 15-minute target) via active RDS replication logs.
  • RTO Achievement: Full infrastructure ignition, instance start/scale-up, and live transaction processing achieved in 30 minutes (Target: 45 minutes).
  • Cost Efficiency: With a primary monthly bill of ~$1,350, SabioPay secured approximately $800/month infrastructure cost savings by holding all EC2 compute capacities strictly in stopped/scaled-down states via Terraform until disaster activation.
  • Operational Confidence: Successfully restored external Jio Bank handshakes immediately through pre-allocated EIP configurations without manual configuration lag.

6. Conclusion

By combining AWS’s native continuous replication mechanisms with Terraform-driven zero-scale computing, Techpartner successfully transitioned SabioPay to an audit-ready, highly resilient active-passive state. The Pilot Light strategy provides an elegant architectural balance—eliminating heavy idle infrastructure costs to save $800/month while guaranteeing that SabioPay can recover from a total Mumbai regional failure within minutes, protecting both merchant onboarding revenue and Jio Bank integration compliance.