You are on page 1of 12

Assisted Practice: Set Up an Autoscaled

Environment

This section will guide you to:

● Set up an autoscaled environment

This lab has three subsections, namely:


5.5.1 Create a launch template
5.5.2: Create a launch configuration
5.5.3: Create an auto scaling group

Step 5.5.1: Create a launch template

● Go to the Amazon console


● Search for Amazon EC2 in the search field

● On the left navigation pane, choose Launch Templates


● Click on the Create launch template button
● Enter a name and provide a description for the initial version of the launch
template

● For Amazon machine image (AMI), enter the ID of the AMI for your instance
● Choose the t2.micro instance type
● Choose Create launch template

● You will get a message as shown in the following screenshot:

Step 5.5.2: Create a launch configuration

● Go to the Amazon console


● Search for Amazon EC2 in the search field

● On the left navigation pane, choose Launch Configurations

● Click on the Create launch configuration button


● Enter a name for your launch configuration

● Select an AMI for your instances


● On the Choose Instance Type page, select t2.micro instance type, and then
choose Next: Configure details
● Choose Skip to review
● On the Review page, choose Edit security groups
● You can select an existing security group or create a new one.

● Choose Create a new key pair


● Choose Create launch configuration

Step 5.5.3: Create an auto scaling group

● Go to the Amazon console


● Search for Amazon EC2 in the search field
● On the left navigation pane, choose Auto Scaling Groups

● Choose Create an Auto Scaling group


● On the Choose launch template or configuration page, enter a name for
your auto scaling group
● Choose the launch template that you created, and then click on the Next
button
● On the Configure settings page, choose Adhere to launch template
● Click on the Next button

● On the Configure advanced options page, choose Enable load balancing


● Choose Application Load Balancer or Network Load Balancer, and then
select the load balancer
● Choose Skip to review
● Click on the Create Auto Scaling group button

● You will get a message as shown in the following screenshot:

You might also like