Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [autoscaling]

Autoscaling is the capability of a system to dynamically increase capacity to support higher load, and to subsequently decrease costs to reduce costs. Use this tag to describe questions that discus autoscale, plastic-scale or elastic-scale.

2
votes
1answer
32 views

Autoscaling with Kubernetes daemonset

I have a Kubernetes cluster running on Google Compute Engine. My program uses stateful connections, so I do not want my pods being moved between nodes. Because of this, I am running my workload as ...
1
vote
1answer
16 views

I have an custom AMI and want to run certain config commands at initial boot, depending on the autoscale instance that starts it. How do I do this?

I have a custom AMI that contains the dependencies for several applications. The only difference between the applications is several configuration options that can be configured by a bash script. (i....
2
votes
1answer
46 views

Custom Layer 4 Load Balancer

What are my best options for deploying a load balancer on AWS with the following requirments: Add auto scaling that will start my own EC2 instances. Deploy 3rd party SW on the load balancer. ...
0
votes
1answer
592 views

Suspend autoscaling processes through Cloudformation template

I have the following autoscaling as a Cloudformation template : MyAutoScalingGroup: Type: AWS::AutoScaling::AutoScalingGroup Properties: DesiredCapacity: 1 MinSize: 1 ...
6
votes
3answers
85 views

Autoscaling on GoCD agents without terminating active builds?

At the moment I have an AutoScaling Group (ASG) of GoCD build agents without any scaling policies. I have created some custom metrics that indicate how many build agents are currently idle and I'd ...
7
votes
2answers
503 views

How to run database migrations in an auto-scaled group

We are just about to move from a monolithic architecture to an auto-scaled group and I'm not sure how I should be running my database migrations (Laravel). I am thinking that a script will run when a ...
3
votes
2answers
458 views

Where to start? Scaling PHP applications on AWS

Currently all of our PHP (Laravel) applications are running on one EC2 instance. To deploy code, we SSH onto the live box and pull from CodeCommit. We now need to scale and deploy properly. I'm not ...
3
votes
1answer
76 views

Are distributed distributions like NixOS able to replace docker in terms of autoscaling?

Autoscaling means that the number of instances increases if the load intensifies. Docker is used in for example Kubernetes in order to autoscale. Are distributed distributions like NixOS suitable ...
3
votes
1answer
24 views

What is the ec2 cli command to modify the minimum number of nodes in a scaling group?

I've got an ec2 autoscaling group that starts in the morning and finishes in the evening. I'd like to create a 'button' that people can click to warm up the autoscaling group to run jobs in the middle ...
6
votes
1answer
245 views

Does the “cattle not pets” distinction apply as equally to machine instances as to containers?

There is a great discussion of the Cattle vs Pets distinction from Randy Bias here. Martin Fowler talks about a SnowFlakeServer. In a series of talks, Adrian Cockcroft talks about how they moved ...
6
votes
2answers
68 views

Autoscaling containers using local request counters

Somewhere around I got to know about different approaches which were used to scale our webapp which included Scaling using local request counters. Below that they had written the drawbacks of this ...
7
votes
1answer
932 views

How can I autoscale instances based on Kafka topic lag?

I have autoscaling groups that I want to dynamically scale up/down based on the amount of lag showing in certain Kafka topics. There's a 1:1 relationship between topic and autoscaling group that needs ...
6
votes
1answer
484 views

How to manage Consul and its quorum in auto-scaling environments?

We have auto-scaling Docker environments in which we use Consul for service discovery. These environments can add or remove one instance every few minutes. Our early Consul testing showed that it was ...
8
votes
1answer
286 views

How can I manage changes in desired capacity due to scaling policies in AutoScaling Group state?

How can I manage changes in desired capacity due to scaling policies in AutoScaling Group state in terraform? Specifically, suppose I provision an aws_autoscaling_group resource with terraform with a ...