PrimeDeal Auto

From an unstable WordPress site to serverless AWS with a real-time voice agent and about $240 a month saved.

Category
Car Dealership Platform
Status
Live
My role
Solutions architect and lead developer
Timeline
March 2024 – April 2026
Company
Elite Nexus Solutions
~$240/mosaved by moving image pulls off the NAT gateway (0 GB downloaded afterwards)
2 regionsvoice agent fails over between us-east-1 and us-west-2
425automated tests on the voice bot alone, with 500+ more across infrastructure, backend and frontend
24/7automated customer engagement by chat and voice
Screenshot of the PrimeDeal Auto website
01

The problem

A legacy WordPress setup kept failing, and slow pages cost the dealership visitors.

The dealership then wanted customers to talk to the site in real time, which meant a voice agent that survives provider outages.

02

Architecture decisions

  • Decoupled serverless platform: API Gateway, Lambda and Aurora Serverless v2The site no longer depends on one server staying up, and cost follows traffic.
  • S3 gateway endpoint for container image pullsImage pulls were going through the NAT gateway, about 170 GB and $8 a day. The endpoint saved roughly $240 a month, and the NAT then showed 0 GB downloaded.
  • Multi-region Nova Sonic failover (us-east-1 to us-west-2)A real Nova Sonic regional outage on 29 September 2026 proved one region is not enough. CloudWatch alarms now cover session errors, all-regions-failed and slow calls.
  • WAF rate limit on the voice endpoint and cdk-nag on every stackOne client cannot flood the expensive voice path, and insecure infrastructure is flagged before it deploys.
03

What I built

  • Migrated to a decoupled serverless AWS architecture in seven CDK stacks: voice bot, auth, database, storage, API, migration and hosting.
  • Built a Pipecat voice agent on Bedrock AgentCore Runtime and Nova Sonic, with Kinesis Video Streams signalling and a TURN relay for WebRTC.
  • Added OpenSearch Serverless for search and a Cognito-protected API, with Next.js on Amplify behind CloudFront.
  • Used durable workflows so multi-stage lead processing does not lose transactions, and added an AI chat assistant for 24/7 engagement.
04

Before and after

What changedBeforeAfter
Container image pulls through the NAT gateway~170 GB and ~$8 a day0 GB (S3 gateway endpoint)

Technologies

Next.jsReactTypeScriptPythonPipecatAmazon BedrockNova SonicWebRTCAWS CDKLambdaAurora PostgreSQLAPI GatewayOpenSearch ServerlessWAFAmplifyCloudFront