Udemy Lecture: Greater loaLB & ASG- Elastic load balancing & Auto scaling groups Flashcards
Scalability means what?
that an application/ system can handle greater loads by adapting
What are the two types of scalability?
-Vertical scalability
-Horizontal scalability (= elasticity)
Scalability is linked but different to high _____________
availability
What does vertical scalability means?
means increasing the size of the instance (ex. Your EC2 instance went from t2.mirco to t2.large)
_____________ is very common for non distributed systems, such databases
Vertical scalability
What does horizontal scalability mean?
increasing the number of instances/ systems for your application
___________ usually goes hand in hand with horizontal scaling
High availability
What does high availability mean?
High availability means running your application / system in at 2 availability zone
What is goal of high availability?
is to survive data center loss (disaster)
What is the difference between scalability, elasticity, and agility?
Scalability- is the ability to accommodate a larger load by making the hardware stronger (scale up) or by adding nodes (scale out)
Elasticity- is once a system is scalable, elasticity means that there will be some “auto-scaling” so that the system can scale based on the load. This is “cloud-friendly”, pay per use, match demand, optimize costs
Agility (not related to scalability- distractor)- new IT resources are only a click away, which means that you reduce the time to make those resources available to your developers from weeks to just minutes
What is a load balancer?
Load balancer are servers thay forward internet traffic to multiple server (EC2 instances) downstream
With a __________ you can load across multiple downstream instances
load balancer
-Spread the load across multiple downstream instances
-Expose a single point of access (DNS) to your application
-Seamlessly handle failure of downstream instances
-Provide SSL termination (HTTPS) for your websites
-High availability across zones
An ____________ is a managed load balancer
ELB (Elastic load balancer)
-AWS guarantees that it will be working
-AWS takes care of upgrades, maintenance, high availability
-AWS provides only a few configuration knobs
What are the 3 different types of load balancer offered by AWS?
-Application load balancer (HTTP/ HTTPS only) - layer 7
-Network load balancer (ultra-high performance, allows for TCP)- layer 4 (lower level)
-Gateway load balancer- layer 3
When you see HTTP/ HTTPS /gRPC protcocols (layer 7) then its ___________
Application load balancer (ALB)
-HTTP routing features
-Static DNS (URL)