Transport Management System: 7 Microservices Platform with AWS Cloud Map Service Discovery
Built TMS logistics platform with 7 Spring Boot microservices on ECS Fargate using AWS Cloud Map for internal DNS discovery, RDS MySQL, and multi-environment CloudFormation stacks.
Key Results
Gateway, Fleet, Load, Asset, User, Notification, Discovery
AWS Cloud Map for internal DNS
Identical dev and production setups
All services use DNS discovery
What We Were Solving
TMS Logistics was building a next-generation transport management system to compete with legacy TMS providers. Their platform needed to orchestrate fleet tracking, load management, asset monitoring, and customer notifications — all through a unified API gateway.
Technical challenges:
- Seven microservices (Gateway, Fleet, Load, Asset, User, Notification, Discovery) needed dynamic service-to-service communication
- Hardcoded IP addresses created deployment friction and prevented elastic scaling of individual services
- Central RDS database needed secure, connection-pooled access from all services without credential sprawl
- Development and production environments had manual configuration differences causing deployment failures
- Spring Cloud services required Eureka-style service discovery without managing a dedicated discovery server
How We Solved It
We designed a complete microservices platform using AWS Cloud Map for native service discovery, eliminating the need for hardcoded endpoints or self-managed service registries.
AWS Cloud Map Service Discovery
Implemented AWS Cloud Map with a private DNS namespace (*.tms.local) enabling services to discover each other using simple DNS names like fleet-service.tms.local. ECS automatically registers and deregisters service instances as tasks start and stop.
API Gateway Architecture
- Central API Gateway service routing external requests to internal microservices
- Path-based routing directing /fleet/* to Fleet Service, /loads/* to Load Service, etc.
- Centralized authentication and rate limiting at the gateway level
Database & Infrastructure
- RDS MySQL with connection pooling configured per-service for optimal database utilization
- Secrets Manager integration for secure credential injection without environment variable exposure
- Modular CloudFormation with separate stacks for infrastructure, each ECS service, and shared resources
GitHub Actions pipelines deploy each service independently, with automatic Cloud Map registration ensuring zero-downtime deployments.
Technologies Used
“AWS Cloud Map simplified our service communication dramatically. Services find each other via DNS names like fleet-api.local without any hardcoding. Adding new services is straightforward - they just register with Cloud Map and are discoverable.”
Ready to achieve similar results?
Let's discuss how we can help transform your business with the right technology solutions.