Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [autoscaling]

The tag has no usage guidance.

0
votes
0answers
32 views

AWS Elastic Load Balancer and target group health check fail for no apparent reason

I have completed my AWS ELB architecture for our website and successfully created the Launch Configuration and Target Groups for which instances are created behind the Load Balancer. My configuration ...
1
vote
1answer
24 views

Why is my autoscaling group instance unhealthy?

I'm noticing a very strange issue with an AWS auto-scaling group. Instances are being reported (incorrectly) as being unhealthy. The instances are then being terminated and replaced unnecessarily. ...
0
votes
1answer
13 views

Autoscaling Azure SQL Database

I'm looking to set up some type of method to autoscale (vertically) my Azure SQL Databases based on CPU or some other performance metric. My environment is in govcloud and I don't see any options for ...
1
vote
1answer
38 views

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 ...
1
vote
1answer
22 views

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 ...
3
votes
1answer
192 views

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 ...
0
votes
1answer
33 views

How to autoscale Kubernetes cluster on AWS

I created kubernetes cluster on aws ec2 using kubeadm. Now I need to autoscale the K8's cluster when there are not enough resources on nodes to schedule new pods, How can I achieve autoscaling feature ...
1
vote
1answer
32 views

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 ...
0
votes
1answer
59 views

AWS Autoscaling Group: Invalid fleet configuration Error

Using Terraform to create Autoscaling Group in AWS. Using mixed_instances_policy in aws_autoscaling_group resource of Terraform. resource "aws_launch_template" "go_app" { image_id = ...
3
votes
1answer
34 views

Host discovery in AWS VPC

I just have a basic question. What is the recommended way to handle automatic host discovery in an AWS VPC? I have these Servers running and I want to figure out a neat way to skip having to configure ...
4
votes
2answers
61 views

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 ...
1
vote
1answer
35 views

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 ...
1
vote
1answer
90 views

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 ...
3
votes
2answers
144 views

Nosql autoscaling of compute

Most of the nosql autoscaling faces issue due to the fact the data have to be migrated during peak load. What if data is stored in a shared storage like CLVM which has less overhead(compared to NFS or ...
1
vote
0answers
28 views

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 ...
4
votes
2answers
60 views

An Application Load Balancer with fewer Instances than Availability Zones?

Is it important to always have an ec2 instance in each zone of your load balancer? Are there advantages to having more than two or three zones? We set up our application in an EC2 AutoScaling Group ...
2
votes
1answer
27 views

Does the size or type of EC2 instance effect the autoscaling/provisioning/termination time?

Are any of the EC2 provisioning/termination times effected by the size or type of instance. For example, if I provision an m4.large and an m4.xlarge, will the m4.large be provisioned faster? Or if I ...
3
votes
1answer
72 views

Searching AWS AutoScalingGroup resources by tags

I'm searching for autoscaling groups by tags - all of our AWS resources have a number of tags applied to them. However I only want to find auto scaling groups, not other types of resources. The ...
1
vote
0answers
40 views

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 ...
1
vote
1answer
57 views

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 ...
1
vote
1answer
67 views

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 ...
1
vote
1answer
68 views

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 ...
1
vote
1answer
124 views

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 ...
0
votes
1answer
152 views

How to control AWS Elastic Beanstalk auto scaling based on average response times if one endpoint is expected to take circa 60 seconds

We auto-scale our Elastic Beanstalk Java Application based on the average response times exceeding 3 seconds. When this happens we add 2 instances to our environment. Once we are back within 1.5 ...
0
votes
1answer
27 views

AWS health check and respawn if issue

I have some instances in AWS which I need only one of them, no scaling. Of course we monitor those instances as well, but before alerting someone. I checked if there's a way in AWS to check for the ...
0
votes
1answer
30 views

Is it pointless to scale your containers in the same physical server?

This is a question I couldn't find an answer Googling, maybe the terms I should search are different. Suppose you have a containerized app, NGINX Container, PHP Container and DB Container. You need ...
1
vote
0answers
28 views

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 ...
1
vote
1answer
24 views

Make domain controller automatically register IP of a replacement domain member

I have 3 VM servers in a domain. One of them is the domain controller with active directory and DNS installed. Another server is an application server. One of the requirements for that application ...
0
votes
1answer
80 views

Auto-Scaling Group Simple Policy CPU Utilization

Does the AWS ASG Simple Policy for CPU Utilization trigger based on the aggregate sum measure or the maximum measure? I am referring to the sum and max statistics listed here: https://docs.aws.amazon....
1
vote
0answers
26 views

Auto-scaling by results of HTTP request

I'm running an application in the cloud with fairly elastic demand and need to make use of auto-scaling. The application uses a pub/sub system to receive and process job requests. Each server ...
0
votes
1answer
77 views

GCP autoscaling instance templates

Want to ask a question, how to create instance templates for existing instances on GCP. On the official website, there is only an instance template creation method for the os disk of the VM. How to ...
2
votes
2answers
265 views

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 ...
0
votes
1answer
111 views

GCP Autoscaling based on memory (stackdriver)

I want to configure autoscaling based on memory using stackdriver metrics. I've installed stackdriver agent on VM and when I'm trying to configure Instance groups and I choose stackdriver metrics. I'...
0
votes
1answer
45 views

Request forwarded to new instances without completion of Startup script (AutoScalling)

I am using google cloud load balancer to Auto scale instances in GCP. I have setup a Instance group of max 6 instances. When a instance is created, it runs a startup script (To install nginx, php, ...
0
votes
0answers
82 views

Basic scaling instances of GAE don't shutdown even when idle-timeout is far exceeded

I have configured a version of my default service on Google App Engine Standard (Java, though that shouldn't make any difference) to use basic scaling and run a single B2 instance: <appengine-web-...
0
votes
1answer
65 views

Azure Auto-Scale - Handling Usage Spikes

I'm having troubles handling usage peaks. I usually get by just fine with 2 small machines (1core, 1.75 ram), keeping the load under 60%. The problem is that sometimes usage spikes happen, and CPU ...
0
votes
1answer
44 views

Permanent instances with GCE Autoscaling and load balancers

Is there any options in Google cloud autoscaler for marking some number of instances as permanent which shouldn't be destroyed by autoscaler? In my use case, I need to run some instances all the ...
1
vote
1answer
123 views

Best practice for auto-healing servers in the cloud (outside of AWS)?

We are in the process of moving from AWS where we have a highly available system setup using EC2's auto scaling feature. However, we aren't using this to change the size of the pool based on resource ...
1
vote
0answers
66 views

Check_mk on auto-scaling non-public servers

In the company I work on, currently all monitoring is "mandated" to happen using check_mk. This forces some of our deployments in AWS to always have public IPs on all machines, and then someone has ...
0
votes
1answer
286 views

AWS autoscale policy warm up issue

I have an autoscaling group in AWS EC2, on which I have an autoscale policy, which keeps the loadbalancer Request Count Per Target at 800 and it has a warm up time of 250 seconds. Now, every time a ...
2
votes
1answer
173 views

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 ...
0
votes
1answer
255 views

AWS ECS: Service + autoscaling vs User Data launching Task

Trying to wrap my head around ECS using EC2 launch (not Fargate, at least for now). Assume a single long-running task that I want to launch with every container instance. The intended mechanism for ...
3
votes
1answer
587 views

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 ...
0
votes
1answer
264 views

VMSS with custom image (captured)

I'm trying to create VMSS with windows custom image that i captured. I created custom ARM template to use the but its not working when i'm trying to deploy. Its the right approach if i want to use ...
2
votes
1answer
51 views

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 ...
0
votes
3answers
62 views

Best way to Auto Scaling a Customised Debian9 image whenever code base changes in AWS

I triggered an auto scaling group (from launch configuration) with a customised Debian9 image in AWS where I have preinstalled software packages like Apache, Memcache, Chrony along with PHP code base ...
0
votes
2answers
195 views

Auto Scaling Third Party WebSocket connections on AWS ElasticBeanstalk

If I am running a web service on EB that is accessible on lets say https://x.com, and my service opens websocket connections to another service, lets say wss://y.com, and I have persistent connections ...
0
votes
0answers
258 views

Elastic beanstalk hooks are not created on the first “eb deploy” or in the new EC2 instances

With reference to the docs, http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/custom-platform-hooks.html http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/customize-containers-ec2.html ...
1
vote
1answer
927 views

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, ...
1
vote
1answer
94 views

Auto scaling web server running multiple websites

I have an EC2 instance with a web server installed, where several dynamic websites with databases are hosted. I set up an auto-scaling group that launches new instances on high CPU load. My confusion ...