Reputation: 351
I registered a domain name with AWS Route 53
as mydomain.com
. Is there anyway that I can assign e.g. ns1.mydomain.com
as a public hostname to an EC2
which does NOT have a Elasti IP
?
Thanks
Upvotes: 2
Views: 1326
Reputation: 11
Utilize a load balancer in front of the instance and assign the public hostname to the load balancer.
Use S3 webpage redirect and assign the hostname to the S3 URI.
If the problems is that you don't have any elastic IP's left, you can request for more. This should be resolved within about 15 minutes.
Upvotes: 1
Reputation: 35188
You can assign the domain name to any IP address of an instance. However be aware of the following limitations:
If you have a public facing application, but want to keep network traffic that directly connects to the instance private you should look at using an ELB in front of the application to provide a security boundary between the internet and your application.
Upvotes: 2