India’s Leading Domain & Web Hosting Provider
Paints maker's dealer ordering portal recovers in 52 minutes from Hyderabad
Paints manufacturer with 9,500 dealers placing tinting-base and SKU orders through a web and mobile portal · AWS Mumbai (ap-south-1), DR in Hyderabad (ap-south-2) · 7 weeks
As-is situation
Dealers placed about 18,000 orders a day through the portal, which ran as a Java application on EC2 behind an Application Load Balancer with Aurora MySQL and S3 for invoices and shade cards. Orders fed the manufacturer's ERP for depot dispatch. DR consisted of daily Aurora snapshots and AMIs copied to Hyderabad. A rebuild drill a year earlier had taken 14 hours because the network, load balancer and secrets were created manually and two environment variables pointed at Mumbai resources. During the festive season, sales leadership estimated an outage cost about INR 6 lakh an hour in lost or diverted dealer orders.
- 14-hour measured rebuild from snapshots, against a business need of under 2 hours
- Up to 24 hours of orders at risk because the only cross-region copy was a daily snapshot
- Configuration drift: two hard-coded Mumbai endpoints broke the last DR rebuild
Approach, tools and architecture
NTSPL converted Aurora to an Aurora Global Database with a small secondary cluster in Hyderabad and enabled S3 Cross-Region Replication for invoices and shade cards. The Hyderabad VPC, ALB, ACM certificates, Secrets Manager replicas and IAM roles were created in Terraform. The release pipeline now builds AMIs with EC2 Image Builder and copies them to Hyderabad, updating a launch template for an Auto Scaling group sized at zero. All endpoints were moved to configuration resolved per region. A Step Functions runbook promotes the secondary, resizes it, scales compute to six instances, runs smoke tests and waits for approval before the Route 53 failover record is switched.
Implementation approach
Measured results
Operational improvements
- Every portal release now fails if its AMI is not available in Hyderabad
- The 52-minute drill timeline is used as the baseline, with each step's duration tracked quarterly
Cost considerations
The Aurora secondary on a smaller instance class makes up most of the INR 1.15 lakh monthly cost, with S3 replication and inter-region transfer the rest. Compute in Hyderabad is billed only during drills, around INR 8,000 per drill.
Return on investment
Against an estimated INR 6 lakh per festive-season hour, cutting a regional recovery from 14 hours to under one hour avoids about INR 78 lakh of lost orders in a single event, many times the annual DR run cost of roughly INR 14 lakh.