0
votes

I am using the Amazon EC2 elastic load balancer for my application. For testing purposes, I need to hit a particular application instance. Is there a way to hit the specified instance from the EC2 load balancer?

For example, for my load balancer http://myloadbalancer.com I have two instances attached, ec21 and ec22. If I need to hit ec22, is there a way to achieve this?

2

2 Answers

0
votes

In the management console, under particular Load Balancer and Instances section just delete ec22 from the list.

Once you completed all tests - add this instance back behind your LB.

Is it what you meant?

0
votes

Access your instance with direct internal hostname via VPN or from another instance with elastic IP configured. For example: ip-172-31-7-112.ec2.internal