Questions tagged [autoscaling]

282 questions
1
vote
1 answer

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 server is to have automatic replacement of the VM if…
1
vote
0 answers

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 subscribes to a queue and picks jobs off of that queue…
jmkmay
  • 211
  • 2
  • 7
1
vote
1 answer

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 create an instance template for a vm that has…
dyc
  • 11
  • 1
1
vote
1 answer

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've got information This feature is not available…
1
vote
1 answer

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 usage, we are simply using it to spin up new…
James Simpson
  • 1,651
  • 2
  • 15
  • 31
1
vote
1 answer

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 to go install the agent and open the…
testTester
  • 111
  • 2
1
vote
1 answer

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 is that when a new instance is launched by auto…
Igor Skoldin
  • 123
  • 1
  • 6
1
vote
2 answers

Auto Scaling default Termination Policy

Below I've pasted the default Termination Policy. This is what I find in the AWS documentation. But there is a problem with the 3rd step. It says that it chooses the instance closest to the next billing hour. Now that EC2 instances are billed to the…
Coquille
  • 11
  • 2
1
vote
1 answer

Handling short-lived bursty traffic on AWS

We have a mobile app backend server using Elastic Beanstalk autoscaling with 4 t2.small instances. When we send out push notifications, it causes a large short-lived spike in traffic to the servers. Since autoscaling takes ~3 minutes to kick in,…
jaynp
  • 235
  • 3
  • 9
1
vote
1 answer

Network errors when running `apt-get update` in cloud-init script

Yesterday I set up my first Autoscaling Group in AWS. I wrote a cloud-init/userdata script to install my application and I tested it ~40 times without any errors. Just before I went home it suddenly stopped working, new instances that start never…
1
vote
1 answer

Failed creation of IAM Autoscale role when adding autoscale to a ECS task

I am adding some auto scaling setting to a ECS task The idea is I will spawn new service when the length of the message queue increase, otherwise decrease After I put in the definition as defined above, I got the following error message: Failed…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
1
vote
2 answers

IAM user is not authorized to perform: application-autoscaling:DescribeScalableTargets

I am trying to add autoscaling to a cluster. However I encountered the following error: I have already added the IAM user to these new security groups: and Altogether this user has the following permissions: AmazonSQSFullAccess …
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
1
vote
2 answers

AWS EC2 CPU Utilization vs PHP Performance - Autoscaling CPU Thresholds?

I'm operating an Amazon AWS web application that already has a lot of timezone variation in CPU utilization. I'm also concerned about going viral too because it has a tendency to happen with us and if I'm asleep at the time our service could become…
1
vote
1 answer

GCE micro instance-group autoscaling anomalies

I have a managed instance-group in a project in Google Cloud Platform. My instance group is using the smallest predetermined machines that GCP offers, the f1-micro (more info here: https://cloud.google.com/compute/docs/machine-types#sharedcore) I…
santiago arizti
  • 435
  • 6
  • 16
1
vote
0 answers

Multiple application instances and Docker usage

I have a classical web application (CRM tool) which requires nginx, python (flask), postgresql and redis to work. I plan to sell this application to different companies and host them on my powerful dedicated server and I plan to use Docker to…