Questions tagged [autoscaling]

282 questions
2
votes
1 answer

Approach to auto scale celery servers based on broker(redis) queue size

I am working on a project which requires rolling out new celery servers if the broker(redis) queue is consistently higher than a predetermined threshold size and killing the new boxes when the queue size comes down. I have scripts to take care of…
APZ
  • 954
  • 2
  • 12
  • 25
2
votes
1 answer

What will happen to my EBS data when autoscaling my EC2 instance?

I have various websites hosted on 1 same single EC2 instance so far. In the root EBS volume of such instance I have: Codes and files of the websites which change every hour if not every minute Apache and PHP configuration information which I change…
2
votes
2 answers

AWS AutoScaling as a robust unit of deployment?

Some of our apps have a requirement that they "work most of the time". They don't the full multi-AZ & ELB treatment for high availability. The irritating thing with EC2 is that, when a single instance disappears, it requires either manual…
Socio
  • 150
  • 1
  • 7
2
votes
1 answer

Starting Linode instances via StackScripts based on Nagios events

I'm developing a web application (django/gunicorn/nginx) that needs to be scaled out according to load. The app will be hosted on Linodes so I intend to use StackScripts (and maybe Puppet) to start up new instances of the web server, then stick…
Andrew
  • 21
  • 1
2
votes
1 answer

AWS Cloud formation plus auto scaling

I have created a cloud formation script to launch two instances, attach a volume on startup, and setup a load balancer. Now I am looking at setting up auto scaling and I am confused by the launch config. Does that need to basically include…
2
votes
1 answer

AWS - Is there an UI tool for setting/editing auto-scaling groups?

Is there a tool that simplifies the auto-scaling group management? XML-based, UI-based, etc. Thanks
Mark
  • 452
  • 5
  • 13
2
votes
1 answer

Strategy to spawn a new EC2 server when a virtual host has too many connections

I am building an infrastructure on EC2 where I have nginx as a load balancer in front of apache+php servers. Each apache server has some virtual hosts. I am thinking the best way to scale when a virtual host gets too many requests to handle. I…
rtacconi
  • 745
  • 4
  • 14
  • 28
2
votes
3 answers

How to quickly start an EC2 instance based on another instance?

I'm not even sure how to properly phrase this question, so please bear with me as I'm new with EC2 lingo/terminology. What I want to be able to do, is configure a template, if you must, and that templates will include say a LAMP stack that I work…
2
votes
2 answers

AWS RDS: Invalid max storage size for engine name postgres and storage type gp2: 198

I'm getting this error while modifying DB instance. Invalid max storage size for engine name postgres and storage type gp2: 198 for schedule autoscaling. This only happened yesterday, it's weird. Here is a screenshot of the current storage…
JamesBowery
  • 21
  • 1
  • 2
2
votes
1 answer

Setting up autoscaling based on network throughput

I need help in setting up autoscaling based on network throughput. Our front instances are placed inside an autoscaling group. We want the number of instances to increase as a function of network throughput in the whole autoscaling group. i.e. Once…
1
vote
2 answers

Create / Destroy EC2 instances for ECS tasks

I have various Fargate tasks. They work fine. I then have a few additional tasks that require more disc space than silly old Fargate will allow. These have to run on EC2 instances that I have assigned to their respective cluster. I trigger these…
Ben Smith
  • 157
  • 5
1
vote
2 answers

whats the point in autoscaling containers

We are using vSphere technologies for virtualization and I am tasked with developing a scalable application infrastructure. I'm familiar more with AWS. Doing some research on scaling I'm not sure I understand the point in scaling containers like…
GolangFunk
  • 11
  • 2
1
vote
0 answers

AWS CodeDeploy skipping all instances while AS terminates a instance

We have a AWS CodeDeploy set up in our AWS environment. Yesterday, while CodeDeploy was deploying the code on all the instances, one of the instances got terminated by the AutoScaling group and because of that our deployment got failed on that…
Axel
  • 421
  • 2
  • 8
  • 18
1
vote
2 answers

Infrastructure used in Amazon EKS

I was looking into a demo of an application built on Amazons kubernetes service, EKS. However, I am struggling to understand what infrastructure is used underneath, as I don't have access to AWS directly. My understanding. You define a cluster,…
Dennis Jaheruddin
  • 203
  • 1
  • 2
  • 7
1
vote
2 answers

Kubernetes: horizontal auto-scaling based on metrics in another namespace

I'd like to set up horizontal auto-scaling for a deployment based on the metrics of the ingress-controller deployed in another namespace. I have a deployment (petclinic) deployed in a certain namespace (petclinic). I have an ingress controller…
Volodymyr Melnyk
  • 577
  • 1
  • 5
  • 19