Elastic Load Balancing Flashcards
32 Questions
100 Views

Elastic Load Balancing Flashcards

Created by
@CorrectSaxhorn

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?

<p>An Application Load Balancer supports targets with any operating system currently supported by the Amazon EC2 service.</p> Signup and view all the answers

Can an Application Load Balancer load balance using HTTP and HTTPS protocols?

<p>True</p> Signup and view all the answers

What TCP ports can I use to load balance?

<p>You can perform load balancing for the TCP ports 1-65535.</p> Signup and view all the answers

Is WebSockets supported on an Application Load Balancer?

<p>True</p> Signup and view all the answers

Is Request tracing supported on an Application Load Balancer?

<p>True</p> Signup and view all the answers

Does a Classic Load Balancer have the same features and benefits as an Application Load Balancer?

<p>No, while there is some overlap, there is no feature parity between the two types.</p> Signup and view all the answers

Can I configure my Amazon EC2 instances to accept traffic only from my Application Load Balancers?

<p>True</p> Signup and view all the answers

Can I configure a security group for the front-end of an Application Load Balancer?

<p>True</p> 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?

<p>False</p> Signup and view all the answers

Can I migrate to Application Load Balancer from Classic Load Balancer?

<p>Yes, you can migrate using the options provided in the documentation.</p> Signup and view all the answers

Can I use an Application Load Balancer as a Layer-4 load balancer?

<p>False</p> Signup and view all the answers

Can I get a history of Application Load Balancing API calls made on my account?

<p>True</p> Signup and view all the answers

Does an Application Load Balancer support HTTPS termination?

<p>True</p> Signup and view all the answers

What are the steps to get an SSL certificate?

<p>Use AWS Certificate Manager or obtain a certificate from other sources and upload it.</p> Signup and view all the answers

Is back-end server authentication supported with an Application Load Balancer?

<p>False</p> Signup and view all the answers

How can I enable Server Name Indication (SNI) for my Application Load Balancer?

<p>SNI is automatically enabled when you associate more than one TLS certificate with the same secure listener.</p> Signup and view all the answers

Is IPv6 supported with an Application Load Balancer?

<p>True</p> Signup and view all the answers

Is there a limit on the resources for an Application Load Balancer?

<p>True</p> Signup and view all the answers

How can I protect my web applications behind a load balancer from web attacks?

<p>Integrate your Application Load Balancer with AWS WAF.</p> Signup and view all the answers

How can I load balance applications distributed across a VPC and on-premises location?

<p>You can add them to the same target group, migrate targets gradually, or use separate load balancers.</p> Signup and view all the answers

How do I enable cross-zone load balancing in Application Load Balancer?

<p>True</p> Signup and view all the answers

How does Lambda invocation via Application Load Balancer work?

<p>HTTP(S) requests are processed based on routing rules, invoking the Lambda function with request content in JSON format.</p> Signup and view all the answers

Does Lambda invocation via Application Load Balancer support requests over both HTTP and HTTPS protocol?

<p>True</p> Signup and view all the answers

Is the Application Load Balancer available in Local Zones?

<p>Yes, it is available in the Local Zone in Los Angeles.</p> Signup and view all the answers

How does Application Load Balancer pricing work?

<p>You are charged for each hour and the number of Load Balancer Capacity Units (LCU) used per hour.</p> Signup and view all the answers

What is a Load Balancer Capacity Unit (LCU)?

<p>An LCU defines the maximum resource consumed in any one of the dimensions (new connections, active connections, bandwidth, and rule evaluations).</p> Signup and view all the answers

Will I be billed on Classic Load Balancers by LCU?

<p>False</p> Signup and view all the answers

How do I know the number of LCUs an Application Load Balancer is using?

<p>Usage is exposed via CloudWatch.</p> Signup and view all the answers

Is a free tier offered on an Application Load Balancer for new AWS accounts?

<p>True</p> 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.

Quiz Team

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.

Use Quizgecko on...
Browser
Browser