What is AWS Cloud Map?
AWS Cloud Map is a service discovery service for cloud-based applications. The service enables microservices and containers to find each other through custom names instead of relying on fixed IP addresses. Cloud Map handles registration automatically and performs health checks.
Key Features
- DNS-based and API-based service discovery
- Automatic registration for ECS and EKS containers
- Integrated health checks for registered resources
- Custom attributes for service metadata
- Namespaces for logical service grouping
Common Use Cases
Container Orchestration: ECS and EKS containers register automatically with Cloud Map. Other services find containers through DNS names instead of load balancers, reducing latency and costs.
Microservices Communication: Services in a microservices architecture communicate through stable DNS names. Cloud Map automatically updates DNS records when containers scale or are replaced.
Multi-Region Service Discovery: Cloud Map enables service discovery across regions. You can combine global services with regional namespaces and routing policies.
Benefits
- Decoupling of service names from infrastructure details
- Automatic adaptation during scaling and failover
- Reduced dependency on load balancers for internal communication
- Native integration with AWS container services
Integration with innFactory
As an AWS Reseller, innFactory supports you with AWS Cloud Map: architecture for service discovery, migration from existing service registries, and integration into your microservices infrastructure.
Typical Use Cases
Frequently Asked Questions
What does AWS Cloud Map cost?
Resource registrations cost $0.10 per resource per month. DNS queries cost $0.40 per million queries. API-based discovery costs $1.00 per million API calls.
How does Cloud Map differ from Route 53?
Route 53 is a DNS service for static configuration. Cloud Map provides dynamic service discovery with automatic registration/deregistration and health checks, but builds on Route 53 DNS.
Does Cloud Map support automatic registration?
Yes, ECS and EKS register containers automatically with Cloud Map. For EC2 or Lambda, you can use the AWS SDK or Cloud Map Service Registry.
What discovery methods does Cloud Map offer?
Cloud Map supports DNS-based discovery for standard clients and API-based discovery for extended metadata and attributes. Both methods can be combined.