How to password protect my webpage of 1 instance in ELB?

0

I have launched 2 instances with basic html page on AWS. And added those instances with one external ELB. I made the configurations like, only i can access those webpage by hitting the ELB and not by hitting the public or Elastic IP of each instances. Now, i have password protected only one instance's webpage. When i try to hit the ELB, i cannot access the password protected webpage and also in AWS console -> Load Balancer, that particular instance was in OutOfService. How can i solve this?

Ravichandran

Posted 2015-05-23T20:41:30.417

Reputation: 13

Answers

0

This happens because the load balancer can not connect to the health check url. You can either disable the health check (leave the url empty), or serve an unprotected file for health check purpose, and change the url to point there.

endrec

Posted 2015-05-23T20:41:30.417

Reputation: 3