Skip to content
OR
ES
← Back to Home
IaCArquitectura CloudDevOps

Infrastructure as Code and Stress Testing for Foreign Trade

CloudFormation and AWS CDK templates for reproducible QA and Production environments, paired with Locust load testing scaling from 20 to 400 concurrent users that eliminated HTTP 502/504 errors.

Client
Public Agency for Foreign Trade and Transportation
Industry
Public Sector
Role
Cloud Architecture Consultant & Technical Mentor
Period
Jan 2023 — Jun 2025

Measured Impact

50%
Faster provisioning time

QA and Production environments deployed from version-controlled templates

400
Concurrent users supported

Load ramping validated via Locust across critical backend endpoints

24
ECS tasks under auto scaling

Target Tracking policies tuned with CloudWatch and ALB metrics

0
HTTP 502/504 errors

Zero downtime during peak citizen traffic spikes

Rol

Consultor de arquitectura cloud y soporte técnico para el equipo de desarrollo durante la adopción de servicios serverless en AWS.

Aportes

Estandaricé el aprovisionamiento de infraestructura mediante plantillas de AWS CloudFormation y AWS CDK para los ambientes de QA y Producción, reduciendo los tiempos de despliegue en un 50%. Además, validé la estabilidad del sistema mediante pruebas de carga con Locust simulando hasta 400 usuarios concurrentes, ajustando las políticas de escalado automático para evitar errores 502 y 504.

Architecture & Engineering Decisions

  • Advisory on logical diagrams for high-scale serverless architectures: Lambda, API Gateway, SQS, SNS, Aurora PostgreSQL, and DynamoDB.
  • CloudFormation and AWS CDK templates orchestrating VPC networking, Security Groups, IAM roles, ACM, Secrets Manager, CloudFront, custom domain API Gateway, and databases.
  • Locust load testing scenarios simulating ramping stages from 20 to 400 concurrent users.
  • Target Tracking Auto Scaling tuning in ECS (up to 24 concurrent tasks) driven by CloudWatch and ALB traffic metrics.
  • Accurate cloud cost projections using AWS Pricing Calculator.

Stack

  • AWS CloudFormation
  • AWS CDK
  • AWS Lambda
  • API Gateway
  • Amazon SQS
  • Amazon SNS
  • Aurora PostgreSQL
  • DynamoDB
  • Amazon ECS
  • Locust
  • CloudWatch