How to ensure horizontal scaling?
- load balancer
How to ensure vertical scaling?
use more powerful ec2 instances
How to ensure high availability
- load balancer multi AZ
What are the advantages of load balancers?
Why use elastic load balancer?
What load balancers are available?
How can load balancers improve security of ec2 instance?
Through security groups.
How can an application load route traffic to different target groups?
You would need one classic load balancer for each application.
What can an application load balancer target group consist of?
When do you need network load balancer and what does it do?
- it forwards the traffic at the protocol layer
How can you make sure a user does not use its session data?
By using sticky sessions using cookies
How can you secure the connection using load balancers?
- certificates can be managed through aws certificate manager
How can you react to a decreasing or increasing load using a load balancer?
attach a load balancer to an auto scaling group
What are the available scaling policies?
-Dynamic ScalingPolicies
-Target Tracking Scaling (e.g. CPU to stay around 40%)
-Simple Scaling (When a CloudWatch alarm is triggered (example CPU > 70%), then add 2 units
• When a CloudWatch alarm is triggered (example CPU < 30%), then remove 1)
- Scheduled Actions - Predictive Scaling
What are good metrics to scale on?
How can you perform actions on auto scaling events?
-through lifecycle hooks