01Designed the cloud architecture
Mapped each workload to the right AWS service: ECS (EC2 where SSH access was needed, Fargate where it wasn’t) for the ad server and web app, EKS with StatefulSets and EBS volumes for Pinot and Zookeeper across three AZs, Aurora PostgreSQL with 14-day backup retention, and ALBs with NAT gateways securing the network layer. As business needs evolved, the architecture expanded from one region to three — eu-west-1 (Ireland), eu-west-2 (London), and sa-east-1 (São Paulo) — with Route 53 geolocation routing via a single hostname (platform.auth.inc).
02Built the multi-region platform
Deployed AdServer (EC2) and Prebid (Fargate) clusters in London and São Paulo behind ALBs in private subnets. In Ireland: WebApp UI, WebApp API, Admin UI, and Admin API as separate ECS services on EC2, backed by Aurora PostgreSQL. Kafka on AWS MSK with public access for cross-region connectivity, IAM auth for AdServer and SASL for Pinot. Auction and event data flows through Kafka into Pinot on EKS (StatefulSet, EBS storage, S3 deep storage, daily Zookeeper snapshots via Lambda), exposed through an internal ALB.
03Codified everything as IaC with CD
Every resource — VPCs, subnets, security groups, ECS clusters, ALBs, NAT gateways, Aurora, MSK — codified as CloudFormation templates via the Latifold platform (exceptions: Pinot via Helm, Route 53 geolocation records). For CD, built an Azure Pipelines workflow: developers merge to pipeline_to_ecr, parallel builds push images to ECR, and AWS deployments roll out automatically across all three regions.