AWS Elastic Beanstalk Supports Application Load Balancer

Posted on: Aug 23, 2016

AWS Elastic Beanstalk now supports Application Load Balancer for the Elastic Load Balancing service. You can now choose between Application Load Balancer and Classic Load Balancer when creating environments in Elastic Beanstalk. Use Application Load Balancer to deploy applications to Elastic Beanstalk that use the WebSocket protocol or HTTP/2.

Application Load Balancer operates at the application layer and provides content-based routing support. In an Elastic Beanstalk environment, you can use it to direct traffic for certain paths to a different port on your web server instances. For example, if you have an application that consists of a frontend and an API backend, you can choose to expose the frontend process at one path and the API backend at another path (e.g. /api) even though the processes run on different ports. The Application Load Balancer uses rules to route traffic to either port, depending on the path in the request.

Currently, you can add an Application Load Balancer to an Elastic Beanstalk environment using the EB and AWS CLIs, SDKs, and APIs. Elastic Beanstalk console support is coming soon. Visit the documentation to learn how to configure Application Load Balancer with Elastic Beanstalk. Read the AWS blog to learn more about Application Load Balancer.

For more information on Elastic Beanstalk: