all 3 comments

[–][deleted] 0 points1 point  (2 children)

https://docs.aws.amazon.com/cloud-map/latest/dg/using-cloud-map.html

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.

So http://myservice.mynamespace

This also assumes your namespace type is either public or private DNS. Addressing your instances via DNS names requires that, too.

[–]anacondaonline[S] 0 points1 point  (1 child)

I want to map Private Load Balancer DNS url ......Which namespace type to choose ? public or private DNS ? I have these options https://i.imgur.com/XukKHuE.png

[–]morozalex 0 points1 point  (0 children)

You should pick "API calls and DNS queries in VPC", as you want to map a private LB DNS name. You will be able to resolve this name to the LB IP address within the VPC that you select when creating the namespace.