India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
AWSDecorative paints (dealer ordering portal)Manufacturing & Industrial

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

Amazon Web Services
01

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
02

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.

Aurora Global Database Mumbai → Hyderabad secondary → Step Functions runbook → Auto Scaling group 0 → 6 → smoke tests → Route 53 failover record
Amazon Aurora Global DatabaseAmazon S3 Cross-Region ReplicationEC2 Image BuilderAuto Scaling groupsAWS Step FunctionsAmazon Route 53
03

Implementation approach

Weeks 1-2 · State and config clean-upHard-coded endpoints were removed and every stateful component was mapped to a replication method.
Weeks 3-5 · Hyderabad foundation and replicationTerraform built the DR VPC and load balancer, Aurora Global Database was enabled and S3 replication seeded 2.3 TB.
Weeks 6-7 · Runbook and drillThe Step Functions runbook was built and a full failover drill ran on a Sunday morning with dealers notified.
04

Measured results

Measured recovery time
14 hours (manual rebuild)→52 minutes
Order data at risk
Up to 24 hours→Under 1 minute at drill time
Manual steps in recovery
About 60→3 approval gates
DR monthly run cost
INR 21,000 (snapshot copies)→INR 1.15 lakh

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
05

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.

06

Return on investment

ROI indicator

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.

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.