- AWS Cloud Map is a fully managed service that you can use to create and maintain a map of the backend services and resources that your applications depend on.
- AWS Cloud Map is tightly integrated with Amazon Elastic Container Service (Amazon ECS). As new container tasks spin up or down, they automatically register with AWS Cloud Map. You can use the Kubernetes ExternalDNS connector to integrate Amazon Elastic Kubernetes Service with AWS Cloud Map. You can also use AWS Cloud Map to register and locate any cloud resources, such as Amazon EC2 instances, Amazon DynamoDB tables, Amazon S3 buckets, Amazon Simple Queue Service (Amazon SQS) queues, or APIs deployed on top of Amazon API Gateway, among others.
- AWS Cloud Map is a managed solution that you can use to map logical names to the resources for an application. It also helps your applications discover resources using one of the AWS SDKs, RESTful API calls, or DNS queries.
How to Use AWS Cloud Map
- Create a namespace, which is a logical grouping of services.
- You create a namespace that identifies the name that you want to use to locate your resources and also specifies how you want to locate resources: using AWS Cloud Map DiscoverInstances API calls, DNS queries in a VPC, or public DNS queries.
- When you create a namespace, you specify the name that you want your applications to use to discover instances.
- You also specify how you want to discover service instances that you register with AWS Cloud Map: using API calls or using DNS queries.
- If you create a public or private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 public or private hosted zone that has the same name as the namespace.
- Create an AWS Cloud Map service for each type of resource for which you want to use AWS Cloud Map to locate endpoints. For example, you might create services for web servers and database servers.
- When your application adds a resource, it can call the AWS Cloud Map RegisterInstance API action, which creates a service instance. The service instance contains information about how your application can locate the resource, whether using DNS or using the AWS Cloud Map DiscoverInstances API action.
- When your application needs to connect to a resource, it calls DiscoverInstances and specifies the namespace and service that are associated with the resource.
Reference
- You create a namespace that identifies the name that you want to use to locate your resources and also specifies how you want to locate resources: using AWS Cloud Map DiscoverInstances API calls, DNS queries in a VPC, or public DNS queries.
- When you create a namespace, you specify the name that you want your applications to use to discover instances.
- You also specify how you want to discover service instances that you register with AWS Cloud Map: using API calls or using DNS queries.
- If you create a public or private DNS namespace, AWS Cloud Map automatically creates an Amazon Route 53 public or private hosted zone that has the same name as the namespace.
What Is AWS Cloud Map? - AWS Cloud Map



