Which AWS service automatically distributes incoming application traffic across multiple targets and virtual appliances, both in AWS and on-premises environments?
The Elastic Load Balancer (ELB) abstracts customer traffic from infrastructure, allowing each tier to scale independently
What are the different types of Elastic Load Balancers offered by AWS?
What are the primary considerations when configuring an ELB in AWS?
How many IP addresses does an ELB require to operate?
ELB requires at least 8 free IP addresses to function and allow for scaling (/28 subnet is sufficient, but /27 or larger is preferred)
What is the difference between a public-facing and an internal ELB?
Which component of an ELB requires configuration to accept traffic on a specific port/protocol and communicate with targets on a port/protocol?
Listeners
What key feature of an ELB ensures that incoming requests are evenly distributed across all registered instances in multiple AZs, enhancing fault tolerance and overall application responsiveness?
Cross-zone Load Balancing
Each ELB node in every AZ can evenly distribute traffic to targets in different AZs
Why is the Classic Load Balancer (CLB) not recommended for use?
Classic Load Balancers do not support Server Name Indication (SNI), requiring a separate CLB for each unique HTTPS name
In contrast, both ALB and NLB support rules, target groups, and host-based rules using SNI
Does ALB support an unbroken connection from the customer to the application instance?
No, SSL/TLS is always terminated at the ALB
Meaning there is no unbroken SSL connection from the client to the application instance, a new SSL connection is established between the ALB and the application instance
What are the primary features of an ALB?
Which ALB component handles incoming connection requests based on a specific protocol and port?
Listener, which processes and routes incoming requests
Which ALB component consists of a priority, one or more actions, and one or more conditions?
Listener Rule, processed in sequence, with the default rule (catch-all) processed last
What conditions can be set in a Listener Rule?
What actions can a Listener Rule perform?
What are the primary features of NLB?
When should an NLB be preferred over other types of load balancers?
For all other scenarios, use an ALB
What options does ELB offer for handling secure connections?
What approach does ELB use for handling secure connections when traffic is decrypted, inspected, and then re-encrypted?
SSL Bridging (ALB)
What approach does ELB use for handling secure connections when encrypted traffic is passed directly without decryption?
SSL Pass-Through (NLB)
What approach does ELB use for handling secure connections when traffic is decrypted and then forwarded in plain HTTP without encryption?
SSL Offload/Termination (ALB)
What are the primary features of SSL Bridging?
Negatives: The certificate is stored on the load balancer itself (posing a risk), and EC2 instances also need a copy of the certificate, introducing administrative overhead and the need for compute resources to perform cryptographic operations
What are the primary features of SSL Pass-Through?
What are the primary features of SSL Offload/Termination?
Which ELB feature enables a load balancer to route requests from a specific client to the same instance for the duration of a user’s session?
Sticky Sessions (also known as session affinity or session persistence)