Travel Platform Microservices: 4-Service ECS Architecture with Grafana Loki Centralized Logging
Built multi-service travel platform on ECS Fargate with 4 microservices, Grafana Loki logging via Fluent Bit sidecars, 17 CloudFormation templates, and 4 CI/CD pipelines.
Key Results
CMS, Backend, AI, Frontend on ECS Fargate
Automated deployments per service
Complete Infrastructure as Code
Centralized logging with Grafana Loki
What We Were Solving
BPL Travel Platform was rebuilding their customer-facing travel booking experience with an ambitious microservices architecture. Their existing monolithic system couldn't keep pace with the feature velocity needed to compete with larger OTAs (Online Travel Agencies).
The challenges were multi-faceted:
- Four independent services (CMS, Travel Experience Backend, Travel Jinni AI, CCM Frontend) needed unified but isolated infrastructure
- No centralized logging made debugging cross-service issues extremely time-consuming during peak booking periods
- Manual deployments across 4 services created version inconsistencies between staging and production environments
- Travel Jinni AI service had unpredictable compute requirements based on user query complexity
- Team needed ability to trace user requests across all services to identify booking flow bottlenecks
How We Solved It
We architected a comprehensive microservices platform combining serverless containers, centralized observability, and automated CI/CD pipelines for rapid, reliable deployments.
ECS Fargate Microservices
Deployed all 4 services on ECS Fargate with auto-scaling configured at 60% CPU utilization. Each service runs independently with its own task definition, allowing teams to deploy without coordinating with other service owners.
Centralized Observability with Grafana Loki
- Implemented Fluent Bit sidecars via AWS FireLens for real-time log streaming to Grafana Loki
- Built custom Grafana dashboards for monitoring booking funnel metrics and service latencies
- Configured log correlation using trace IDs to follow user requests across all 4 services
Independent CI/CD Pipelines
- Built 4 separate AWS CodePipeline workflows triggered by service-specific branch commits
- Automated Docker builds, ECR pushes, and blue-green deployments with automatic rollback
Infrastructure as Code
Created 17 CloudFormation templates covering VPC, ECS cluster, each service's task definition, ALB listeners, and the complete Grafana Loki stack. Identical staging and production environments ensure confident deployments.
Technologies Used
“The centralized logging with Grafana Loki transformed how we debug issues. What used to take hours of SSH-ing into containers now takes minutes with log queries. The CI/CD pipelines give us confidence to deploy multiple times per day.”
Ready to achieve similar results?
Let's discuss how we can help transform your business with the right technology solutions.