Questions tagged [autoscaling]

282 questions
1
vote
2 answers

Is it possible to scale up an AWS ECS cluster when a Scheduled Task runs?

I have an AWS ECS cluster whose only purpose is to run a scheduled task every 12 hours. Currently, I leave the cluster scaled to 1 instance so the task has somewhere to run. I would instead like to leave the cluster at 0 instances and configure it…
1
vote
1 answer

Where do I store data in AWS AutoScaling Group?

I have been using the Bitnami multi-tier WordPress stack on AWS. I know how to use autoscaling on AWS, but none of the documentation has showed me where to store changeable data files when using something like WordPress. The database is on RDS, so…
paradroid
  • 868
  • 5
  • 15
  • 29
1
vote
1 answer

Launching a new EC2 instance. Status Reason: Not authorized for images: Launching EC2 instance failed

I recently created an auto scaling group in AWS using an AMI. The instance terminated and in an attempt to re-launch the instance, I got a failed response. The error description is Launching a new EC2 instance. Status Reason: Not authorized for…
N. Felix
  • 11
  • 1
  • 3
1
vote
1 answer

ALB for multiple auto scaling group

I have 3 instances as staging for the frontend, backend, and blockchain. I'd like to create an autoscaling group for both three instances separately. There will be 3 autoscaling groups. Is there any way to handle 3 autoscaling group by using one…
1
vote
1 answer

HTTP Health Check For Elastic Beanstalk App Triggers Scale / Capacity rules

I have an Elastic Beanstalk application that is running a wordpress application, and I would like some monitoring and scaling triggers for when the health check, the homepage, returns an HTTP response code within the range of 4xx and 5xx. I am aware…
1
vote
1 answer

AWS autoscaling: How to kill the machines that are not busy

We have an autoscaling group that spawns worker servers. Each worker server runs celery processes. We monitor the celery queue length using cloudwatch and depending on that queue length we spawn/kill auto scaling server. What you see in this answer…
Ranjith Ramachandra
  • 435
  • 1
  • 5
  • 14
1
vote
1 answer

AWS Ec2 - Launch template spanning multiple subnets / availability zones

When creating an EC2 autoscaling group, it's possible to specify multiple subnets in different availability zones, so that the autoscaling group can start instances where there is capacity. Is there a way to do a similar thing when using EC2 launch…
samfrances
  • 131
  • 2
1
vote
1 answer

Spawn new Aws::AutoScalingGroup instances before old are destroyed. (503 error occuring)

TL;DR: See edit at bottom. I am attempting set up continuous deployments for our new environment we are migrating to at my company. I am using an aws cloudformation stack to contain all of my infrastructure. When I create the stack, my instances…
1
vote
0 answers

Sending different signals for system shutdown and manual stops in supervisord

I have a set of auto-scaled EC2 instances that run a daemon managed by supervisord on each instance. I want to differentiate the clean-up behavior for the following cases: when shutting down instances (e.g., scaling-in) i.e., shutting down…
Achimnol
  • 109
  • 1
  • 5
1
vote
0 answers

GAE instances sometimes unavailable (502). Console says, “VM restarting”

I have several services which have very little load (several requests per week sometimes). During periods of constant use there appears to be no problems. But after a period of being idle instances appear to be spun down. Web console shows that…
1
vote
1 answer

Estimating concurrency limits for an AWS architecture running WordPress

I'm trying to estimate a number of concurrent users a WordPress AWS setup can withstand (that needs to be highly available and support huge loads). I am asked for a loose range that I would say we can guarantee (they asked the guy that's new to…
1
vote
1 answer

GCP auto scaler : How to configure auto scaler to scale up only if CPU usage has crossed 70% for more than 5 minutes?

I have a managed instance group with an HTTP(S) LB in front of it. Currently, I have set up an auto-scaler policy to scale up or down based on CPU utilization and the threshold is set to 70%. But I have observed that if there is any momentary spike…
1
vote
1 answer

AWS auto-scale shared Wordpress web server - AMI vs user scripts

I have a shared Wordpress hosting server with approximately 50 sites on it, which is fully configured via Ansible. I'm trying to find a good boundary between a) updating AMIs every time a site is added or configuration is changed, for example this…
1
vote
1 answer

Scale out Azure SQL Database

I have a SQL Database in Azure. An S0 instance with 10 DTUs. This is enough 95% of the time. However, when the App Service plan scales out (can go up to 20x in rare cases), I need 200/400 DTUs. Since this will not happen very often, so it would be a…
Joel'-'
  • 163
  • 5
1
vote
0 answers

Autoscaling cloud web applications- what method do people use to establish which metric is most suitable to scale off?

I understand with applications hosted in the Cloud, autoscaling is now a very popular method of ensuring applications can scale based on fluctuations load/work. From my reading, I know that most, if not all cloud providers allow users to define…