Questions tagged [autoscaling]

Auto scaling is a feature of cloud computing services which allows adding more computational resources automatically if load increases or based on triggers/custom metrics.

Auto scaling is a feature of cloud computing services which allows almost infinite growth of computational power automatically as load increases on CPU, memory or disk storage.

In particular, such feature is available, for example, in Amazon EC2 service using ASG.

1836 questions
14
votes
3 answers

AWS update autoscaling group with new AMI automatically?

Here's what I have in AWS: Application ELB Auto Scaling Group with 2 instances in different regions (Windows IIS servers) Launch Config pointing to AMI_A all associated back end stuff configured (VPC, subnets, security groups, ect) Everything…
sureshot007
  • 181
  • 1
  • 1
  • 7
14
votes
2 answers

AWS AutoScalingGroup HealthCheckType 'ELB' considers instance "InService" prematurely

I'm trying to get AutoScalingRollingUpdate to work on my autoscaling group, by bringing online new instances, then only once the new instance(s) are accepting traffic, terminating the old instances. It seems like AutoScalingRollingUpdate is designed…
d11wtq
  • 34,788
  • 19
  • 120
  • 195
14
votes
1 answer

AWS Alarm stuck in INSUFFICIENT_DATA while creating

I tried to create a AWS Alarm to watch the SQS. If the queue has more than 1 message for 2 minutes, I want to create an alarm to trigger a policy. I used this command to create the alarm: aws cloudwatch put-metric-alarm --alarm-name alarmName…
14
votes
4 answers

Gnuplot minimum and maximum boundaries for autoscaling

How can I limit the autoscaling of gnuplot, so that, as example for the y-max, it is at least a certain value and it would autoscale up to fixed "limit"? From looking at the documentation, I only see how to fix min-, or max- end of the axis, while…
varesa
  • 2,399
  • 7
  • 26
  • 45
13
votes
3 answers

How does Amazon EC2 Auto Scaling work?

I am trying to understand how Amazon implements the auto scaling feature. I can understand how it is triggered but I don't know what exactly happens during the auto scaling. How does it expand. For instance, If I set the triggering condition as…
sethu
  • 1,691
  • 4
  • 22
  • 34
13
votes
2 answers

What is the difference between AWS ASG cooldown period and the warmup period in the scaling policy?

What is the difference between AWS ASG cooldown period (which I can edit when I want to update my autoscaling group) and the warmup period in the scaling policy?
DenCowboy
  • 13,884
  • 38
  • 114
  • 210
13
votes
3 answers

Y-axis autoscaling with x-range sliders in plotly

Afaik, y-axis cant be made to auto scale when using x-range sliders. Y range is chosen with respect to the y values of the whole x range and does not change after zooming-in. This is especially annoying with candlestick charts in volatile periods.…
TOTORO
  • 131
  • 1
  • 3
13
votes
3 answers

Kubernetes AutoScaler Not Scaling, HPA shows target

I'm pretty new to kubernetes, not so much with docker. I've been working through the example but I am stuck with the autoscaler, (which doesn't seem to scale). I am working through the example here…
Matt The Ninja
  • 2,641
  • 4
  • 28
  • 58
13
votes
4 answers

Memory Utilization for auto scaling group AWS

I am Setting up AWS autoscaling, and while setting scaling policy i ran into this problem. I wanted to use memory as a parameter, so i installed CLoudwatch's script for memory monitoring from below…
amit singh
  • 219
  • 4
  • 22
13
votes
2 answers

How to autoscale Servers in ECS?

I recently started using ECS. I was able to deploy a container image in ECR and create task definition for my container with CPU/Memory limits. My use case is that each container will be a long running app (no webserver, no port mapping needed). The…
code
  • 5,294
  • 16
  • 62
  • 113
13
votes
7 answers

Horizontal pod autoscaling not working: `unable to get metrics for resource cpu: no metrics returned from heapster`

I'm trying to create an horizontal pod autoscaling after installing Kubernetes with kubeadm. The main symptom is that kubectl get hpa returns the CPU metric in the column TARGETS as "undefined": $ kubectl get hpa NAME REFERENCE …
Oghma
  • 131
  • 1
  • 1
  • 8
13
votes
2 answers

Speed up AMI and ASG Creation

using Ansible I create an AMI of a ubuntu instance then using this AMI to create an Launch configuration and then update and auto scaling group, is there any shortcuts I can take to speed up the ASG and AMI steps, take 10mins+
12
votes
2 answers

How to gracefully drain a node in EKS?

Sometimes we need to drain nodes in Kubernetes. When I manually set up a k8s cluster, I can drain the specific node then terminate that machine. While in EKS, nodes are under auto scaling group, which means I can't terminate a specific…
Shengxin Zhang
  • 131
  • 1
  • 1
  • 4
12
votes
2 answers

AWS CloudFormation stack fails with error Received 0 SUCCESS signal(s) out of 1

My AWS CloudFormation template fails with the error: Received 0 SUCCESS signal(s) out of 1. Unable to satisfy 100% MinSuccessfulInstancesPercent requirement I'm thinking my WaitConditionHandles are not set correctly (or maybe the EC2 instance…
Nic
  • 12,220
  • 20
  • 77
  • 105
12
votes
5 answers

Does AWS support Autoscaling for RDS Instance

One of my RDS instance take high cpu some times due to heavy load. That time we manually need to upgrade instance. So I think to use auto scaling feature of RDS to automatically increase instances, but not getting any details about it. Please some…
Rahul Kumar
  • 666
  • 2
  • 7
  • 13