ELB + ASG Flashcards
Scaling by increasing the size of the instance
Vertically scalability
scaling that is very common for non-distributed systems, such as a database
Vertically scalability
Scaling by increasing the number of instances/systems for your application
Horizontal Scalability
Scaling that is common for web applications/modern applications
Horizontal Scalability
Ensure and agreed level of operational performance (uptime) for a higher-than-normal period
High availability
Having redundant copies of an object or resource to make sure that another can take its place when something happens to it
High availability
Horizontal Scaling for EC2 involves using _________________ to scale out/in the number of instances
Auto Scaling Group or a Load Balancer
High Availability for EC2 involves using ___________________ to run instances for the same application across multi-AZ
Auto Scaling Group multi-AZ, Load Balancer multi-AZ
Servers that forward traffic to multiple servers (e.g., EC2 instances) downstream that expose a single point of access (DNS) to your application
Load Balancers
Enables the load balancer to know if instances it forwards traffic to are available to reply to requests
Health Checks
Type of Load Balancer that uses HTTP, HTTPS, WebSocket. Is a great fit for micro services & container-based applications
Application Load Balancer
Type of Load Balancer that handles millions of request per second and uses TCP, TLS (secure TCP), UDP. There is only one static IP per AZ.
Network Load Balancer
Type of load balancer that operates at layer 3 (Network layer) – IP Protocol. Used to deploy, scale, and manage a fleet of 3rd party network virtual appliances in AWS
Gateway Load Balancer
Do NLBs support assigning Elastic IPs?
Yes
Target group of a load balancer:
- EC2 instances (can be managed by an Auto Scaling Group) – HTTP
- ECS tasks (managed by ECS itself) – HTTP
- Lambda functions – HTTP request is translated into a JSON event
- IP Addresses – must be private IPs
Application Load Balancer