Compute - Application Load Balancer Flashcards
At which layer of the OSI model does the Application Load Balancer (ALB) operate?
- Layer 7, the application layer.
What are some examples of application processes or services offered by the application layer of the OSI model?
- HTTP
- FTP
- SMTP
- NFS
When is it recommended to use the Application Load Balancer (ALB)?
- When you need a flexible feature set including advanced routing and visibility features.
- When you are working with application architectures such as microservices and containers.
- When using HTTP or HTTPS protocols.
What is a target group in the context of an ALB?
- A group of resources that the ALB routes requests to.
- Different target groups can be configured based on the nature of the requests.
How can you configure a target group for an ALB?
- Go to the EC2 service in the AWS Management Console.
- Under the load balancing section, select “Target Groups.”
- Click on “Create target group” and provide the necessary information such as name, target type, protocol, and VPC.
- Configure health check settings if desired.
- Add targets (instances) to the target group.
How can you create an Application Load Balancer (ALB)?
- Go to the AWS Management Console and navigate to the load balancing section.
- Select “Load Balancers” and click on “Create Load Balancer.”
- Choose “Application Load Balancer.”
- Provide a name and select the appropriate settings such as listener protocol and port.
- Configure availability zones and security settings.
- Select or create a target group.
- Review the configuration and click on “Create.”
How can you customize traffic routing with ALB listeners?
- In the ALB configuration, go to the “Listeners” tab.
- View and edit the rules for the listener.
- Add conditions such as source IP and specify actions, such as forwarding to different target groups, based on the conditions.
- Rules allow for customized traffic routing based on specific criteria.
What are some additional options available when configuring an ALB?
- Setting up target groups
- Configuring security groups
- Defining availability zones
- Customizing traffic routing through listener rules
What are some monitoring options available for ALBs?
- CloudWatch metrics associated with the ALB, such as the number of healthy and unhealthy hosts.
- Monitoring metrics provide insights into the performance and health of the load balancer.
What type of security considerations should be taken into account when configuring ALBs?
- Consider using HTTPS for secure communication.
- Set up appropriate security groups to control access to the load balancer.
- Configure health checks to ensure the availability and health of target instances.