India’s Leading Domain & Web Hosting Provider
Payroll bureau cuts backup spend 41% and proves restores for 1,100 client payrolls
Payroll processor serving 1,100 employer clients and 3.2 lakh employees, running on AWS · AWS Mumbai (ap-south-1) · 4 weeks
As-is situation
The bureau ran payroll computation on EC2, employee master and salary history on Amazon RDS for PostgreSQL, and payslips plus Form 16 PDFs in Amazon S3. Over four years three teams had added protection independently: AWS Backup plans, a legacy script taking daily EBS snapshots, and S3 versioning with no lifecycle rule. Backup-related storage had reached INR 4.6 lakh a month, more than the production database. Client contracts promised that any month's payroll could be reproduced within one business day, but the bureau had never tested reproducing a payroll from backups older than 90 days.
- Duplicate protection: 61% of EBS volumes had both an AWS Backup recovery point and a script snapshot, with 14,800 snapshots in total
- S3 versioning retained every overwritten payslip version indefinitely, accounting for 38% of backup-related storage
- The only restore drill in two years recovered one table, not a full payroll month
Approach, tools and architecture
NTSPL joined AWS Config inventory with AWS Backup protected resources and the snapshot listing to build one coverage table. The legacy script was found to duplicate 61% of AWS Backup coverage and to keep snapshots for 400 days without any requirement. S3 noncurrent versions were mapped against payroll record retention, leading to a lifecycle rule retaining noncurrent versions for 90 days. Restore testing plans in AWS Backup then reproduced three historical payroll months from RDS snapshots aged 30, 180 and 400 days into an isolated VPC, each validated by recomputing net pay totals for two sample clients against archived registers.
Implementation approach
Measured results
Operational improvements
- A monthly restore testing plan now reproduces one random historical payroll month and posts the timing to the operations channel
- Backup policy is assigned by resource tag, so new client environments inherit protection automatically
Cost considerations
Retiring the snapshot script and adding an S3 noncurrent-version lifecycle rule delivered most of the saving. Restore testing adds roughly INR 9,000 a month in temporary RDS and EC2 run time, netted against the savings figure shown.
Return on investment
Annualised saving of about INR 22.8 lakh repaid the assessment within the first quarter. The tested one-business-day reproduction claim also removed a qualification the bureau's largest client had raised in its vendor risk review. It also gave finance a monthly backup cost line per client environment.