India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudPayments, payment aggregator and gatewayBFSI & Fintech

Payment gateway reaches a 22-minute regional failover between Mumbai and Delhi

RBI-authorised online payment aggregator, 900 merchants, 380 employees · Pan-India, primary operations in Mumbai · 10 weeks

Amazon Web Services
01

As-is situation

The gateway processed about 1.4 million transactions a day on GKE in asia-south1 with Cloud SQL for PostgreSQL Enterprise edition in a single zone. Its DR plan was a nightly pg_dump copied to a Cloud Storage bucket in the asia multi-region, which the compliance team flagged as a payment data localisation risk. A zonal incident during a festive sale stalled authorisations for 47 minutes while engineers rebuilt the database from the previous night's dump and replayed failed transactions from merchant callbacks. The RBI inspection checklist asked for a documented DR site, drill results and evidence that payment data never left India.

  • Single-zone Cloud SQL with no standby; a zonal event meant a full restore
  • Effective RPO of up to 24 hours from nightly dumps, against a business target under one minute
  • Backup copies in the asia multi-region conflicted with India-only storage of payment data
  • No DR drill had ever been run end to end
02

Selected Google Cloud services and architecture

NTSPL upgraded the database to Cloud SQL Enterprise Plus with high availability across two Mumbai zones and a cross-region DR replica in asia-south2. GKE moved to a regional cluster in Mumbai, with a smaller regional cluster in Delhi kept warm from the same Artifact Registry images through Config Sync. A global external Application Load Balancer fronts both, and Cloud DNS failover handles the merchant API hostname. Backup and DR Service now writes Cloud SQL backups to a regional vault in Mumbai with 35-day enforced retention, and the pg_dump bucket in the multi-region was deleted. Organization Policy restricts every location to asia-south1 and asia-south2.

Merchants → Cloud DNS failover → Global external Application Load Balancer → GKE regional cluster (Mumbai) → Cloud SQL Enterprise Plus HA → DR replica in asia-south2, with backups to a Mumbai backup vault
Cloud SQL for PostgreSQL Enterprise PlusBackup and DR ServiceGoogle Kubernetes Engine regional clustersGlobal external Application Load BalancerCloud DNSOrganization Policy Service
03

Implementation approach

Weeks 1-2 · Tiering and gap analysisClassified 14 services into tiers and measured write rates to size the Delhi replica.
Weeks 3-5 · Database resilienceUpgraded to Enterprise Plus with HA, built the Delhi DR replica and baselined lag at festive-sale load.
Weeks 6-8 · Application failoverStood up the Delhi GKE cluster, global load balancing and DNS failover, then automated replica promotion.
Weeks 9-10 · Drill and evidenceRan a full regional failover in a low-traffic window and produced the drill report for the RBI file.
04

Measured results

Database RPO for region loss
Up to 24 hours→Under 10 seconds measured lag
Regional failover RTO
Not tested→22 minutes in drill
Zonal failover impact
47-minute outage→Under 60 seconds of failed connections
Payment data copies outside India
1 multi-region bucket→0

Operational improvements

  • Replica promotion and DNS switch run from one approved Cloud Build pipeline instead of a 40-step wiki page
  • On-call receives replication lag alerts at 5 seconds, well before the 60-second RPO is at risk
  • Planned maintenance on the primary now uses near-zero downtime maintenance instead of announced merchant downtime
05

Cost considerations

Enterprise Plus edition and the Delhi replica were the main cost increase. The team bought a three-year committed use discount for the Mumbai primary but kept the Delhi replica on demand and one size smaller, accepting a short resize step during promotion. Cross-region replication traffic stayed below INR 15,000 per month.

06

Return on investment

ROI indicator

Indicatively, a single 47-minute outage during a sale cost the gateway about INR 38 lakh in lost merchant discount revenue and penalties. The resilient design adds about INR 3.2 lakh per month, so avoiding one comparable incident a year roughly covers the annual run cost, before counting the reduced regulatory risk.

Illustrative scenario: a composite based on typical NTSPL engagement patterns for this industry and service. It does not describe a named customer. The figures are indicative, and actual results depend on the workload, its scale and the commercial terms.