TransWikia.com

Connecting to ec2 instance after creating a Load balancer

Super User Asked by Debmalya Panday on December 1, 2021

How do I connect to an ec2 instance after creating a load balancer ? I have the below configuration set up:

  1. Two RHEL 8 ec2 instances
  2. Both the instances are inside a VPC but in two availability zones.
  3. Both the instances are associated with separate public subnets and IGW is set up properly.
  4. Both the instances have private + Elastic IPs
  5. The load balancer is ELB

I am using PuTTy to connect to the instances and can access two instances separately using their elastic IPs. But How do I connect to the load balancer so that it connects me to any of the two instances ?

PS: I am a beginner in aws so if my question is somewhere confusing/unclear, please let me know. Many thanks.

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP