How do I connect to an ec2 instance after creating a load balancer ? I have the below configuration set up:
- Two RHEL 8 ec2 instances
- Both the instances are inside a VPC but in two availability zones.
- Both the instances are associated with separate public subnets and IGW is set up properly.
- Both the instances have private + Elastic IPs
- 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.