AWS Elastic Load Balancing (ELB) Flashcards
What is Amazon EC2 Auto Scaling?
Amazon EC2 Auto Scaling automates the process of launching (scaling out) and terminating (scaling in) Amazon EC2 instances based on the traffic demand for your application.
What does Auto Scaling do?
Auto Scaling helps to ensure that you have the correct number of EC2 instances available to handle the application load.
What is the benefit of Amazon EC2 Auto Scaling?
Amazon EC2 Auto Scaling provides elasticity and scalability.
What do you create in Amazon EC2 Auto Scaling?
You create collections of EC2 instances, called an Auto Scaling group (ASG).
What metrics do you specify in ASG in EC2 Auto Scaling?
You can specify the minimum number of instances in each ASG, and AWS Auto Scaling will ensure the group never goes beneath this size.
You can also specify the maximum number of instances in each ASG, and the group will never go above this size.
What is desired capacity in EC2 Auto Scaling?
A desired capacity can be configured, and AWS Auto Scaling will ensure the group has this number of instances.
What do Scaling Policies do in ASG?
You can also specify scaling policies that control when Auto Scaling launches or terminates instances.
Scaling policies determine when, if, and how the ASG scales and shrinks (on-demand/dynamic scaling, cyclic/scheduled scaling).
What are Scaling Plans in EC2 Auto Scaling?
Scaling Plans define the triggers and when instances should be provisioned/de-provisioned.
What is Launch Configuration in EC2 Auto Scaling?
A launch configuration is the template used to create new EC2 instances and includes parameters such as instance family, instance type, AMI, key pair, and security groups.
What is Amazon Elastic Load Balancing (ELB)?
ELB automatically distributes incoming application traffic across multiple targets, such as Amazon EC2 instances, containers, and IP addresses.
ELB can handle the varying load of your application traffic in a single Availability Zone or across multiple Availability Zones.
What features does ELB have?
ELB features high availability, automatic scaling, and robust security necessary to make your applications fault tolerant.
What are the two types of ELBs?
Application Load Balancer (ALB) – layer 7 load balancer that routes connections based on the content of the request.
Network Load Balancer (NLB) – layer 4 load balancer that routes connections based on IP protocol data.
What is an Application Load Balancer (ALB)?
ALB is best suited for load balancing of HTTP and HTTPS traffic and provides advanced request routing targeted at the delivery of modern application architectures, including microservices and containers.
Operating at the individual request level (Layer 7), Application Load Balancer routes traffic to targets within Amazon Virtual Private Cloud (Amazon VPC) based on the content of the request.
What is a Network Load Balancer (NLB)?