Using an application load balancer with TLS termination at the ELB
Application load balancers (ALBs) work at the request layer (application layer of the OSI model) and are used for HTTP and HTTPS requests. ALBs provide advanced routing capabilities at the application layer for requesting and path parameter-based routing. Architecture patterns, such as microservices architecture, can use ALBs to route requests to different web servers while making use of request parameters.
Getting ready
To follow this recipe, we need the following:
- A working AWS account,
awsseccb-sandbox-1, and a userawsseccbadmin1, as described in the Technical requirements section. - Create a target group,
cloudericks-tg, with two EC2 instances, following the Creating ELB target groups recipe of this chapter, and the following resources should have been created as part of the preparation for that recipe – a VPC,awsseccb-vpc, and a security group,cloudericks-web-server. - To select HTTPS...