Auto Scaling LAB
Auto Scaling LAB
VPC Creation
1. Login to AWS console and click on your VPC. Click on create VPC
2. Provide name of VPC “ My VPC1” and provide CIDR block 10.0.0.0/16
3. Use Default tenancy as default will be paid and click on create VPC.
Subnet Creation
StorageTech Noida, Second Floor, ICICI Bank Sector 12 Noida -201301 Www.StorageTech.org
StorageTech
Create One EC2 in Subnet-1
Launch Configuration
Create Auto Scaling Group
Launch Configuration
Launch configuration is the step to provide first machine that will be added to the ASG and same
configuration will be replicated to all newly added machines while up-scaling
We have two way to configure it 1) Direct by launch Configuration ( Just like Template
configuration) 2) By AMI image
AMI Method
StorageTech Noida, Second Floor, ICICI Bank Sector 12 Noida -201301 Www.StorageTech.org
StorageTech
7. Choose Desired Capacity 1, Minimum-1 and Maximum -4
8. Choose Scaling policy “Matric type Cpu utilization, Target Value 30
9. Finish it up by provide general details.
10. Please ensure before trigerring finished Subnet1” and select “ Auto assign Public IP” – Enable
11. Go to EC2 Instance and see machine with Desired capacity will be getting created.
12.
StorageTech Noida, Second Floor, ICICI Bank Sector 12 Noida -201301 Www.StorageTech.org