Questions tagged [autoscaling]

Auto scaling is a feature of cloud computing services which allows adding more computational resources automatically if load increases or based on triggers/custom metrics.

Auto scaling is a feature of cloud computing services which allows almost infinite growth of computational power automatically as load increases on CPU, memory or disk storage.

In particular, such feature is available, for example, in Amazon EC2 service using ASG.

1836 questions
0
votes
1 answer

AWS autoscaling group where one instance is unique

I have an a scaling group of 2-5 instances to handle web traffic. I'm using a the rpush gem for push notifications, which requires a single daemon running to execute all the awaiting jobs. I'm already paying for the 2-5 instances, which have…
D-Nice
  • 4,772
  • 14
  • 52
  • 86
0
votes
1 answer

aws ecs autoscaling instances

Currently I am struggling with AWS auto scaling. Do I need to create instance Auto Scaling Group in parallel to ECS Service Auto Scaling to provision necessary resources for services/tasks, or it is managed automatically by the latter one? …
the0ffh
  • 407
  • 1
  • 4
  • 14
0
votes
1 answer

AWS Cloud Formation cfn-signal: command not found

I'm setting up an auto-scaling group using cloud formation, and running a script via UserData on server startup. At the end of the user data script, I'm attempting to call cfn-signal to let the autoscaling group know that instance startup is…
0
votes
0 answers

Signal with cfn-signal in nested stacks

I have a nested stack which consists of 2 stacks: a Launchtemplate Stack and a Autoscaling stack I have set a creation policy for my autoscaling group which gets notified via cfn-signal. The cfn-signal is embedded into the User Data script in my…
aerioeus
  • 1,348
  • 1
  • 16
  • 41
0
votes
1 answer

AWS autoscaling Lifecycle Terminating:Wait not working as I expected it to work

I have recently setup ASG lifecycle hooks. So the ASG instances go into terminating:wait lifecycle state for 5 minutes and terminated automatically. But I observed that during the time the Instances are in Terminating:Wait new scale up activity is…
0
votes
1 answer

Why does not service fabric scale with auto scale feature in the azure portal?

I have following setup with service fabric cluster: 5 nodes(Durability tier: Bronze and Reliability tier: Silver) Current average CPU utilization % on the related VM Scale Set (VMSS) averages around 14%. Services are deployed properly each with…
Raghu
  • 2,859
  • 4
  • 33
  • 65
0
votes
2 answers

Architecture Questions to Autoscale Moodle on Google Cloud Platform

We're setting up a Moodle for our LMS and we're designing it to autoscale. Here are the current stack specifications: -Moodle Application (App + Data) baked into an image and launched into a Managed Instance Group -Cloud SQL for database (MySQL 5.7…
0
votes
1 answer

How to ensure CodeDeploy keeps all auto-scaling group instances in maintenance while purging cache?

I am working on a deployment process involving the following: Gitlab runner pushes a Magento 1.9 app to a S3 bucket Gitlab runner deploys the app using CodeDeploy CodeDeploy deploys the application on all instances that are up in the auto-scaling…
0
votes
1 answer

How to add a scaling policy to an auto scaling group using Cloud Formation or AWS CLI

How to add a scaling policy to an auto scaling group either new or existing using Cloud Formation or AWS CLI
ack
  • 31
  • 8
0
votes
1 answer

How does Google Compute Engine decide what instances to shut down when autoscaling?

I'm creating a managed instance group with autoscaling in GCE. When a lot of work is queued up new instances will be created which start doing work. Let's say each chunk of work takes 10 minutes, could it happen that GCE decides to shut down an…
Matt Zeunert
  • 16,075
  • 6
  • 52
  • 78
0
votes
1 answer

Do Java scheduled tasks run on all EC2 instances of AWS auto scaling group?

I have a Java web app which runs in Tomcat within an auto-scaling group of EC2s which are provisioned by Elastic Beanstalk. My web app has a scheduled task that runs every night to clear records from the database which is in RDS. My question is -…
0
votes
1 answer

How do I change max and min latency in my App Engine?

I have a project running on App Engine, with PHP, and it's not autoscaling My app.yaml file: runtime: php api_version: '1.0' env: flexible threadsafe: true env_variables: APP_KEY: 'base64:*****' APP_LOG: errorlog CACHE_DRIVER: database …
0
votes
1 answer

Google App Engine not autoscaling php

I have a project running on App Engine, with PHP, and it's not autoscaling My app.yaml file: runtime: php api_version: '1.0' env: flexible threadsafe: true env_variables: APP_KEY: 'base64:*****' APP_LOG: errorlog CACHE_DRIVER: database …
0
votes
1 answer

Get autoscaling name from ecs ec2 instances

I have an ECS cluster, I want to stop those instance and it may be either autoscaling or not... so I started to create a script like this. import boto3 CLUSTER='BBB' ec2 = boto3.client('ec2') ecs = boto3.client('ecs') ci_list_response =…
eksm27
  • 23
  • 4
0
votes
1 answer

Does Increased Dyno Count === Increased Performance ? Will it make my app accommodate more traffic?

I've got a Rails app deployed on Heroku. It's getting a ton of traffic and it's lagging as a result. I'd like to: 1) make the app run faster and 2) make it so that the app can accommodate heavy traffic on any given day. I read about Heroku's "dynos"…
Diana E.
  • 309
  • 5
  • 11