Skip to content

Latest commit

 

History

History
41 lines (31 loc) · 1.72 KB

COM03-AWS200.md

File metadata and controls

41 lines (31 loc) · 1.72 KB

COM03-AWS200 - Create an Auto Scaling Group

Cloud Service Provider

  • Amazon Web Services

Difficulty

  • Level 200 (Intermediate)

Project's Author(s)

Chris Nagy

Objectives

You need to complete the following:

  • Create a Launch Configuration
  • Create an Auto Scaling Group with a minimum of two and maximum of five EC2 instances
  • Terminate one instance manually
  • After the ASG is in place, increase the desired number of instances to three
  • Delete all the resources you created

You need to answer the following:

  • What are the key differences between a Launch Template and Launch Configuration?
  • What happens if you terminate one of the running instances in an ASG manually?
  • How can you set and change the minimum, desired and maximum number of instances in an ASG?
  • Based on what metrics can an ASG spin up / spin down instances?
  • What EC2 configuration settings can you set in a Launch Template/Configuration?
  • Can you use Spot instances with a Launch Template/Configuration?
  • How many subnets and regions can a single ASG utilize?
  • What is the difference between "desired capacity" and "minimum capacity"?
  • In which order will EC2 instances be terminated in case of a scale-in event?

References

Tips

  • Use t2.micro instances for the Auto Scaling Group to avoid unexpected charges.
  • Don't panic if the instances always come back after you delete them, there's a reason for that.