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 spot instances/restarting more quickly

I'm using AWS spot instances and want to get the same "stop/start/setup" speed as on-demand instances. With on-demand instances, the root EBS volume stays around, so once I install all the packages, subsequent start/setup is fast. However, for spot…
Yaroslav Bulatov
  • 57,332
  • 22
  • 139
  • 197
0
votes
1 answer

Startup script not running on GCP Compute Engine windows server with autoscaling turned on

I have a Managed Group in Computer engine on GCP. Autoscaling is set up and running but when a new server comes on or if I do a "Rolling Replace" the start up script is not being run. It is a very simple script that makes sure the latest code is…
Lance
  • 3,193
  • 2
  • 32
  • 49
0
votes
1 answer

Can I take snapshot of unhealthy instance before AWS Autoscale group terminates it?

I have a 3 node cluster of ec2 instances controlled by ASG. When any of application server running on an ec2 misbehaves, the elb health check fails and hence asg terminates it and recreates a new instance. So in a way my setup is self healing…
0
votes
0 answers

How do I create a load balancer for a compute engine instance running Debian 9 and WordPress Multi-site as well as Lets Encrypt SSL integration?

I have been researching about Load Balancing and auto-scaling on GCP, but I can't seem to get my setup correct. I have an instance running Linux Debian 9 and Apache2 web server. I used the Bitnami setup and created a WordPress multisite. So what I…
0
votes
1 answer

Why does AWS Auto Scaling launch multiple instances during scaling?

I'm trying to set up an AWS Auto Scaling Group (ASG) that auto-scales based on average group CPU load. I have a scale up policy that is supposed to scale the group up by 1 instance once the average CPU usage is higher than 70%. However when the…
oblio
  • 1,519
  • 15
  • 39
0
votes
1 answer

AWS Autoscaling Groups custom log

We have a setup on AWS where our Windows based VM Instance are part of a autoscaling group. I want to configure Cloud Watch to collect some custom logs from our application's install path on Virtual Machine Instance. But I am not able to find any…
BlindSniper
  • 1,731
  • 3
  • 16
  • 30
0
votes
3 answers

Monitoring instances in Azure Virtual Machine Scale Set (VMSS) using Python

I want to monitor and get information regarding the different instances in an Azure Virtual Machine Scale Set (VMSS). I used the command (Python): vmss = compute_client.virtual_machine_scale_sets.list(resource_group, scale_set_name) But I am not…
0
votes
1 answer

How to maintain php error log or any server log while using horizontal autoscaling aws?

We are having a social network project which is having progressive traffic and to maintain this traffic we are using aws horizontal autoscaling in which servers are created dynamically and reduced dynamically So its difficult sometimes to track…
piyush
  • 655
  • 4
  • 11
0
votes
1 answer

Making ECS create instances ones a day

So basically I have five tasks that need to be run once a day and the process is usually quick. The problem I am having is that I don't want to have an EC2 up all day just to use it for thirty minutes. Is there a way to have the ECS create an…
Marco
  • 1,112
  • 1
  • 14
  • 34
0
votes
1 answer

Amazon AWS - Auto Scaling Wordpress site

Since some weeks ago, I've been studying a lot about AWS. Recently, I've been running some tests with Auto Scaling for EC2, using applications with HTML front end and JS back end. So far, I've been using S3 to create an URL in which users can access…
0
votes
1 answer

Google Cloud Compute load balancing and auto scaling info NOT written for sysadmin type

I asked this on serverfault but evidently to basic for them. I have read through a ton of documents on the Google cloud platform but most of it is over my head, I am a developer and not a network type person. I think what I am trying to do is pretty…
0
votes
1 answer

How do I automatically terminate EC2 instances after a CFN update?

So, I've created a stack with app version 1.0.0.0. Time for release so I update the parameters file with the new configs and via cli send the stack-update. I can see the stack been updated and the autoscaling update complete. But I don't see the…
iCodeLikeImDrunk
  • 17,085
  • 35
  • 108
  • 169
0
votes
2 answers

AWS EC2 Immediate Scaling Up?

I have a web service running on several EC2 boxes. Based on the Cloudwatch latency metric, I'd like to scale up additional boxes. But, given that it takes several minutes to spin up an EC2 from an AMI (with startup code to download the latest…
Todd
  • 2,829
  • 5
  • 34
  • 56
0
votes
1 answer

Launch Template with AMI from Snapshot, no volume termination possible

I have an AMI which I have adapted to my needs. After this preparation, I tried to make again my own AMI out of it with help of a Snapshot. Now I want to use this new AMI inside a Launch Template for later Auto Scaling purposes. I want to set the…
Maik
  • 1,582
  • 3
  • 12
  • 13
0
votes
1 answer

Attach volume to windows ec2 instance using cloud formation script

We are using using cloud formation script to create and setup a windows instance for our application. Instance is created using AWS::AutoScaling::LaunchConfiguration. Now we have a requirement to attach a previously created volume to this instance…