AWS Cloud Map
Service discovery for microservices
A service discovery service: registers the names and locations (IP, URL, ARN) of resources so applications can find each other via API or DNS, with health checks so only healthy instances are returned.
- Cost$ Low
- Difficulty●●●●●
- Costs money when idle?A little
- Serverless
- In examsDVA
Think of it asLike a directory that updates itself when someone changes desks.
When to use it
✓ Use it when
Microservices whose addresses change constantly need to find each other by name.
✗ Avoid it when
You only need static DNS for a few machines → Route 53 private hosted zone.
Common uses
- ECS tasks registering themselves so other services can find them
- Looking up endpoints by attribute (version, environment)
- Foundation for ECS Service Connect
What does it cost?
- Pricing model: Charged by the number of registered resources per month and the number of discovery API queries; DNS queries are charged at Route 53 rates.