Questions tagged [autoscaling]
The autoscaling tag has no usage guidance.
269
questions
0
votes
0
answers
6
views
GCP's autoscaler fails to scale NodePool with Ephemeral Storage
We have a NodePool dedicated to CI agents. When everything works properly, our CI controller will create a pod for a CI agent, and the NodePool will be scaled automatically by GCP's autoscaler. This ...
0
votes
0
answers
6
views
Oauth2 Autoscaling
I am wondering if any one can point me in the right direction.
We are using the following package https://github.com/asciisd/zoho to connect to a third party CRM using an OUATH token.
We are also ...
0
votes
1
answer
19
views
Autoscaling images with EBS attached
We have an AWS EC2 instance that has an EBS gp3 SSD mounted with around 70GB. Sometimes, we do some scp orders to copy new files to this EBS, but for the rest of the time, the instance will only do ...
1
vote
1
answer
75
views
Meaning of: supplementalGroups: [ 65534 ]?
I am looking at this yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: kube-dns-autoscaler
namespace: kube-system
labels:
k8s-app: kube-dns-autoscaler
kubernetes.io/cluster-...
0
votes
0
answers
20
views
AWS AutoScaling - Combining Dynamic and Predictive Scaling
I'm working on setting up scaling policies for an ASG application.
I'm wondering if it is possible (or advisable) to combine Predictive and Dynamic scaling policies for a single ASG.
The peaks for the ...
0
votes
0
answers
157
views
Istio - Prometheus - HPA Stack not communicating [ HPA could not calculate the number of replicas ]
I have cluster with 1 control panel and 2 nodes.
Istio is installed as Service Mesh.
I do request management via istio ingress.
I want it to automatically scale by sharing metrics between Kubernetes ...
0
votes
2
answers
11
views
Google cloud Auto scaling - how to create vm using existing vms image
Hi I am new to google cloud. I want to use autoscaling. My question is that is it possible to use the image of my current vm as template?
Or do I have to create a fresh vm instance and create script ...
0
votes
0
answers
77
views
Run Github actions workflow ec2 auto scaled servers
Our application is hosted on AWS EC2, we add code updates & fix bugs every few weeks. Our code is on github and github actions does the deployment with automated & manual workflows. We have a ...
1
vote
2
answers
3k
views
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 ...
0
votes
0
answers
33
views
Oracle Cloud - Graceful termination of compute instances in an instance pool
We have an application that we want to run in OCI instance pool and preferably also connect to OCI auto scaling configuration. Whenever a scale-in event occurs, our application is sticky and might ...
1
vote
0
answers
32
views
Scaling based on number of processes running on ec2 instance
I have a use case where multiple python scripts will run in parallel on ec2.
They read an SQS queue and perform operations such as download from S3, parse files, split, process, and update database.
...
0
votes
1
answer
378
views
Terraform ECS Capacity Provider not resulting in new ECS instances on demand
From what I read here ECS capacity providers should (generally) prevent tasks immediately failing on resource limits by putting them in a "Provisioning" state and spinning up a new EC2 ...
0
votes
1
answer
25
views
How to configure VPC and subnet for EC2 Database accessible privately
I have an EC2 Postgres Database (not standard AWS RDS, but based on my own configured AMI)
I have a load balancer, auto scaling group with 4 max servers in each AZ (us-west-2)
My load balancer is ...
0
votes
1
answer
162
views
Autoscaling Groups: what happens during scale-in if all ec2 are termination protected?
Suppose I create an ec2 autoscaling group where each instance is protect terminated.
Suppose a min of 2 and a maximum of 4, I was wondering what happens if, in presence of a step policy:
There is a ...
0
votes
1
answer
143
views
How to minimize ecs autoscaling reaction time from terraform?
When you create an ECS autoscaling policy, two alarms tag along with it: one for scaling up ("out"), one for scaling down ("in").
The scale-out ones I see created appear to sample ...
3
votes
0
answers
144
views
What is the best metric for auto-scaling GPU instances for machine learning inference in the cloud?
We have an API in AWS with a GPU instance that does inference. We have an auto-scaler setup with the minimum and maximum number of instances, but aren’t sure which metric (GPU/CPU usage, RAM usage, ...
0
votes
1
answer
126
views
Limit max number of simulataneous connections from NLB to a specific instance
I am trying to restrict maximal number of TCP connections from amazon NLB to a target group.
Example of a desired scenario:
We have 2 instances and NLB. The first 100 users with 100 TCP connections ...
-1
votes
1
answer
230
views
Updating Azure Virtual Machine Scale Set
I have hosted a website in azure virtual machine scale set by following the below steps
Create a VM and do the necessary changes/installations in iis.
Create a snapshot of the VM. This ensure that ...
0
votes
0
answers
64
views
EBS target response time increasing before CPU utilization
I'm in a company where we have an elastic beanstalk configuration and it works fine with our CICD. The only issue is that earlier today i ran a stress test (basically just disabled AWS shield and went ...
0
votes
1
answer
98
views
Connect instances in auto-scaling group to EC2 instance (coordinator node) without using elastic IP?
I have a setup where I do batch computation using spot instances in an auto-scaling group.
The batch computation is coordinated by a "coordinator node", which is just an EC2 instance. I use ...
1
vote
0
answers
33
views
Autoscaling - lifecylehook implementation
I'm trying to implement my first ASG with a lifecycle hook and I am having this issue:
LifecycleHandlerFunction: Encountered unsupported property Role
The following resource(s) failed to create:
[...
0
votes
1
answer
46
views
AWS auto scaling, "scale in" controls
I'm trying to move off a monolithic big server, that ran many jobs, into a design that uses auto scaling to build out more servers as more jobs are run. The issue I found in testing is that when the ...
1
vote
0
answers
30
views
Why is Code Deploy not running in new instances generated from an Auto Scale Group?
I've setup a Code Pipeline where code is being successfully pulled from Github after every commit and then a Build phase runs specs and then a Deploy phase creates a Deployment pointing to amy ...
0
votes
0
answers
132
views
GCE autoscaling based on custom metrics provided by the running instances?
I have a managed instance group with autoscaling.
Each instance runs a program that polls a remote site asking "do you have any work for me?" If the answer is "no", it goes to ...
1
vote
1
answer
64
views
What is the best way to attach instance to auto scaling?
This is my first post so hope I will get the answer.
I want to create auto scaling on my existing EC2 instance, so I found this approach so hope someone will tell me is it good ( or suggest me how to ...
0
votes
1
answer
28
views
Configure a new kubernetes node automatically
I configured a Kubernetes cluster with GPU in AWS, and one of the steps is configuring the nodes to enable Nvidia runtime by default.
So when I configured cluster auto scaler, the cluster scales up ...
3
votes
2
answers
3k
views
Why are pods failing to schedule due to resources when node has plenty available?
The pods in my application scale with 1 pod per user (each user gets their own pod). I have the limits for the application container set up like so:
resources:
limits:
cpu: 250m
...
0
votes
1
answer
276
views
How can I autoscale my Azure Kubernetes nodepool before resources run out
I did some testing today with my autoscaling setup on Azure Kubernetes. I noticed that when an autoscale was triggered, it took a while for the next node to spin up, so the last pod had to wait a long ...
0
votes
1
answer
116
views
Autoscaling with Google Compute Engine with Static IP pointing to domain name
I am looking to add autoscaling to my Google Compute Engine via the instructions I have found here: https://cloud.google.com/compute/docs/autoscaler
My original Compute Engine instance has a static ip ...
0
votes
0
answers
123
views
Targeting specific google cloud run instance through HTTP
I'm using cloud run to run a node.js app with lru-cache and auto scaling. I have created a route to allow external services to reset the application's cache. I am now looking for a way to target every ...
0
votes
1
answer
53
views
Google Run Managed - how keep a minimum number of instances and not have 0
We have a set of services deployed on google run platform managed for a web application and whenever there is no traffic, it seems the services go to sleep and then it takes a long time to wake them ...
1
vote
2
answers
2k
views
powershell user data script run on restart of the Windows instance
We have windows servers that do application initialization which takes almost 3-4 hours for servers to be online. So to avoid downtime we use autoscaling group lifecycle hooks. Now we want to shut ...
2
votes
1
answer
294
views
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 ...
0
votes
1
answer
97
views
google cloud Stackdriver Metrics to scale an Manage instance group - Regional
What are the Stackdriver Metrics we can use to autoscale Regional Manage instance groups ?
When i check the docs it says
Regional managed instance groups do not support filtering for per-instance ...
0
votes
0
answers
647
views
autoscaling php-fpm in AWS ECS
I have a t3.medium instance managed by ASG and used by ECS. My application requires approximately 25% of the capacity of this instance to operate at a minimum. will work in the standard nginx + ...
0
votes
2
answers
33
views
Production level Auto-scaling in AWS
I have completely understood the concept of Auto-Scaling in AWS. My only question is, what AMI will the launch configuration use while in production environment?
According to my understanding Image ...
0
votes
1
answer
108
views
CloudWatch / Autoscaling - Remove Capacity Metric Alarm always shows in Alarm, how can I make it not
using the example from https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html I created an alarm to trigger pruning any unused auto-scaled instances.
I'm a big fan of not ...
0
votes
1
answer
653
views
Terraform waits for ASG removal while doing graceful shutdown of EC2 instances
I use Terraform to set up ASG for my worker servers running sidekiq. On deploy when AMI image_id changes the instances require long graceful shutdown before terminating to finish job processing (max. ...
0
votes
1
answer
659
views
How to suspend GKE node instances without deleting and re-creating the nodes
We have a GKE cluster with autoscaling enabled. We are having google schedulers to shut down instances daily at a specific time.
This also shuts down the GKE nodes. Since these clusters has ...
4
votes
1
answer
492
views
AWS Beanstalk Auto-scaling Scaling Triggers with UnhealthyHost count and Health Checking
I have my scaling triggers set to look for an un-healthy host count but it does not seem to be working.
Now to test this - I am SSHing into one of my instances and halting the HTTPD service. Then, ...
0
votes
1
answer
47
views
Troubleshooting fargate autoscaling
I've set up an AWS Fargate cluster to run a service and autoscale its tasks based on the SQS queue. All great so far. The service has got a desired tasks of 1, but then it never actually launches the ...
0
votes
1
answer
68
views
Reengineer a Glassfish Cluster to be used with AWS Auto Scaling and ELB [closed]
I am in my learning path for the AWS Solution Architect exam. Please consider this question under this point of view, an auto assignment :-)
As an exercise for the reliability pillar I am trying to ...
0
votes
1
answer
39
views
Replicate changes to all instances in instance group
I want to create autoscalable instance group with load balancer in Google cloud platform. Since workload is prestashop site hence need to update content regularly. Is it possible to replicate updates ...
0
votes
2
answers
3k
views
Kubernetes node pool will not autoscale to 0 nodes
I have a rather expensive workload that some colleagues need running sometimes during the weekday (not on any sort of set schedule). I use Google Cloud Kubernetes.
It consists of three statefulsets, ...
0
votes
2
answers
2k
views
How to auto-scale ec2 instances with an encrypted root volume?
I am trying to configure an autoscaling setup in AWS where the Node Launch Template includes encrypting the root volume (EBS). I have configured a service linked role, and a CMK in Amazon KMS with an ...
2
votes
1
answer
57
views
Azure App Service Autoscale - scale in oldest server
We have a web app and use Autoscale running between 1 and 3 instances, scaling on cpu. All works well. What’s incredibly frustrating is that on scale in, the newest server is shut down and we would ...
0
votes
1
answer
380
views
CloudWatch Alarm doesn't show Auto Scaling Groups
I'm trying to trigger an EC2 auto-scaling based on a CloudWatch alarm. I've created the auto scaling group in EC2 - same region and account - but when I try selecting it from the CloudWatch console, ...
1
vote
2
answers
124
views
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 ...
1
vote
2
answers
98
views
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 ...
1
vote
0
answers
406
views
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 ...