Questions tagged [autoscaling]
273 questions
34
votes
3 answers
Static IP address for outgoing traffic from AWS autoscaling group
I'm going to have a number of EC2 instances in an Elastic Beanstalk autoscaling group in a default subnet in a VPC. The app on these EC2 instances needs to connect to a third party service who uses an IP address whitelist to allow access. So I need…
davidwebster48
- 453
- 1
- 4
- 7
22
votes
9 answers
How to get Autoscaling group Instances IP adresses
How can I get private IP adresses of all the instances which are part of an AutoScaling group.
I am trying to do some operation on all the instances which are part of an autoscaling group.
Ramesh Kumar
- 1,690
- 5
- 18
- 29
21
votes
7 answers
How can I automatically cycle a new image in an AWS Auto Scaling Group?
I have a web application setup with a load balancer and auto scaling group to manage scaling. The source code is in a git repository so I don't have to update the images when the code changes, but occasionally the environment changes so we create a…
user99751
19
votes
3 answers
EC2 Update my existing AMI
I'm using Elastic Load Balancing to load balance my Auto Scaling Group, for that I have a private AMI that hold my application server (Tomcat) and my web app deployed to it as war ... Now everything works fine ... what if I need to change my tomcat…
Hadi Salem
- 193
- 1
- 1
- 5
17
votes
2 answers
AWS Fargate service: scale to zero?
I've recently migrated a small web application to AWS using Fargate and Aurora Serverless. The application doesn't get much traffic so my goal is to save cost while no one is using it. Aurora Serverless seems to do this for me on the DB side…
computmaxer
- 367
- 1
- 4
- 11
17
votes
3 answers
How to automatically update nginx upstream server list when aws ec2 hostname changes or increases?
I want to setup autoscaling in AWS. I don't want to use Elastic Load Balancer.
Autoscalling in Amazon creates EC2 instances seamlessly during demand spikes to maintain performance, and decreases automatically during demand lulls to minimize…
Luis Lobo Borobia
- 428
- 5
- 19
12
votes
5 answers
EC2 Auto-Scaling with Spot and On-Demand Instances?
I'm looking to optimize the cost of our auto-scaling EC2 groups by having them launch spot instances instead of on-demand instances.
What I really want is to be able to keep some servers in the group as on-demand instances, regardless of what…
platforms
- 1,118
- 10
- 23
9
votes
6 answers
EC2 Auto Scaling for mortals? Does that exist?
I have very simple EC2 setup with Eastic Load Balancer and two web servers under it.
I need to automatically start additional instance when CPU on one of them reaches 100% or some instance fails.
The first thing I looked was Amazon…
Roman
- 220
- 1
- 3
- 6
8
votes
1 answer
Utilizing SSL on Multi-domain, Autoscaling Elastic Beanstalk Setup
We are creating a Content Management System for our company. It is important that this CMS support dynamic domain names on a dynamic number of servers. After many hours of research we felt that Amazon's Elastic Beanstalk was the way to go. One thing…
Patrick Stephan
- 211
- 2
- 8
7
votes
2 answers
Spot instances frequently terminated in AWS auto scaling group (failing system health check)
We have 2 auto scaling groups (one for on-demand and one for spot instances) which are both set to a static number of instances (min, max, and desired are all the same - 5 in our case). The instances in the on-demand group stay running, but the ones…
Derek Morrison
- 213
- 2
- 6
6
votes
1 answer
AWS EC2 Instance Auto Scaling Confusion
So first off I'm completely new to AWS so bear with me.
I have had one instance running for a few months now and I now need to autoscale it as I am getting bigger traffic spikes and it gets overloaded at times.
So let me go through what I have done…
Dan
- 237
- 4
- 9
5
votes
2 answers
AWS Autoscaling Group won't honor five minute draining policy of the Target Group when scaling down
We have an Autoscaling Group in AWS that we manually scale up and down at the time being. Our ASG is currently attached to one Target Group, which has all of our prod servers in it.
Before using the ASG, we would add and remove servers to the…
Michael Davidson
- 153
- 1
- 5
5
votes
1 answer
AWS ECS: Unable to place task
I am trying to set up an AWS service with autoscaling. I have created a cluster with an application loadbalancer and created a task using a docker image that should be open on port 8080 for use. I have created a service based on that task for which…
Jonathan Coustick
- 151
- 1
- 5
5
votes
4 answers
How can I determine an EC2 instances index/position in an Auto-scaling group?
I'm working on some automation scripts to bootstrap my application and will be using an auto-scaling group in AWS to spin up/down EC2 instances for my application.
I need to be able to re-create a consistent name for the machine that follows a…
Timothy Khouri
- 157
- 2
- 8
5
votes
1 answer
Is there a way to use length of a RabbitMQ queue used by Celery to start instance in an autoscale group?
Is there any way for Celery to emit events when the length of a queue exceeds a threshold? I want to use that event to start an EC2-instance.
We have two queues for two different tasks in Celery. One of these queues has tasks which will require an…
web_ninja
- 153
- 1
- 4