Questions tagged [aws-auto-scaling]
378 questions
1
vote
1 answer
HPA + Cluster Autoscaler not being cost efficient
while using both HPA and Cluster Autoscaler in Kubernetes, I have this scenario below.
Maximum 3 pods can fit into a single node. I have setup HPA min replica as 15, and max as 39. So, at first, I only had total 5 nodes which can accomodate all 15…

Piljae Chae
- 987
- 10
- 23
1
vote
1 answer
How to convert an Amazon EC2 instance for use with Auto Scaling?
I have 1 perfect AWS EC2 instance in working condition which is running NODE js
which have its elastic IP.
Now I need to auto-scale if that instance in use over 80%.
I do know few ways to do that but am not able to figure out, when new instance…

Madan Raj
- 43
- 2
- 4
1
vote
3 answers
AWS EC2 how to change instance type when the instance is connected to an autoscaling group?
I'm getting puzzled by this. I need to increase the specifications of an EC2 instance and am following this tutorial: Change the instance type for the current instance configuration
But it appears that the instance is connected to an autoscaling…

Don Giulio
- 2,946
- 3
- 43
- 82
1
vote
1 answer
How to auto scale sudden request spike in AWS and GCP in cost effective way?
We have SaaS application and we have thousands of customers. When our customers website get traffic then we also get same traffic as we are tracking activities of our customer's website visitors.
We couldn't get at which time we get sudden spike and…

Premanandh Selvakumarasamy
- 1,332
- 7
- 27
1
vote
1 answer
How can I do AWS EC2 instance auto scale down in night (stop & change to t2.small) and automatic scale up (stop & go to t2.large) in morning?
I am looking AWS EC2 autoscaling feature that can automatically stop my EC2 instance at night and change my instance type (i.e: t2.xlarge to t2.small) for the whole night and in the morning again stop EC2 instance and change instance type (i.e…

Ausaf Ulhaq
- 31
- 5
1
vote
0 answers
i am getting this error: Received 0 SUCCESS signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement
Hi i am working on cloudformation template, my aim is to create High availability auto scaling group in ECS but i am getting this error. Events screenshot and code screenshot added. If u want any requirements ready to give
enter image description…

Shaik Moulali
- 11
- 1
1
vote
2 answers
AWS Auto Scaling Group: is it possible to schedule an increase of capacity every first sunday of each months?
I'm using Auto Scaling groups which works pretty fine with some custom rules I've set, but I also noticed that I need to set the minimum values of servers to a certain, higher, amount every first Sunday of each month (we have an increase in requests…

Cyril N.
- 38,875
- 36
- 142
- 243
1
vote
1 answer
Creating a LaunchConfiguration and updating the ASG
I have a script which is going to create a new LaunchConfiguration with new AMI_ID and retaining all the existing metadata like user_data etc. Then I'm triggering a ASG instance refresh to launch instances with the new LC. What I'm concerned is, as…

Balasubramaniam Selva Perumal
- 77
- 1
- 1
- 5
1
vote
0 answers
AWS auto scaling group - codedeploy should run after userdata script in ec2 instance is completed
I have configured an auto scaling group using launch configuration with userdata script to install nodejs while launching the instance. And codedeploy application is configured for the auto scaling group to deploy an app from s3 bucket.
when a new…

Vazid
- 713
- 1
- 6
- 19
1
vote
1 answer
AWS Auto Scaling scales Instances down too slow?
I have 2 metrics for my Instances attached to my Load balancer and Auto Scaling Group, one to scale instances up based on CPU Utilization and one to scale down.
My scaling up one works fine whereas the scaling down Instances when under 40% CPU Util…

asd32324
- 63
- 3
1
vote
2 answers
Is it possible to extract "instanceId" from EventBridge event data, and use it as Target Value?
I was able to setup AutoScaling events as rules in EventBridge to trigger SSM Commands, but I've noticed that with my chosen Target Value the event is passed to all my active EC2 Instances. My Target key is a tag shared by those instances, so my…

Merricat
- 2,583
- 1
- 19
- 27
1
vote
1 answer
AWS Schedule AutoScaling via terraform (timezone issue)
I have a common TF code for different regions in my AWS, and similarly have a common autoscaling block in TF for all my regions.
Now I want to do time-based scheduling for my ASG, but since the timezones are different in different regions. I am not…

Legitimate_Figure_4430
- 85
- 2
- 9
1
vote
1 answer
Allowing load-balanced autoscaled instances to connect to the internet - AWS / Terraform
I'm using Terraform and I'm having a tricky time with connecting my autoscaled AWS EC2 instances to the internet. I can launch a standalone EC2 that connects with no difficulty, but when I visit the public IP addresses of my instances created with…

Jacob
- 53
- 5
1
vote
0 answers
AWS auto scaling adds additional node resulting in 5xx errors
I am new to AWS, I have auto scaling enabled for my Elastic Beanstalk based server. For some reason the below healthd process is almost fully consuming the cpu causing the auto scaler to add a new instance as I have set the expansion policy to add a…

A_Matar
- 2,210
- 3
- 31
- 53
1
vote
0 answers
AWS auto-scaling desired capacity changed automatically and is not coming down
I have an auto-scaling group with two target scaling policies, one is based on SQS backlog and another on CPU-Utilization. I have initially set the capacities at minimum-1,desired-1,maximum-4. During the scale-out process, my desired capacity…

DC_Valluru
- 83
- 8