AWS Classroomnotes 24/Sep/2022

AWS Autoscaling Group (ASG)

  • AWS Autoscaling Group allows us to launch multiple ec2 instances and maintain the count
  • ASG has two kinds of scaling
    • Fixed Number
    • Elasticity
  • Lets create an ec2 autoscaling group with fixed number of ec2 instances.

Scenario:

  • create an ec2 autoscaling group with fixed number of ec2 instances with php info application.
  • Steps:
    • Ensure we have an ami with php info and stress tool installed. Refer Here
    • Create a Launch Template with php info ami
    • Create auto scaling group










    • Right now two ec2 instances are running lets terminate one ec2 instance and see what happens

    • Once you are done either delete the autoscaling group or update the desired capacity to zero.
  • Exercise: Create Autoscaling group with fixed scaling with php info ami.
    • Create AMI
    • Create Launch Template (AMI is mandatory)
    • Create Autoscaling group
Published
Categorized as Uncategorized Tagged

By continuous learner

devops & cloud enthusiastic learner

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Responsive Web Designing Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%