Questions tagged [aws-auto-scaling]
378 questions
2
votes
1 answer
How to detect ECS fargate task autoscaling events like LifeCycleHook
I have ECS container running some tasks. The server running inside the task may take 1~10 minutes to complete one request.
I am using SQS for task queuing. When certain amount tasks exceeds it scale-up the ECS tasks. And it scale-down when task in…

I. Ahmed
- 2,438
- 1
- 12
- 29
2
votes
1 answer
Why scale-in protection doesnt work for the instance
i have an aws asg -> config : min=2 , max=2 , desired capacity =2
I did this
set an instance with scale-in protection.
suspended process of launch and ReplaceUnhealthy to avoid creation of new instancetermination of stopped instance.
aws…

Jatin Mehrotra
- 9,286
- 4
- 28
- 67
2
votes
1 answer
AWS Service-linked role for DynamoDB tables and global secondary indexes autoscaling
As per the documentation here, there is a service linked role for dynamodb auto scaling - AWSServiceRoleForApplicationAutoScaling_DynamoDBTable.
The role permissions policy allows Application Auto Scaling to complete the following actions on all…

Jimson James
- 2,937
- 6
- 43
- 78
2
votes
1 answer
Do we lose working capacity of websocket connections during the Terminating:Wait in AWS?
Regarding to AWS official documentation:
https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html
during the scale-in process an instance initially goes into Terminating:Wait state before it will be eventually terminated. While an…

Aslan
- 21
- 5
2
votes
2 answers
AWS Autoscaling Group EC2 instances go down during cron jobs
I tried autoscaling groups and alternatively just a bunch of EC2 instances tied by load balancer. Both configs are working fine at first glance.
But, when the EC2 is a part of autoscaling group it goes down sometimes. Actually it happens very often,…

Yevgeniy Afanasyev
- 37,872
- 26
- 173
- 191
2
votes
1 answer
Application Load balancer doesn't keep requests till opening new instances by an autoscaling group
On AWS, I created an auto-scaling group with an automated scaling policy that adds a new instance based on an Application Load Balancer: Average Request Count Per Target above 5.
The target group is the number of HTTP requests sent to the Load…

mmaher
- 55
- 9
2
votes
1 answer
How to auto-scale an AWS lambda using auto-scaling service
I am trying to add the lambda in the Auto-scaling target, and getting the error "No scalable resources found" while trying to fetch by tag.
Is it possible or allowed to add lambda to the auto-scaling target?
UPDATE:
I am trying to figure out how to…

Arpit
- 521
- 2
- 8
- 22
2
votes
2 answers
How do I make my EKS AutoScalingGroup start a node with a specific instance-type if one is not already running?
I've been combing through documentation trying to find out if we are able to implement a specific EKS architecture for our use-case, and have not found a clear answer on how to do it or if it's possible.
Scope
We have several small pods that run…

chaveser
- 31
- 8
2
votes
1 answer
How to send HTTPs request to an ELB in AWS to route it to HTTP port on the EC2 instances running behind it attached to auto scaling group?
I’m trying to setup an Elastic Load balancer (listening to HTTPs on port 443) with EC2 instances running behind it (attached to an Auto-Scaling group).
I want to send HTTPs traffic to the ELB. However, I want the request to be translated as HTTP…

Saksham
- 59
- 8
2
votes
1 answer
ec2 instances and AWS auto scaling group
I use the module, https://github.com/terraform-aws-modules/terraform-aws-ec2-instance to provision the ec2 instances on AWS. I would like to have AWS auto scaling group feature implemented, i.e. in case one of the ec2 instances is not healthy, AWS…

Melissa Jenner
- 781
- 1
- 8
- 31
2
votes
1 answer
Increase RDS Storage Size with no downtime
I am a beginner and struggling with figuring out increasing storage size on MySQL RDS.
The issue is that I want to increase RDS storage size without any downtime. Let's assume that I have not enabled autoscaling on RDS by default. I researched this…

awsuser2021
- 115
- 3
- 10
2
votes
1 answer
Terraform. Tagging instances created with Autoscaling group
This is what I am trying to do. I have 2 auto scaling groups created with Terraform. One is starting 3 EC2 instances in three different availability zones, with public IP addresses. The other auto scaling group is starting 3 EC2 instances in three…

Dave Michaels
- 847
- 1
- 19
- 51
2
votes
1 answer
Kubernetes node CPU utilization
I'm trying(learning) to figure out the best way to utilize CPU (and RAM) on k8s nodes.
My final goal is to make sure CPU utilization on each node in the cluster is above X%
Till now I've read about cluster-autoscaler and HPA, but not sure if they'd…

Mahyar
- 1,011
- 2
- 17
- 37
2
votes
1 answer
Terraform Autoscaling Group - Why aren't any instances launced?
I'm trying to set up an Application Load Balancer that points to an autoscaling group maintaining a group of webseevers using terraform like so:
##################################################################
# Application Load…

guribe94
- 1,551
- 3
- 15
- 29
2
votes
2 answers
Attaching "Application Load Balancer" to "Auto Scaling Group" in Terraform gives error
When one creates an ASG (Auto Scaling Group) in AWS Console there is option which can be checked "receive traffic from one or more load balancers"?
I was trying to do same using the "aws_autoscaling_attachment" resource, however I'm getting error…

Mahesh
- 63
- 1
- 5