What is the FQDN of an EC2 instance?


I am doing a lift and shift on a backend server that requires its FQDN to run. This is so other auxiliary servers and find and connect to one another which are in the same network. Would it be the private DNS ip address (ip-172-11-36-99.us-east-2.compute.internal) or the result of typing hostname into a shell (EC2AMAZ-HMCB6JD)

1 Answer
Accepted Answer

If the backend servers are attached to Domain controller with DNS, then it is recommend to use <Servername>.<DomainName>.

If Answer DNS hostname IPv4 (A record) requests is enabled for EC2, you can use hostname of EC2.

If not, Private IP DNS name is only option.

answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions