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?

gefragt vor einem Monat73 Aufrufe
1 Antwort
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
beantwortet vor einem Monat
profile picture
EXPERTE
überprüft vor einem Monat

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen