Problem

The AWS infrastructure behind a 28,000+ record platform cost more each month than its workload justified. Some of that spend came from how requests and background jobs were executed, not from the amount of real work being done.

Context

Production work at TechPotion.ai, on the same platform as the 28K+ record pipeline.

My Role

Backend & Automation Engineer, responsible for the cloud automation and the data layer.

Architecture

The platform ran on EC2, Lambda, EventBridge, SQS, RDS PostgreSQL, API Gateway, S3, VPC, IAM, and CodeBuild.

Technology Stack

AWS Lambda, API Gateway, EventBridge, SQS, RDS PostgreSQL, EC2, S3, IAM, CodeBuild.

Implementation

Reliability / QA

The pipeline records every record's stage in PostgreSQL (see the 28K+ record case study). That makes it possible to change how and when work is scheduled without losing track of which records have been processed.

Challenges

Solution

Treat cost as a symptom of execution behavior: remove wasted invocations, queue background work, and make the expensive queries cheaper.

Results

34% reduction in monthly AWS infrastructure costs.

Lessons Learned

Start cost work by looking at execution behavior: what runs, how often, and why. That gives clearer targets than resizing infrastructure first.

Related services

Related projects

Public evidence

Production client work. Internal systems, data, and code are not public.

Need something similar?

Available for remote AI automation, n8n, AI agent, API integration, and B2B SaaS QA projects.