Creating Launch Templates and Auto Scaling Groups in AWS

Mohamed Ahmed

Created Apr 26, 2024

Creating Launch Templates and Auto Scaling Groups in AWS

25
    u

Launch templates | EC2 | us-east-1

10 Steps
1

Click on Launch Templates

Click on Launch Templates
2

Click on Create launch template

Click on Create launch template
3

Type "MyLT"

Type "MyLT"
4

Click on Quick Start

Click on Quick Start
5

Click on Amazon Linux

Click on Amazon Linux
6

Select the instance type, lick on t2.micro

Select the instance type, lick on t2.micro
7

Select a Security Group that allows access to HTTP on port 80

Select a Security Group that allows access to HTTP on port 80
8

Click on Advanced details

Click on Advanced details
9

Paste selected text into text area

Paste selected text into text area
10

Click on Create launch template

Click on Create launch template
    u

Auto Scaling groups | EC2 | us-east-1

24 Steps
11

Click on Create Auto Scaling group

Click on Create Auto Scaling group
12

Type "MyASG"

Type "MyASG"
13

Click on Select a launch template

Click on Select a launch template
14

Click on MyLT…

Click on MyLT…
15

Click on Next

Click on Next
16

Click on Select Availability Zones and subnets

Click on Select Availability Zones and subnets
17

Select 3 A

Select 3 A
18

Click on Next

Click on Next
19

Click on Attached to a new Load Balancer

Click on Attached to a new Load Balancer
20

Select Internet-facing

Select Internet-facing
21

Click on Create a target group…

Click on Create a target group…
22

Type "MyTG"

Type "MyTG"
23

Click on Next

Click on Next
24

Type "2"

Type "2"
25

Click on Choose to use a target tracking policy

Click on Choose to use a target tracking policy
26

Click on Target value

Click on Target value
27

Click on Next

Click on Next
28

Click on Skip to review

Click on Skip to review
29

Click on Create Auto Scaling group

Click on Create Auto Scaling group
30

Go to Load Balancers and select the newly created LB, Click on Copy DNS name of load balancer to test it on a new browser window

Go to Load Balancers and select the newly created LB, Click on Copy DNS name of load balancer to test it on a new browser window
31

Ensure the load balancer is using the correct security group which allows access to HTTP on Port 80

Ensure the load balancer is using the correct security group which allows access to HTTP on Port 80
32

Click on Web-Access…

Click on Web-Access…
33

Click on Save changes

Click on Save changes
34

Test the link on a new browser window

Test the link on a new browser window
Well done!
Create how-to guides like this in a snap. Get Tango now.