click below
click below
Normal Size Small Size show me how
ELB & ASG
Auto Scaling Groups and Elastic Load Balancers
Question | Answer |
---|---|
Define Scalability including the two types | Scalability = ability of an application to respond to variable load Vertical scalability = variable strength of hardware e.g. bigger instance types Horizontal scalability = variable volume of hardware e.g. more or less of a given instance type |
Define Availability | Availability = resilience of an application in the face of disaster e.g. server destruction |
Define Agility | Agility = distractor; the ease with which cloud computing resources can be accessed by a professional compared to the overheads of setting up inhouse infrastructure |
What is an Elastic Load Balancer and what are the benefits? | A managed service from AWS that groups EC2 instances together Benefits: One end point for an application Spreads load across resources Direct load away from poorly performing instances Perform health checks and automatically reboot instances |
What are the three types of ELB? | Application Load Balancer Network Load Balancer Gateway Load Balancer |
Describe the three main auto-scaling strategies | Manual Dynamic - scheduled, performance target tracking, demand steps Predictive - using ML |
What is an Auto Scaling Group? | - Automatically horizontally scale the number of EC2 instances provisioning an application, to match demand - Positive financial and environmental impact - Automatic registration with a load balancer - Capable of rebooting unhealthy instances |
What is an ALB? | Application Load Balancer - HTTP/HTTPS - single URL endpoint (Static DNS) - layer 7 |
What is an NLB? | Network Load Balancer - UDP/TCS - high performance, low latency (millions of requests per second) - Layer 4 - Single IP address end point |
What is a GWLB? | Gateway Load Balancer - GENEVE protocol on IP packets - For directing requests to a third party firewall before routing to application - Deep packet inspection - Intrusion detection - Layer 3 |