Questions tagged [aws-asg]

8 questions
70
votes
5 answers

What is the difference between AWS ASG Launch Templates and Launch Configurations?

I'm getting confused when using Terraform to provision an auto-scaling group. Should I use launch configuration or launch template for EC2 properties, such as which AMI, instance types, ...? I don't know what the difference is between them, which we…
Dat Ho
  • 975
  • 1
  • 7
  • 9
14
votes
1 answer

What's the difference between AWS ASG Cooldown Period and health check grace period?

AWS Autoscaling has 2 concepts: Cooldown period: From AWS documentation: the cooldown period helps to ensure that your Auto Scaling group doesn't launch or terminate additional instances before the previous scaling activity takes effect. You can…
krishna_mee2004
  • 6,556
  • 2
  • 35
  • 45
0
votes
0 answers

how to do when the cpu utiliztion makes high and need to launch a new server when cloudwatch alarm hits auto scaling group

if I launch an autoscaling group it automatically launches a certain instance that I have given in a desired capacity. And When the cloud watch alarm hits the instance should be launched through auto scaling. if I launch an autoscaling group it…
0
votes
0 answers

Maintaining desired instances when using AWS CodeDeploy with ASG as a capacity provider

I have an application running in ECS with asg as the capacity provider and using code deploy for rolling out new images. the scaling policy configured in ECS service triggers autoscaling based on the cpu/mem metrics through cloud-watch alarms…
0
votes
0 answers

Route path base traffic in ELB to different Target groups using Lambda or some other method

I have a use case in which I have to enable path base routing according to EC2 instance id in ALB. Suppose I have abc.com/node=i-085aba4d8dxxxxx36. The traffic should be directed to the target group which contains the particular node present in the…
0
votes
0 answers

WHY does AWS separate 2 different parameters: cooldown for simple scaling, warmup for step scaling?

I searched & found good explanation about what AWS autoscaling timer cooldown & warmup are but I would like to more understand WHY we separate different timers for each type of scaling policy - cooldown for simple scaling, warmup for step scaling In…
Dark Night
  • 31
  • 3
0
votes
1 answer

Instance failed to complete user's Lifecycle Action

I have an ASG and Codedeploygroup and lifecycle hook attached to that ASG. Now the scenario here is i have an instance that is shared and three lifecycle hooks are attached to it deploying from three different codedeploy group. Issue: My instance…
Anuj Kishor
  • 191
  • 1
  • 2
  • 8
0
votes
0 answers

How AWS Auto Scaling Group shows 33GiB for m5.2xlarge?

As per this document, https://aws.amazon.com/ec2/instance-types/ m5.2xlarge will have 8 vCPUs and 32GB Memory. But, when I create Auto Scaling Group and select m5.2xlarge as the instance type I see 33GiB in the Memory field. How does ASG shows…
karthikeayan
  • 4,291
  • 7
  • 37
  • 75