Questions tagged [autoscaling]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
13 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
0answers
7 views

Do Galera (or MSSQL) support this clustering scheme?

Clustered databases can be scaled relatively easily. However, even assuming zero latency to spin up a new instance, there is a considerable delay before the newly added node is ready to serve requests....
0
votes
0answers
59 views

Jibri server with AWS autoscaling

We configured jibri server for recording meetings through Jitsi meet. We should handle more number of recording in parallel so we configured Jibri server in auto scaling mode. As per the CPU threshold ...
0
votes
1answer
47 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
1answer
64 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 ...
2
votes
1answer
56 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
1answer
18 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
1answer
38 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
1answer
20 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
1answer
159 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
2answers
212 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
1answer
33 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
1answer
88 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
2answers
53 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
2answers
82 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
0answers
129 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 ...
0
votes
0answers
37 views

CloudwatchEventRule Target run commands on instances in different regions?

Amazon Web Services CloudWatch Event Rules allow you to respond to an autoscaling event by initiating an Amazon SSM Run-Command against an instance by instance-id or tag:Type. This is a good mechanism ...
0
votes
1answer
53 views

Azure VM Scale Set - Scale In during task

This seems like a basic question but I haven't been able to find an answer googling around. How does scale sets know that a particular VM has finished what it's doing and is able to be de-provisioned?...
0
votes
1answer
477 views

K8S HPA custom Stackdriver - 503 The service is currently unavailable - avoids scaling

We have an horizontal pod auto-scaler (HPA) installed on gke cluster, most of the time the auto-scaler works perfectly fine. but from time to time (mostly on our customer rush hours) the auto scaler ...
1
vote
2answers
46 views

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 ...
2
votes
1answer
234 views

How to change Elastic Beanstalk launch configuration to launch template?

I want to replace the launch configuration with a launch template for my existing Elastic Beanstalk environment. In the EC2 dashboard I created a launch template and selected it in the existing EB ...
4
votes
1answer
451 views

How do I create an AWS autoscaling policy to match the size of an SQS queue?

I am building a render farm using SQS and autoscaling group(s). I believe my use-case is one of the few where I actually want my group's capacity to match the size of the queue, up to a limit. Right ...
0
votes
1answer
77 views

Evicted pods not getting removed from the cluster when autoscaling is enabled

I have a cluster created in GCP with autoscaling enabled on the cluster. In my case, few pods are getting evicted from node A due to Memory Pressure and are running on new node B. But the evicted pods ...
0
votes
2answers
447 views

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 ...
1
vote
2answers
323 views

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

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

AWS ECS Cluster Autoscaling

I am trying to setup a scaling policy in ECS Cluster, so that EC2 instance that make up ECS cluster and task runnning in ECS Service could scale up and down based on the scalling policy i specified. I ...
0
votes
0answers
104 views

Failed To Open Stream - Permission Denied

When attempting to access my application on Elastic Beanstalk - I get this error. file_put_contents(/var/app/current/appserver/storage/framework/views/a4f0a51a113cff489cd7cd85dbb8284986067f6a.php): ...
0
votes
1answer
472 views

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

How to use Aws code-deploy with Auto-scaling group

We have auto-scaling group behind an Application load balancer which launches instances if the avg. CPU Utilization goes beyond 70%. We have created a base AMI for the auto-scaling group. But the ...
3
votes
1answer
174 views

How to dynamically set tag values in an AWS auto-scaling group

I'm trying to create an AWS auto-scaling group, and I want my instances to have a tag with Key=Name and Value=processor%i, where the "%i" is dynamically replaced with a 1, 2, 3, etc as the instances ...
3
votes
1answer
164 views

How to share a EFS/s3 with code in a auto scaling group?

the main problem is: Infrastructure: Autoscaling (min 1 - max 3) RDS ELB elasticache (redis) elasticsearch I want to share a volume (EFS / S3) with the code of my application; The size of it is ...
0
votes
1answer
70 views

How to create kubernetes horizontal pod autoscaler with specific name?

I tried to create a kubernetes horizontal pod autoscaler with specific name (ttt), but it didn't work as expected: $ kubectl autoscale deployment hello-web --cpu-percent=50 --min=2 --max=10 --name=...
2
votes
1answer
812 views

How to properly deploy new code to AWS EC2 AutoScaling Group

Scenario: Currently, we have a single production server running on an EC2 instance. Since we are getting a lot of traffic, we would like to use the Autoscaling feature, but we are kind of new to this. ...
0
votes
1answer
143 views

AWS autoscaling stack of multiple servers

I have a stack of 2 AWS instances running 3 servers in a chain: (Server 1) Apache2 and PHP-FPM (Server 2) Varnish + Nginx for SSL termination These servers are separate as I expect the Apache Server ...
0
votes
1answer
2k 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 ...
2
votes
1answer
819 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
439 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
376 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
330 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 ...
6
votes
2answers
5k 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
53 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
295 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
226 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
96 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 ...
5
votes
2answers
760 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
215 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
319 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
189 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
45 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 ...

1
2 3 4 5