Questions tagged [aws-auto-scaling]
378 questions
0
votes
1 answer
AWS autoscaling detached instance terminated
No Code here.
I am building solution based on EC2 using AutoScaling.
I have created the solution where instance will get detached from AutoScaling group before they are stopped and they will be added back to AutoScaling group when in use.
Now what…

dev
- 732
- 2
- 8
- 29
0
votes
3 answers
gpu worker node unable to join cluster
I've a EKS setup (v1.16) with 2 ASG: one for compute ("c5.9xlarge") and the other gpu ("p3.2xlarge").
Both are configured as Spot and set with desiredCapacity 0.
K8S CA works as expected and scale out each ASG when necessary, the issue is that the…

Cowabunga
- 306
- 2
- 12
0
votes
1 answer
Problem with accessing ASG in private subnet from elb
i have the 502 error in the ALB.
my vpc and routes.
resource "aws_vpc" "My_VPC" {
cidr_block = "${var.vpcCIDRblock}"
instance_tenancy = "${var.instanceTenancy}"
enable_dns_support = "true"
enable_dns_hostnames = "true"
tags…

Артем Черемісін
- 133
- 1
- 8
0
votes
1 answer
AWS Autoscaling on CloudWatch SQS metric problem
In my aws account I have a ASG setup for my SQS consumer. It has a min capacity of 3 and max capacity of 8. The termination policy is set to "default". It has 2 simple scaling policies which are attached to a cloud watch alarm which monitors the…

Freid001
- 2,580
- 3
- 29
- 60
0
votes
1 answer
Whitelist EC2 instances in ASG to access AWS WAF
I have a CloudFront Distribution with WAF(Web Application Firewall) attached to it, to restrict public access.
I also have a fleet of EC2 instances running under an ASG(autoScaling Group) and I wish to whitelist the EC2 instances to access the…

and_roid
- 1
- 1
0
votes
1 answer
ec2 instances and AWS ASG group/ There is no output of private ip
I use the module https://registry.terraform.io/modules/terraform-aws-modules/autoscaling/aws/latest provisioned ec2 instances with AWS auto scaling group enabled. However, there is no output of private ip of this module. I may use the user data to…

Melissa Jenner
- 781
- 1
- 8
- 31
0
votes
1 answer
Auto Scaling Policy trigger
When we define health check grace period on ASG for 180 sec, will the ALB wait for that time (180 secs) for first health check to perform on new instances ? I know ASG will wait for that defined period but what about the ELB ? Because if it does it…

nani
- 43
- 3
0
votes
0 answers
How to deregister automatic unhealthy instances from a AWS target group
I created an ElasticBeanstalk with an Application Load Balancer. A target group and an auto scaling group were created. So far so good. However, if an instance becomes unhealthy, it will not be deleted from the target group. What are the necessary…

user1791139
- 606
- 1
- 11
- 27
0
votes
1 answer
AWS IAM Policy for eksctl scale nodegroup
Is it enough to give EKSCTL access only to
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"autoscaling:DescribeAutoScalingGroups",
…

passwd
- 2,883
- 3
- 12
- 22
0
votes
1 answer
How to set up Fargate Service Auto Scaling with Step Scaling Policy in Pulumi?
I'm trying to autoscale Fargate Service in AWS ECS based on CloudWatch Alarm (Namespace - AWS/SQS, Metric name - ApproximateNumberOfMessagesVisible). I managed to do that in the AWS Console but not via code (in Pulumi).
My suggestion for code is…

SAndriy
- 670
- 2
- 15
- 25
0
votes
1 answer
AWS Beanstalk with working app fails to deploy app to new ec2 when current one is terminated
I have a new beanstalk that is a migration of an old one running an app under php5.6 platform on Amazon AMI Linux. The new beanstalk is running php7.3 on Amazon Linux2. I have worked through all the migration issues and the app is running correctly…

Nick Weavers
- 534
- 7
- 23
0
votes
1 answer
How can I add a health check to check if my instances in aws autoscale established a successful connection with another independent instance
Currently I have multiple instances running under AWS autoscale group which polls messages from AWS SQS. My instances needs to establish connection with another instance before it start processing the incoming messages.
Sometimes it happens that one…

Sunil Kumar
- 117
- 1
- 2
- 10
0
votes
1 answer
How can I select a community AMI in AWS Launch configuration?
While creating a launch configuration, there is no way to select a community AMI? Only marketplace AMIs come on top. Scrolled for long, but still cannot find a community AMI.
Launch configuration screen
Marketplace AMI

Arup Nayak
- 55
- 7
0
votes
1 answer
How to mention a instance of AWS DynamoDB in the resource ID while creating application auto scaling target
I am setting up the creation of AWS resources in the AWS Cloud Formation template.
I set up my dynamoDb table resource such that with every new stack, it creates a unique instance of the DynamoDb Table, and it's not a fixed name.
I used the…

zsh_18
- 1,012
- 1
- 11
- 29
0
votes
1 answer
Adding new AWS EBS Volume to ASG in same AZ
ok, so I am trying to attach an EBS volume which I have created using Terraform to an ASG's instance using userdata, but now issue is both are in different AZ's, due to which, it failing to attach. Below is the steps I am trying and…

Ash Singh
- 61
- 1
- 4