Skip to content
All case studies
StorageFinancial services

How a financial services company cut database recovery to 30 minutes with Amazon Aurora

A financial services company in Abuja moved its salary advance ledger to Amazon Aurora. A full database recovery now takes 30 minutes instead of about 4 hours, and availability rose to 99.95%.

ClientFinancial services company, Abuja
DurationLive in production
RegionAWS
CategoryStorage
Salary advance ledgerFinancial services
30 minFull database recovery, down from about 4 hours
99.95%Database availability, up from 97%
10 minAgreed maximum data loss
30 daysVeeam backups kept in Amazon S3
THE PROBLEM

The problem.

Our client is a financial services company in Abuja. Its service lets employees take advances on their salaries through their employers, and it keeps a ledger of every advance, repayment and outstanding balance.

The company's salary advance ledger ran on a self-managed PostgreSQL database with its previous hosting provider. The database was available 97% of the time, measured by monthly uptime monitoring, and recovering it after a failure took about 4 hours.

For a business that handles employees' money, that was a serious gap. Every hour without the ledger delayed advances and repayments for employees and their employers. Backups also did not cover the long-term retention of financial records, which the company must keep for years.

THE APPROACH

What we built.

01

A ledger on Amazon Aurora

We moved the ledger to Amazon Aurora PostgreSQL-Compatible Edition in Europe (London), with a writer and a replica in separate Availability Zones and automatic failover. Aurora backs up continuously and keeps 14 days of backups, so the database can be restored to any point in that window, meeting the agreed limit of 10 minutes of data loss. We chose Aurora over a self-managed database, and over standard Amazon Relational Database Service (Amazon RDS), for its continuous backups and fast failover, which suit a financial ledger.

02

Servers and snapshots

The backend application runs on Amazon Elastic Compute Cloud (Amazon EC2) servers in two Availability Zones behind a load balancer, with Amazon CloudFront and AWS WAF in front. Each server uses Amazon Elastic Block Store (Amazon EBS) volumes, and Amazon Data Lifecycle Manager takes and expires EBS snapshots on its own schedule.

03

Layered backups with Veeam

On top of the native AWS backups, we deployed Veeam Backup for AWS from Veeam, an AWS Partner. It takes image-level backups of the EC2 servers and their EBS volumes every day, stores them in Amazon Simple Storage Service (Amazon S3) and keeps them for 30 days. Veeam also takes scheduled snapshots of the Aurora cluster alongside Aurora's own automated backups. We chose Veeam to give the company one place to manage, schedule and restore server and database backups, with longer retention than the daily snapshots. A test restore was carried out to confirm the recovery process works.

04

Long-term records and security

Database exports, financial reports and audit documents are stored in Amazon S3, and S3 Lifecycle rules move them to Amazon S3 Glacier Deep Archive after two years, so records are kept for the long term at the lowest storage cost. Data is encrypted with AWS Key Management Service (AWS KMS), database credentials are held in AWS Secrets Manager, and AWS Identity and Access Management (AWS IAM) roles limit each server to what it needs. Amazon CloudWatch tracks database uptime and sends alarms to the team.

STACK

AWS services in this engagement

Amazon Aurora PostgreSQLAmazon EBSAmazon Data Lifecycle ManagerAmazon S3Amazon S3 Glacier Deep ArchiveAmazon EC2Amazon CloudFrontAWS WAFAWS KMSAWS Secrets ManagerAWS IAMAmazon CloudWatchVeeam Backup for AWS
THE OUTCOME

The results.

Faster recovery. A full database recovery now takes 30 minutes, down from about 4 hours, measured in timed recovery exercises.

Higher availability. Database availability rose to 99.95%, up from 97%, measured by monthly uptime monitoring with Amazon CloudWatch.

Layered backups. Servers and the database are protected by Veeam backups kept for 30 days in Amazon S3, as well as Aurora's continuous backups, and a test restore confirmed recovery works.

Long-term records kept at low cost. Financial and audit records move to Amazon S3 Glacier Deep Archive after two years.

LESSONS LEARNED

What we learned.

Database backups alone did not cover the long-term retention of financial records, because backups are kept for days and records must be kept for years. We now plan backup and archive as two separate requirements on every project, and design S3 archiving and lifecycle policies alongside database backup and recovery.

THE PARTNER

About Manthic.

Manthic Technologies is an AWS Advanced Tier Services Partner based in Lagos, Nigeria. We design, build and run solutions on AWS for our clients.

WANT SOMETHING SIMILAR?

Tell us what you're trying to ship.

A 30-minute scoping call with the engineers who would do the work.