Using Cloud Map to invoke vpc endpoint in another aws account

0

When creating a cloud map service, how do you specify the private endpoint DNS name? Do you have to create an instance in the service, or are there other steps needed?

Also, I am using this Cloud map service to invoke a private rest API. When registering the cloud map DNS name, would I use the VPC endpoint DNS name or the private rest api DNS name?

질문됨 한 달 전73회 조회
1개 답변
0

Hello,

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. Even with public and private DNS namespaces, you can still discover instances using AWS Cloud Map DiscoverInstances requests.

Create a service, which contains the service instances that identify how to contact the resources for an application, such as a web server, a DynamoDB table, or an Amazon S3 bucket. After you created a public or private DNS namespace, the name that you specify for the service becomes part of the names of records in the Route 53 public or private hosted zone that AWS Cloud Map created automatically in step 1. When you register an instance in the next step, AWS Cloud Map creates records in the hosted zone. The record names are a combination of the name of the service (such as backend) and the name of the namespace (such as example.com): backend.example.com. and you can also whether you want to check the health of the resources that service instances point to, you can find more information here[1] and you can also visit this blog which you might find helpful[2][3].

[1] https://docs.aws.amazon.com/cloud-map/latest/dg/using-cloud-map.html [2] https://dev.to/tinystacks/service-discovery-with-aws-cloud-map-1mmg [3] https://medium.com/@christopheradamson253/getting-started-with-aws-cloudmap-a-step-by-step-guide-c41100c4f07f

AWS
sanju_s
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠