Compute - Components of EC2 Auto Scaling Flashcards

1
Q

What are the two steps involved in configuring EC2 auto scaling?

A
  • Creation of launch configuration or launch template
  • Creation of an auto scaling group
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the main differences between a launch configuration and a launch template?

A
  • Launch template is a newer and more advanced version of the launch configuration.
  • Launch template allows for a standard configuration to simplify instance launches for auto scaling groups.
  • Launch template provides more advanced features and options.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

How do you create a launch template?

A
  • Go to the EC2 section in the AWS Management Console.
  • Select “Launch Templates” under the “Instances” menu.
  • Click on “Create Launch Template” button.
  • Provide a name, description, and configure the launch template contents (e.g., AMI, instance type, security groups).
  • Specify additional details such as network interfaces, storage volumes, instance tags, and advanced options.
  • Click on “Create Launch Template” to create the template.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How do you create a launch configuration?

A
  • Go to the EC2 section in the AWS Management Console.
  • Select “Launch Configurations” under the “Auto Scaling” menu.
  • Click on “Create Launch Configuration” button.
  • Select an AMI, instance type, security groups, and other configuration options.
  • Configure advanced options, if needed.
  • Optionally, associate a key pair.
  • Click on “Create Launch Configuration” to create the configuration.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why is a launch configuration or launch template necessary for auto scaling?

A
  • Auto scaling relies on the launch configuration or launch template to know which instance to launch and how to configure it.
  • It defines the parameters required for launching instances in an auto scaling group.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does an auto scaling group define?

A
  • Desired capacity and limitations of the group
  • Scaling policies for increasing or decreasing the group size
  • Resource scaling details such as availability zone selection
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How do you create an auto scaling group?

A
  • Go to the EC2 section in the AWS Management Console.
  • Select “Auto Scaling Groups” under the “Auto Scaling” menu.
  • Click on “Create Auto Scaling Group” button.
  • Choose a launch template or launch configuration.
  • Configure the group name, fleet, group size, VPC, and other options.
  • Set up scaling policies for increasing or decreasing group size.
  • Configure notifications, tags, and review the settings.
  • Click on “Create Auto Scaling Group” to create the group.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly