Questions and Answers
How do I decide which load balancer to select for my application?
Elastic Load Balancing supports three types of load balancers. You can select the appropriate load balancer based on your application needs. Use Application Load Balancer for HTTP requests, Network Load Balancer for layer-4 load balancing, and Classic Load Balancer for applications built within the EC2 Classic network.
Can I privately access Elastic Load Balancing APIs from my Amazon Virtual Private Cloud (VPC) without using public IPs?
True
Is there an SLA for load balancers?
True
Which operating systems does an Application Load Balancer support?
Signup and view all the answers
Can an Application Load Balancer load balance using HTTP and HTTPS protocols?
Signup and view all the answers
What TCP ports can I use to load balance?
Signup and view all the answers
Is WebSockets supported on an Application Load Balancer?
Signup and view all the answers
Is Request tracing supported on an Application Load Balancer?
Signup and view all the answers
Does a Classic Load Balancer have the same features and benefits as an Application Load Balancer?
Signup and view all the answers
Can I configure my Amazon EC2 instances to accept traffic only from my Application Load Balancers?
Signup and view all the answers
Can I configure a security group for the front-end of an Application Load Balancer?
Signup and view all the answers
Can I use the existing APIs that I use with my Classic Load Balancer with an Application Load Balancer?
Signup and view all the answers
Can I migrate to Application Load Balancer from Classic Load Balancer?
Signup and view all the answers
Can I use an Application Load Balancer as a Layer-4 load balancer?
Signup and view all the answers
Can I get a history of Application Load Balancing API calls made on my account?
Signup and view all the answers
Does an Application Load Balancer support HTTPS termination?
Signup and view all the answers
What are the steps to get an SSL certificate?
Signup and view all the answers
Is back-end server authentication supported with an Application Load Balancer?
Signup and view all the answers
How can I enable Server Name Indication (SNI) for my Application Load Balancer?
Signup and view all the answers
Is IPv6 supported with an Application Load Balancer?
Signup and view all the answers
Is there a limit on the resources for an Application Load Balancer?
Signup and view all the answers
How can I protect my web applications behind a load balancer from web attacks?
Signup and view all the answers
How can I load balance applications distributed across a VPC and on-premises location?
Signup and view all the answers
How do I enable cross-zone load balancing in Application Load Balancer?
Signup and view all the answers
How does Lambda invocation via Application Load Balancer work?
Signup and view all the answers
Does Lambda invocation via Application Load Balancer support requests over both HTTP and HTTPS protocol?
Signup and view all the answers
Is the Application Load Balancer available in Local Zones?
Signup and view all the answers
How does Application Load Balancer pricing work?
Signup and view all the answers
What is a Load Balancer Capacity Unit (LCU)?
Signup and view all the answers
Will I be billed on Classic Load Balancers by LCU?
Signup and view all the answers
How do I know the number of LCUs an Application Load Balancer is using?
Signup and view all the answers
Is a free tier offered on an Application Load Balancer for new AWS accounts?
Signup and view all the answers
Study Notes
Load Balancer Selection
- Elastic Load Balancing offers three types of load balancers: Application Load Balancer (ALB), Network Load Balancer (NLB), and Classic Load Balancer (CLB).
- Use ALB for HTTP request load balancing, NLB for TCP/UDP with low latency, and CLB for EC2 Classic network applications.
Private Access to APIs
- VPC endpoints allow private access to Elastic Load Balancing APIs without public IPs, using AWS PrivateLink for seamless connection.
Service Level Agreement (SLA)
- Elastic Load Balancing guarantees a minimum monthly availability of 99.99% for all load balancer types.
Supported Operating Systems and Protocols
- ALB supports any operating system compatible with Amazon EC2.
- It supports HTTP and HTTPS protocols, with native HTTP/2 support available.
WebSocket and TCP Ports
- ALB supports WebSockets and allows load balancing on TCP ports ranging from 1-65535.
Features of Load Balancers
- ALB does not have feature parity with CLB; ALB is designed for the application layer moving forward.
- ALB allows configuration of security groups and can be used to limit EC2 instance traffic.
API Management
- Different APIs are required for ALB and CLB; management via the ELB Console or specialized CLI commands is necessary for both.
Load Balancer Migration
- Migration from CLB to ALB is possible, but conversion between the two types is not.
Load Balancer Configurations
- ALB can handle both HTTP and HTTPS on a single instance and supports HTTPS termination with SSL certificates.
Security and Compliance
- AWS WAF can be integrated with ALB for web application protection against attacks.
- ALB supports integration with AWS Certificate Manager to simplify SSL/TLS certificate management.
Load Balancing Across Environments
- Hybrid load balancing is achievable between VPC and on-premises locations.
- EC2-Classic instances can be balanced using ClassicLink to link their private IPs.
Advanced Features
- Cross-zone load balancing is enabled by default in ALB.
- User authentication can be done via Amazon Cognito or OpenID Connect providers.
Redirects and Content Types
- ALB supports various redirect types, including HTTP to HTTPS.
- Fixed-response action supports multiple content types such as text/plain and application/json.
Lambda Function Invocation
- ALB can invoke Lambda functions based on HTTP(S) requests, processing their content and response in JSON format.
Pricing Model
- Charges for ALB are based on hourly usage and Load Balancer Capacity Units (LCUs), which account for new connections, active connections, bandwidth, and rule evaluations.
- New AWS accounts can avail of a free tier for ALB offering 750 hours and 15 LCUs.
Resource Limits and Rule Evaluations
- AWS accounts have specific limits for Application Load Balancers, and rule evaluations are calculated based on processed rules and request rates.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge on Elastic Load Balancing with these flashcards. Learn about the different types of load balancers and how to choose the right one for your application needs. These cards will help solidify your understanding of this essential AWS service.