A company is designing a new microservices architecture on AWS. They need a solution for service discovery that allows services to register themselves and discover other services dynamically. The solution must be highly available and integrated with AWS-native services. Which AWS service should they use?
Trap 1: Amazon ECS Service Discovery
ECS Service Discovery is built on AWS Cloud Map; Cloud Map is the recommended service for this use case.
Trap 2: Application Load Balancer (ALB)
ALB distributes traffic but does not provide service discovery for multiple service types.
Trap 3: Amazon Route 53 private hosted zones
Route 53 private hosted zones provide DNS resolution but not automatic service registration or health-based deregistration.
- A
Amazon ECS Service Discovery
Why wrong: ECS Service Discovery is built on AWS Cloud Map; Cloud Map is the recommended service for this use case.
- B
Application Load Balancer (ALB)
Why wrong: ALB distributes traffic but does not provide service discovery for multiple service types.
- C
AWS Cloud Map
Cloud Map is a service discovery service that allows resources to register and discover each other, with health checks.
- D
Amazon Route 53 private hosted zones
Why wrong: Route 53 private hosted zones provide DNS resolution but not automatic service registration or health-based deregistration.