Manish Kumar
Manish Kumar

Reputation: 10502

AWS EC2: Associte Elastic IP to my domain name

I have a AWS elastic IP adress. How can I associte my my domain name example.com with the elastic IP so that i can we can access it from anywhere ?

OR is there other way to associate my domain example.com to my aws instance ?

I went through internet but not found a soluion. I was trying AWS S3 follwing this but I am not getting options as described in this document

Upvotes: 1

Views: 517

Answers (1)

John Rotenstein
John Rotenstein

Reputation: 269826

You can use Amazon Route 53 to associate an Elastic IP address to an EC2 instance.

If you already have a Hosted Zone defined in Route 53:

  • Create Record Set
  • Type: A record
  • Value: Enter the Elastic IP address

Entering the URL in a browser should then resolve to the Elastic IP address.

You can test this by doing a ping to the DNS name. The DNS name should resolve to the Elastic IP address.

Upvotes: 2

Related Questions