By using AWS re:Post, you agree to the Terms of Use

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 Answers
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.

EXPERT
answered 4 months 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