I am running an application with different services. I have deployed it as a microservice pattern using elastic beanstalk. Each microservice is hosted in a separate elastic beanstalk environment but within the same application.
I have automated the deployment process with cloud formation template. I have created a resource for each application environment through the template. It is created. Beanstalk environment uses default target group and separate application load balancer for each environment, If I add more number of microservices to my application, which requires more number of the application load balancer, But a single application load balancer can be used to route the traffic of the different microservice target groups.
I have checked about the parameters available in the resource. The main option is available in beanstalk environment resource is a single instance or load-balanced environment. If I choose single instance, then it will not create any load balancer. It just creates a single EC2 server and deploys the application. Apache/Nginx acts as a reverse proxy server to access the endpoint. At the same time, if I use a load balanced environment, I can configure settings related to the application load balancer. But I do not find any way to reuse a single Application load balancer, Do we have such support in AWS right now, AWS has added some options to control ELB from elastic beanstalk.