Questions tagged [autoscaling]
282 questions
0
votes
1 answer
How do I autoscale windows servers w/ amazon ec2
I'm building a distributed app which consists of a load balancer, web-server, database server, messaging queue, and backend workers. Workers consume messages off the queue, perform tasks and then update the database server. Ideally I'd like to have…

The Internet
- 503
- 2
- 8
- 19
0
votes
1 answer
AWS Alarms in "ALARM" state not triggering Policy actions
Today I created an AutoScaling Group with several policies, each with an Alarm associated with a CloudWatch metric. The AutoScaling Group launched two instances, because that the minimum that I required for that group. I turned on my benchmarking…

SunSparc
- 998
- 3
- 11
- 23
0
votes
1 answer
High Availability on Windows Azure Websites
One of my main apps is hosted on Windows Azure's Websites platform. Given Friday's downtime, I realized that I need something that allows my app to stay online if Azure has an outage again.
My current setup is 1 WAWS instance (w/ autoscaling set to…

hb.
- 101
- 2
0
votes
1 answer
Creating auto scale group fails, "Launch configuration name not found"
I'm trying to create an autoscale group on Amazon. The load balancer is created and is up n' running. I've successfully created the launch configuration in eu-west-1 and it shows up when I run "as-describe-launch-configs". However when I try to…

dale
- 111
- 1
- 5
0
votes
1 answer
Amazon Auto Scaling and IP access control
We hava a project where we have to access a SOAP WS that is access-restricted via IP firewalling. So each one of our machines need to be added to the firewalling rules by our clients' security team. Our clients platform runs in hosted in its own…

pantulis
- 101
- 1
0
votes
2 answers
AWS Autoscaling Not Launching Correct Instance
I have an instance in AWS that I set up my entire environment (I'll call it my ready instance) on and is running perfectly. I then created a load balancer (ELB) with an autoscaling policy.
When I created a load balancer with an autoscaling policy…

darksky
- 135
- 5
0
votes
1 answer
Switching between ondemand and spot instances depending on spot price
We are using EC2 spot instances for crawling data. At any given time we need to have 20 instances running. We are aiming for high availability as well as cost optimization.
The scheme we want to follow is below:
We start 20 spot instances with a…

Varun
- 405
- 2
- 4
- 7
0
votes
1 answer
Time between AWS Notifying of Scale Down and Terminating instance
Here is the scenario, there are multiple EC2 instances behind a load balancer. When traffic dies down, the SCALE_DOWN policy is triggered from a CloudWatch alarm. What I would like, is for the instance that is going to be terminated, or a separate…

SteveEdson
- 1,539
- 3
- 12
- 23
0
votes
2 answers
EC2 cost-effective webapp scaling
I have a webapp running in a Media Temple VPS account, and I'm currently evaluating the gains to switch to Amazon EC2. It's running under Apache 2 web server.
This webapp for now has almost no access normally, with some big utilization peaks, which…

Waneck
- 145
- 4
0
votes
1 answer
Can someone help me figure out an efficient auto scaling configuration?
This is my first time releasing a web app. I'm going to using Django with Nginx and a couple of other scripts that have been piped. I wanted to know which auto scaling strategy I can use.
Right now, I'm playing around with the free EC2 micro…

Suhas
- 13
- 2
0
votes
1 answer
EC2 Autoscaling AMI and auto attaching new EBD from snapshot
Trying to work out how to configure EC2 autoscaling to automatically attach and EBS volume when a new instance is spawned.
Ideally we're trying to achieve the following when a new instances is spawned.
Generate a snapshot from the master instance,…

user35647
- 121
- 4
0
votes
0 answers
DynamoDB Auto-Scaling, Application Auto-Scaling
I'm trying to setup a set of boto3 python AWS scripts which can create new users and dynamoDB tables, so that the web app I'm working on can add new users with properly scoped permissions.
I'm having trouble getting the scripts to add auto-scaling…

Devin Ceartas
- 1,478
- 9
- 12
0
votes
1 answer
How to handle kubernetes workload crash-loop under load
Here is what I consider a quite generic situation for which I'm not sure what the best solution is.
Consider you have a k8s workload where pods need 10-30seconds to be Ready.
If at some point you get a load spike that start to crash your pods for…

mveroone
- 474
- 7
- 22
0
votes
1 answer
Unable to change "on host maintenance" option for an instance template on GCP
I've been using instance templates for Instance Groups, and I never had to go to "Advanced Options" because everything was working as expected. But today, while creating a new instance group with a template it started throwing the following error:
"…

Hasnain
- 3
- 2
0
votes
1 answer
How to fix HPA deprecation warning on GKE?
Observed output
kubectl describe hpa
Warning: autoscaling/v2beta2 HorizontalPodAutoscaler is deprecated in v1.23+, unavailable in v1.26+; use autoscaling/v2 HorizontalPodAutoscaler
Attempted fix
Specified autoscaling/v2 in yml file, but warning…

Jared Beck
- 119
- 3