Cycle 2 of 3 · Optimise
Every dollar removed is traced to a measurement and a guardrail
Optimisation at a regulated lender is not a race to the smallest instance. Each initiative below is sized from 90 days of p95 telemetry, carries an explicit confidence range rather than a single hopeful number, and names the compliance clause that limits how far it can go.
Initiatives
8
Across 5 optimisation levers
P50 monthly saving
$73,066
40.6% of baseline
Confidence band
$63,800 – $79,300
P10 still clears the $60k mandate
Engineering effort
55 days
≈ 2.5 engineers for one quarter
Optimisation register
Right-size over-provisioned EC2 across 10 of 12 services
$18,400
$15,600 – $20,100
Move from m5/c5/r5 to m6i/c6i/r6i one size down, validated against 90-day p95 CPU/memory with 40% burst headroom retained.
Compliance constraint · PCI DSS 2.2 — instance change requires re-baselined hardened AMI; audit-log-collector frozen.
Non-production scheduling (nights + weekends off)
$11,200
$10,400 – $11,900
EventBridge scheduler stops dev/QA/sandbox 20:00–08:00 IST and all weekend. 168h → 60h/week = 64% reduction on those environments.
Compliance constraint · No PCI impact — dev/QA carry no cardholder data. GDPR-safe: synthetic data only.
Compute Savings Plans + convertible RDS RIs
$16,466
$14,800 – $17,200
Laddered commitment to 75% of the post-right-sizing baseline only. Purchased AFTER right-sizing so we never commit to waste.
Compliance constraint · None — purely a billing construct, no architectural change.
S3 lifecycle policies + Intelligent-Tiering
$6,900
$6,100 – $7,400
Transition rules at 30/90/180 days per bucket classification, plus Parquet compaction on the analytics lake.
Compliance constraint · RBI 8-yr retention preserved — data is tiered, never deleted. Glacier IR keeps ms-level retrieval for audit requests.
Eliminate cross-AZ chatter + add VPC endpoints
$5,400
$4,500 – $6,200
Topology-aware routing in the mesh, gateway endpoints for S3/DynamoDB, PrivateLink to the top 3 partner lenders.
Compliance constraint · Multi-AZ RDS replication traffic explicitly excluded — RBI resilience requirement.
Reclaim orphaned & idle resources
$4,300
$3,900 – $4,600
127 unattached EBS volumes, 9 orphaned buckets, 6 idle ALBs, 4 unused NAT gateways, 22 TB of un-lifecycled snapshots.
Compliance constraint · Legal-hold check runs before any deletion; snapshot taken and retained 30 days.
Observability cost controls
$2,800
$2,300 – $3,100
Drop INFO to WARN on chatty services, sample high-volume traces at 10%, tiered CloudWatch retention (30d hot / S3 archive after).
Compliance constraint · PCI DSS 10.5.1 / SOC 2 CC7.2 — security & audit log streams are exempt from any retention reduction.
Auto-scaling policy redesign on 8 services
$7,600
$6,200 – $8,800
Replace static desired-capacity with target-tracking (55% CPU) + predictive scaling trained on the 09:00 and 19:00 IST application peaks.
Compliance constraint · Minimum capacity floor of N+2 across 3 AZs preserved to hold the 99.95% SLA.
Right-sizing model — 12 microservices
| Service | Current | p95 CPU / MEM | Recommended | Now | After | Saving |
|---|---|---|---|---|---|---|
loan-origination-api Graviton blocked by PCI-validated agent; m6i keeps x86 with 15% better price/perf. | 12 × m5.4xlarge | 22% / 38% | 10 × m6i.2xlarge | $9,940 | $4,140 | $5,800 |
credit-decision-engine Genuinely memory-bound. Modest generation upgrade only — no count cut below N+2. | 8 × r5.4xlarge | 61% / 74% | 7 × r6i.4xlarge | $8,720 | $7,630 | $1,090 |
kyc-verification Massively over-provisioned; burst handled by target-tracking ASG. | 10 × c5.2xlarge | 18% / 24% | 8 × c6i.large | $4,180 | $1,050 | $3,130 |
payment-disbursement Count held for PCI segmentation + AZ spread; type downsized one step. | 8 × m5.2xlarge | 34% / 41% | 8 × m6i.xlarge | $3,310 | $1,660 | $1,650 |
document-ingestion Queue-driven batch work — move to scheduled scaling + Spot for 70% of fleet. | 14 × m5.2xlarge | 12% / 29% | 6 × m6i.large | $5,790 | $1,240 | $4,550 |
risk-scoring-ml Correctly sized. Convert to 1-yr Compute Savings Plan instead of cutting. | 6 × r5.2xlarge | 68% / 81% | 6 × r6i.2xlarge | $3,270 | $2,290 | $980 |
notification-service Classic zombie fleet — burstable is a perfect fit for the traffic profile. | 9 × m5.xlarge | 8% / 17% | 4 × t3.medium | $1,860 | $300 | $1,560 |
collections-workflow Business-hours workload; scheduled scaling to 2 nodes overnight. | 7 × m5.2xlarge | 26% / 33% | 5 × m6i.large | $2,900 | $1,040 | $1,860 |
customer-portal-bff Right-size one step; ASG absorbs the 09:00 IST login spike. | 12 × c5.xlarge | 44% / 36% | 9 × c6i.large | $2,510 | $940 | $1,570 |
audit-log-collector NO CHANGE. PCI DSS 10.x + RBI audit-trail integrity — frozen by policy. | 6 × m5.xlarge | 31% / 47% | 6 × m5.xlarge | $1,240 | $1,240 | — |
reporting-analytics Nightly batch — shift to scheduled Spot fleet, 04:00–07:00 IST window. | 8 × r5.xlarge | 15% / 52% | 4 × r6i.large | $2,180 | $550 | $1,630 |
partner-integration-gw Downsize but retain dedicated tenancy for partner data isolation. | 6 × m5.2xlarge | 19% / 27% | 5 × m6i.large | $2,480 | $1,030 | $1,450 |
| Compute totals | $48,380 | $23,110 | $25,270 | |||
Sizing rule applied: target p95 CPU of 55–65% after the change, minimum 40% burst headroom, and never fewer than N+2 instances across three availability zones for any Critical-tier service. The audit-log collector is frozen at current sizing by policy.
S3 storage tiering
lendflow-loan-documents
$3,404 $1,290
148 TB · last access 212d ago
Intelligent-Tiering
RBI: 8 yrs — archive, never delete
lendflow-kyc-artifacts
$2,162 $812
94 TB · last access 168d ago
Standard-IA → Glacier IR @180d
PCI + RBI: 8 yrs, encrypted at rest
lendflow-app-logs
$1,748 $604
76 TB · last access 41d ago
Lifecycle → IA @30d, Glacier @90d
SOC 2: 1 yr hot, 7 yr cold
lendflow-analytics-lake
$4,830 $2,170
210 TB · last access 96d ago
Intelligent-Tiering + Parquet compaction
Internal only
lendflow-db-snapshots
$1,472 $268
64 TB · last access 305d ago
Glacier Deep Archive @90d
SOC 2 backup evidence
lendflow-etl-scratch
$874 $96
38 TB · last access 4d ago
7-day expiry lifecycle rule
Ephemeral — no retention need
lendflow-static-assets
$276 $276
12 TB · last access 1d ago
Keep Standard + CloudFront
Hot path
orphaned-legacy-buckets (9)
$1,886 $0
82 TB · last access 540d ago
Legal-hold review → delete
No owner tag, no access in 18 mo
Block storage
gp2 → gp3 migration
41,200 GB · 20% cheaper, higher baseline IOPS
$4,120 $2,884
Unattached volumes (127)
3,100 GB · Detached >60 days, snapshot then delete
$310 $0
Over-provisioned IOPS (io1)
6,400 GB · Peak IOPS 8k on 20k provisioned
$3,260 $1,540
Snapshots without lifecycle
22,800 GB · DLM policy: 30 daily / 12 monthly / 7 yr annual
$1,140 $462
Production data volumes
18,600 GB · Correctly sized — no change
$970 $970
Data transfer
Cross-AZ: service mesh east-west
$6,240 $1,560
312 TB/mo
AZ-aware routing (topology hints) + zonal service affinity
NAT gateway → S3 / DynamoDB
$3,310 $190
96 TB/mo
Gateway VPC endpoints (free) for S3 + DynamoDB
Cross-AZ: RDS replica traffic
$1,680 held
84 TB/mo
NO CHANGE — Multi-AZ mandated by RBI resilience norms
Internet egress: partner APIs
$2,115 $1,410
47 TB/mo
PrivateLink for the 3 highest-volume lenders
Inter-region: DR replication
$1,260 held
28 TB/mo
NO CHANGE — GDPR + RBI DR requirement
CloudFront origin fetches
$995 $402
22 TB/mo
Raise cache TTLs, enable origin shield
Commitment strategy — purchased last, deliberately
Coverage today
Zero commitment coverage on an 18-month-old platform with a demonstrably stable baseline. This is the single largest unforced error in the current posture.
Coverage target — day 90
Commitments are bought in Phase 3, after right-sizing — buying them first would lock LendFlow into three years of paying for over-provisioned capacity at a discount.
| Capacity layer | Vehicle | Discount | Covered spend | Saving | Risk posture |
|---|---|---|---|---|---|
Baseline (always-on prod) 55% of fleet | 3-yr Compute Savings Plan, no upfront | 42% | $24,600 | $10,330 | Low — 18-month stable baseline observed |
Steady growth band 20% of fleet | 1-yr Compute Savings Plan | 28% | $8,900 | $2,490 | Low — commit only to trailing-6-month floor |
RDS baseline 70% of fleet | 1-yr Reserved Instances (convertible) | 31% | $11,200 | $3,470 | Convertible preserves engine-change flexibility |
Elastic peak 15% of fleet | On-Demand | 0% | $6,100 | — | Deliberately uncommitted headroom |
Fault-tolerant batch 10% of fleet | Spot with capacity-rebalance | 68% | $3,200 | $2,176 | Never in the PCI cardholder data environment |
Applying all eight initiatives moves LendFlow Technologies from $180,000 to $106,934 per month — a 40.6% reduction, $13,066 beyond the CFO's $60,000 mandate, with the P10 downside case still landing at $63,800.