0
votes

We are using Amazon Web Services EC2 to create webapp servers which are then attached to an Elastic Load Balancer (ELB). The instances eventually use the url of the load balancer itself to request .

Case:

I am running a web application, which is distributed over multiple AWS EC2 instances behind a AMAZON Elastic Load Balancer but when i load web app to my Bitnami server it is running , i use my load balancer URL to run it , but later instances are not updated automatically to my load balances n my URL not working .

1

1 Answers

0
votes

You need to create an Auto Scaling Group and a Launch Configuration. Then, you can attach the load balancer to the group and as the group scales up and down the instances will automatically be added to the load balancer.

If you don't want/can't use a scaling group, then you will need a separate process which monitors your server and adds them to the load balancer as needed.