Auto Scaling Flashcards
What does Auto Scaling do?
Scales out EC2 instances
When will ASG replace a failed instance?
When EC2 fails a Status Check
Does ASG provide Fault Tollerance?
Yes
Does ASG provide High Availabilty?
Yes
Can you edit a launch configuration?
No
Can you edit ASG Launch templates?
Yes
Can you use both spot and on-demand instances in a Launch Template?
Yes
What does scale in protection do?
Stops EC2 instances being terminated
What health check is used by default by ASG?
EC2 Status Checks
Should you use ELB health checks and EC2 health checks at the same time with ASG?
Yes
Why would you use “scheduled scaling” with ASG in advanced of peak traffic?
So instances have time to warm up
Why use ASG “Dynamic scaling”?
To track the demand curve and reduce manual provisioning
What does an ASG “Target tracking” policy do?
Maintain resource at a usage percentage
Can you create your own ASG Termination policy?
Yes
When is ASG Lifecycle Hook “Pending:Wait” used?
To check an instance before it goes into load
When is ASG Lifecycle Hook “Terminating:Wait” used?
To check logs before a server goes out of load
ALB - SurgeQueueLength
Total pending http routing requests
ALB - SpilloverCount
Rejected because the surge queue is full
What monitor level is created for a launch configuration created through the console?
default - 5mins
What monitor level is created for a launch configuration created through the CLI?
detailed - 1min
What is Systems Manager Parameter Store used for?
It is used to stored password, secure connection strings
Can Systems Manager Parameter Store encrypt the data?
Yes
Can Systems Manager Parameter Store rotate the keys?
No - that is the difference with Secrets Manager
What is AWS OpsWorks
It’s a managed service of Chef and Puppet