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 réponse
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
EXPERT
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions