Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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.

Filter by
Sorted by
Tagged with
1
vote
0answers
24 views

What is the Young's Modulus for EC2?

Young's Modulus is defined as follows: Young's modulus or Young modulus is a mechanical property that measures the stiffness of a solid material In the case of AWS Elastic Compute Cloud (EC2), the ...
0
votes
1answer
11 views

Aws autoscaling group in private subnet, private communication?

I have a scenario - I have configured my frontend application in one autoscaling group and my backend application is in another autoscaling group. I'm using the load balancer also. But I don't want ...
0
votes
0answers
18 views

Maintaining constant VM number over multiple datacenters

I am working on a highly-available Kubernetes cluster. Basically, the idea is having two Kubernetes worker nodes (with same pods on each) in separate datacenters (say DC-1 and DC-2), and if one of ...
0
votes
0answers
151 views

kubernetes - custom downscale stabilization delay per Horizontal Pod Autoscaler

I need to be able to set a custom downscale stabilization delay per HPA but i can only find a way to apply this delay to the cluster level with --horizontal-pod-autoscaler-downscale-stabilization "...
0
votes
0answers
13 views

CodeDeploy with blue-green, an ASG, AND more than one TG?

Is there an easy way to use CodeDeploy to deploy to an ASG using blue-green and attach to more than one Target Group yet? In-place deployments let me keep my ASG which has more than one target group,...
1
vote
0answers
29 views

kubernetes - load balancing where ressources are available

I would like to know how could I set up a load balancer at the Kubernetes level so my services point to the pods that have more RAM/CPU resources available, and not randomly. It would be co-existing ...
1
vote
1answer
30 views

Do I need an orchestration tool to autoscale/scale on demand my web service?

I have a stateless web service running in a Docker container. The web service is single threaded. We would like to span new instances of the service when the load reaches a given threshold. Is that a ...
0
votes
3answers
42 views

Auto-scaling, how to securely get code from private repo

I want to setup an auto-scaling configuration but cannot think how I can securely get code from a private repo when I spin up new instances. I obviously don't want to put passwords in startup scripts,...
2
votes
1answer
103 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 ...
2
votes
1answer
19 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
50 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. ...
-1
votes
1answer
1k 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 ...
5
votes
3answers
110 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
655 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
664 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
97 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
28 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
319 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
70 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
1k 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 ...
7
votes
1answer
765 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 ...
9
votes
1answer
443 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 ...