Content

                                                  Content How to create an AWS free Account? Lab 1: To launch amazon Linux EC2 instance Lab 2: To Connect to the instance from Linux client Operating System Lab 3:To Launch amazon windows instance Lab 4: Installing apache in EC2 instance Lab 5: Installing Nginx in EC2 instance Lab 6: Changing Host Name Lab 7: Creating a user and making as a sudoer Lab 8:Assigning an Elastic ip Lab 9:Creating ebs,attach and detach the volumn to the instance Lab 10:Creating an S3 Bucket and creating cross replication in another region Lab 11:Load Balancer Lab 12:Two instances with Application Load Balancer Lab 13:Launching two instances with load Balancer Lab:14 Creating Own VPC  Lab 15: Two instances which classic load Balance with own VPC Lab 16:Two instances with Application load Balancer with own VPC Lab 17: Relational Data B...

Lab 19:AutoScaling

                                  AutoScaling

What is Autoscaling?why we use?

Autoscaling is a service that automatically monitors and adjust compute resource to maintain performance for applicaions hosted in the cloud.

Auto scaling flow:

 

Steps to create auto scaling:

·        To work on the auto scaling group we need to create a template(launch the configuration)

·        Launch an EC2 instance

·        Next associate the launch configuration with auto scaling.

·        Create auto scaling group

Lab: First launch an instance

Go to the EC2 dashboard and go the auto scaling section.

Click on launch configuration

 


 


Select an amazon linux


Go with the default instance type

Click on Configure Details

Name as auto scaling

 


Click on add storage

 


Leave as default one

Click on configure security group

 


Select new security group name as auto scaling

Leave default port number

Click on Review


 

Click on Launch Configuration.

 


Create a new key pair

Download key pair

Click on Launch configuration



Now create a auto scaling group

 



Give a name to group name

Select the group size as required

Go with the default vpc

Select all the subnets.

Click on configure scaling policies.

 

Go with the default one

 

Click on next:Configure tags

 


Click on create auto scaling group

 



Reference:https//www.youtube.com/watch?v=7sfvzqoVcCl

 


Comments

Popular posts from this blog

Lab 21:Installing docker in instance and build an image

Lab 22:Pushing a docker image to docker hub

Lab 5: Installing Nginx in EC2 instance