India’s Leading Domain & Web Hosting Provider

  • Chat
    Live Chat 24 X 7 online support
  • Contact NTSPL Hosting support
    Call Now +91 - 8260003333
Google CloudSoftware as a service, accounting and GST complianceTechnology, SaaS & Services

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

Amazon Web Services
01

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
02

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.

Web app on Compute Engine → Cloud SQL for PostgreSQL HA (Mumbai) → Backup and DR plan every 4 hours → locked backup vault in isolated project; uploads → retention-locked Cloud Storage bucket
Backup and DR ServiceCloud SQL for PostgreSQLCloud Storage Object Retention LockPrivileged Access ManagerCloud Audit LogsCloud Monitoring
03

Implementation approach

Weeks 1-3 · Database migrationMoved PostgreSQL to Cloud SQL using Database Migration Service with continuous replication and a 25-minute cutover.
Weeks 4-5 · Vault and plansBuilt the backup project and vault, attached Cloud SQL and remaining VMs to backup plans.
Weeks 6-7 · Object immutabilityCopied 41 TB of bills and returns into retention-locked buckets and switched the application to write-once paths.
Week 8 · Drill and lockTimed a full restore into an isolated project, then applied retention lock on the vault.
04

Measured results

Identities able to delete backups
3 project Owners plus service accounts→0 before retention expiry
Measured full database restore
Unknown, estimated 4-20 hours→2 hours 10 minutes
Database backup interval
Daily snapshot→Every 4 hours plus point-in-time recovery
Alert time on backup policy change
Not detected→Under 5 minutes

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
05

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.

06

Return on investment

ROI indicator

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.

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.