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 Antwort
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
EXPERTE
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen