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
12
votes
3 answers

AWS Beanstalk Auto-scaling Scaling Triggers with HealthyHostCount or UnhealthyHost count

I have Elastic Beanstalk Environment , I need to setup autoscaling policy like if Elastic Loadbalancer has Unhealthy instance it will bring up new instance The Policy I used right now is below
abaid778
  • 1,101
  • 1
  • 11
  • 24
12
votes
10 answers

Amazon EC2 AutoScaling CPUUtilization Alarm- INSUFFICIENT DATA

So I've been using Boto in Python to try and configure autoscaling based on CPUUtilization, more or less exactly as specified in this example: http://boto.readthedocs.org/en/latest/autoscale_tut.html However both alarms in CloudWatch just…
11
votes
1 answer

How can I configure Auto Scaling with boto using scaling policies and metrics?

I'm trying to configure Auto Scaling with boto using scaling policies and metric alarms rather than triggers now that they are being deprecated. I have successfully created a launch configuration and a Auto Scaling group, but am having trouble…
nicksweet
  • 3,929
  • 1
  • 20
  • 22
11
votes
3 answers

Kubernetes Rolling Update not obeying 'maxUnavailable' replicas when redeployed in autoscaled conditions

In a nutshell, most of our apps are configured with the following strategy in the Deployment - strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate The Horizonatal Pod Autoscaler is configured as so…
gabbar0x
  • 4,046
  • 5
  • 31
  • 51
11
votes
2 answers

GKE does not scale to/from 0 when autoscaling enabled

I want to run a CronJob on my GKE in order to perform a batch operation on a daily basis. The ideal scenario would be for my cluster to scale to 0 nodes when the job is not running and to dynamically scale to 1 node and run the job on it every time…
11
votes
2 answers

How can we maintain state of autoscaling group while using Blue/Green Deployment in AWS CodeDeploy?

We have setup our infrastructure for a project using Terraform, including the code-deploy, ALB and auto-scaling groups. So far, we were doing in-place deployments. But now we're trying to switch to Blue/Green deployment. Since CodeDeploy Blue/Green…
11
votes
1 answer

Elastic Beanstalk NetworkOut auto scaling

I have an Elastic Beanstalk app running on t2.medium with autoscaling enabled. EB automatically sets a default autoscale trigger of 6,000,000 bytes over a 5 minute period on NetworkOut. We have a meeting app, so many people load the page at the same…
11
votes
2 answers

Is it possible to have an AWS EC2 scale group that defaults to 0 and only contains instances when there is work to do?

I am trying to setup a EC2 Scaling group that scales depending on how many items are in an SQS queue. When the SQS queue has items visible I need the Scaling group to have 1 instance available and when the SQS queue is empty (e.g. there are no…
Stephen
  • 559
  • 6
  • 17
11
votes
1 answer

How does Google App Engine Autoscaling work?

This question is about Google App Engine quotas and instances. I deployed a GAE app without specifying any specific scaling algo. From their docs, it seems like the default is auto-scaling. So when do they scale the app to another instance, i.e.…
user1056585
  • 682
  • 1
  • 7
  • 21
11
votes
1 answer

How to scale a slack bot to 1000's of teams

To implement a slack bot, i need to deal with 'Real Time Messaging API' of slack. It is a WebSocket-based API that allows you to receive events from Slack in real time and send messages as user. more info: https://api.slack.com/rtm To create a bot…
Kerem
  • 995
  • 7
  • 19
11
votes
3 answers

AWS autoscale ELB status checks grace period

I'm running servers in a AWS auto scale group. The running servers are behind a load balancer. I'm using the ELB to mange the auto scaling groups healthchecks. When servers are been started and join the auto scale group they are currently…
Ofer Velich
  • 1,959
  • 4
  • 19
  • 24
11
votes
2 answers

Auto Scaling Group launch config changes

I wonder if there is a simple way or best practices on how to ensure all instances within an AutoScaling group have been launched with the current launch-configuration of that AutoScaling group. To give an example, imagine an auto-scaling group…
muhqu
  • 12,329
  • 6
  • 28
  • 30
11
votes
3 answers

Automatic recovery from an availability zone outage?

Are there any tools or techniques available to automatically create new instances in a different availability zone in the event that an availability zone suffers an outage in Amazon Web Services/EC2? I think I understand how to do automatic fail…
xnickmx
  • 1,037
  • 1
  • 11
  • 18
11
votes
2 answers

Can I define an EC2 auto scale group with scaling policies without adding alarms to CloudWatch dashboard?

I followed the instructions on http://docs.aws.amazon.com/AutoScaling/latest/DeveloperGuide/as-scale-based-on-demand.html in order to have a CPUUtilization based auto scale group. i noticed that the alarms created by mon-put-metric-alarm create…
Jan
  • 2,803
  • 6
  • 36
  • 57
10
votes
1 answer

Is there a way in Kubernetes to check when hpa happened?

I have hpa configured for one of my deployment in Kubernetes. Is there any way to check if HPA scaling happened to the deployment and when it happened? I don't have prometheus or any monitoring solutions deployed.
karthikeayan
  • 4,291
  • 7
  • 37
  • 75