Questions tagged [autoscaling]

282 questions
2
votes
2 answers

Amazon EFS as code repository for auto-scaled EC2s

tl;dr: I need to set up a fast automatic sync from EFS to multiple EC2s I've set up an EC2 Auto-Scaling Group in AWS and I'm looking for the best way to manage code deployments to my instances, with as little service interruption as possible…
2
votes
1 answer

AWS Auto Scale Alarm Trigger Failure

Have configured an auto scaling group and a launch configuration that will use a scaling policy bound to a target group metric (RequestCountPerTarget, specifically). However, it is failing to trigger the scaling event. Auto Scaling Group The auto…
Sivart
  • 131
  • 3
2
votes
1 answer

is my understanding for aws auto-scale up and load balancer wrong?

Actually I am still a bit confused with aws auto scale up and load balancer I am wondering if someone can help me clarify if my logic of understand is right and if so, would it be possible to combine the usage of auto-scale up and load balancer? As…
2
votes
1 answer

Azure Webservices, Auto-scale, and Load Balancers - Does auto-scale handle load balancing automatically?

Software engineer here, not a ton of experience managing servers, but wanting to understand how auto-scale works. Here's the background: We have a stateless application running on the azure cloud, which talks to an Azure SQL database behind the…
2
votes
1 answer

How to configure a scale-in policy in AWS Auto Scaling Group?

I'm trying to configure AWS Auto Scaling Group scale-down policy. I've already configured the ASG to increase the number of instances if average CPU increases above a certain threshold and it works as expected but I'm having trouble configuring the…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
2
votes
2 answers

Is there a standard way to update instance template in instance group?

AWS has service named CodeDeploy which can deploy code to Auto Scaling (AS) group. For e.g. if your AS policy got triggered and it spun a new instance (which will use predefined instance image called AMI in AWS) CodeDeploy will push the code to the…
2
votes
2 answers

Stackdrive agent metric isn't propagated to GCE instance-group-manager autoscaler

I'm trying to set up autoscaling group of instances on GCE. Autoscaling policy setup to add instance(s) based on percent of used memory. On every instance I installed Stackdriver Monitoring Agent (collectd) like this: $ curl -O…
2
votes
1 answer

Can I force AWS to reinitialise my autoscaled instance daily maintaining a minimum of 1 instance?

I've got an AWS autoscaling configuration and a launch schedule that says to keep a minimum of 1 all day. I'd like to flush out this instance and get a new one every day. I'd like to maintain a minimum of 1 all day. Is this possible? My question is:…
Hawkeye
  • 2,699
  • 9
  • 30
  • 35
2
votes
2 answers

AWS auto-scaling: Why do we have 'desired capacity' value at start?

Assume we've started Auto Scaling Group. Min=1 (we want to keep it as cheap as possible) max=X. From common sense we may think that the desired capacity should be calculated, based on a load level processed by alarm rules. So why do we have to…
Putnik
  • 2,217
  • 4
  • 27
  • 43
2
votes
1 answer

Amazon RDS and Auto-Scale EBS: Security Groups

I have the following setup on Amazon AWS: An Auto-Scaling Group An ELB An RDS database Everything is in the default VPC The only thing about this setup that I don't quite understand yet relates to the security rules. For the RDS instance, I want…
2
votes
1 answer

How to configure auto-scaling with Bamboo Agents?

We are able to launch new Bamboo agents and register them with the Bamboo server by using AWS auto scaling groups and using the user data, but scaling down is an issue. A Bamboo agent is like a Jenkins slave. How can we automatically scale the…
ujjain
  • 3,983
  • 16
  • 53
  • 91
2
votes
1 answer

Configure Amazon EC2 auto-scaling by database event

How do you configure Amazon EC2 auto-scaling to create instances programmatically based on a database event? I have an application that processes several dozen large files (100MB each) on a monthly basis. Currently, once a month I'll manually create…
Cerin
  • 3,600
  • 19
  • 61
  • 79
2
votes
2 answers

How does AWS autoscaling distribute spot instances between AZs?

I am using an AWS Autoscaling group that distributes instances across multiple AZs, with spot instance bidding defined. What will happen when the spot price jumps in one of the AZ, causing the instances in that AZ to be below the SPOT price and…
Ofer Velich
  • 307
  • 1
  • 2
  • 6
2
votes
2 answers

Automatically scale a Gluster cluster

I'm trying to configure a proof of concept where a server automatically gets spun up and joins a replication cluster. When the server is no longer needed, it gets spun down, and automatically removed from the cluster. There is no way of pre-defining…
Simon
  • 193
  • 2
  • 10
2
votes
3 answers

Add/remove backend servers from HAProxy with command line

I've been searching for a way to add and remove backend servers from HAProxy dinamically, is there a wrapper or even an API to handle it? I want to make an auto-scale system with HAProxy and DigitalOCean. Others load-balancers are welcome.
Pedrommone
  • 29
  • 1
  • 2