Single elastic IP that can access multiple unique EC2 instances

0

Is it possible to have a single elastic IP that can access multiple unique EC2 instances through some means (DNS/Route 53, a load balancer, etc)? For example, a single elastic IP would use DNS to access host01.ex.example.com, host02.ex.example.com, etc. Every instance is in the same region.

The Elastic IP Address Limit Documentation points to AWS DNS Documentation but I was wondering if this is something that can be handled automatically (maybe by the Route 53 DNS Resolver)?

1 回答
2

It's not clear what you're trying to do so that limits the scope of the answer I can give here. For example, what's the requirement for a single IP? What are you hosting? What protocol does it use?

In short, yes: You can use a load balancer which presents an elastic or public IP to the Internet and then distributes connections to instances "behind" that load balancer.

profile pictureAWS
专家
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则