I have a Elastic Beanstalk enviroment that works perfectly when I configure the capacity as a single instance. The SpringBoot app respond without problems on the port 8083, for example when I make a POST petition like "http://54.162.95.157:8083/login" (54.162.95.157 that is the public ip of ec2 instance). But when I change the Beanstalk environment to a balanced load, the environment stops working. The POST request now I do it to the DNS of the load balancer, for example "http://awseb-e-m-AWSEBLoa-VVP8D98KT5SX-219136517.us-east-1.elb.amazonaws.com:80/login" but it fails.. I get a 503 Service Unavailable: Back-end server is at capacity as Response. My question is, how to correctly configure a load balancer in this case? or How to move from a single instance to a load balancer and make this work?
The load balancer configuration: