India’s Leading Domain & Web Hosting Provider
Accounting SaaS makes ledger backups immune to admin compromise with locked vaults
Cloud accounting product for 60,000 small businesses, 240 employees · Pan-India, engineering in Ahmedabad · 8 weeks
As-is situation
The product ran on Compute Engine VMs with a self-managed PostgreSQL cluster holding customer ledgers, plus Cloud Storage for uploaded bills and generated GST returns. Backups were disk snapshots in the same production project, retained for 60 days, and three engineers held Owner on that project. A phishing attack compromised one of those accounts; the attacker deleted 11 days of snapshots before detection, and only luck meant production was untouched. The cyber insurer's renewal questionnaire then asked for immutable, logically separated backups, and enterprise accounting firms on the platform began asking the same question in procurement.
- Snapshots deletable by any of three Owner accounts in the production project
- 11 days of backups lost in one incident with no alert on deletion
- Uploaded bills and GST files could be overwritten in place by the application service account
- Restore of the 3.8 TB database had never been timed; estimates ranged from 4 to 20 hours
Selected Google Cloud services and architecture
NTSPL migrated the ledger database to Cloud SQL for PostgreSQL with high availability, removing VM-level snapshots as the primary backup. A new backup project, administered only by a two-person security group, hosts a Mumbai backup vault with 30-day enforced minimum retention and access restricted to the organization; retention lock was applied after the first drill. Backup plans take Cloud SQL backups every four hours. Bills and GST returns moved to a bucket with Object Retention Lock for eight years, matching statutory record-keeping, and soft delete. Owner grants on production were removed in favour of Privileged Access Manager.
Implementation approach
Measured results
Operational improvements
- Monthly random restore of a customer ledger into an isolated project is now a 30-minute routine
- No engineer holds standing Owner; production elevation is time-boxed and logged
- Support can recover an accidentally deleted bill from soft delete without a database restore
Cost considerations
Eight-year object retention would have been expensive in Standard storage, so files older than one year transition to Coldline and then Archive class through lifecycle rules, which retention lock still honours. Vault retention was kept at 30 days minimum with longer copies only monthly, avoiding an irreversible multi-year bill on four-hourly points.
Return on investment
The cyber insurer accepted the controls and the premium increase was held to about 8 percent instead of a quoted 35 percent, worth roughly INR 9 lakh a year. Two enterprise accounting firms signed after procurement review, adding an estimated INR 70 lakh in annual recurring revenue against about INR 85,000 per month of added backup cost.