Questions tagged [aws-auto-scaling]

378 questions
0
votes
1 answer

Autoscaling group on AWS exhausting internal IPs

Suppose I have this simple scenario. I setup an autoscaling group that will launch a new EC2 instance if the CPU usage goes about 85%. My understanding is that when CPU usage goes under a certain level autoscaling group will scale in by reducing the…
0
votes
0 answers

How to Centalized Logs in Magento 2

We are using authorize.net and Paypal as payment options in our Magento 2.x. We want to keep separate log files for each payment method. Anyone has any idea how to keep logs in Remote location.
0
votes
1 answer

aws autscaling api access policy via terraform

Using an aws autoscaling group which is controlled by a server, predicting upcoming load and scaling up/down to it needs. The server needs permissions to the autoscaling api with the least amount of needed privileges. My issues are with restricting…
Obi-Wan
  • 846
  • 1
  • 11
  • 26
0
votes
1 answer

Can I stipulate that EC2 instances in a certain launch config use my Reserved Instances

I have an ASG with a Launch Config that uses the instance type I've purchased Reserved Instances for, but I want to ensure that this ASG/Launch Config gets first dibs on the purchased Reserved Instances for ensuring Capacity only. It's possible that…
maafk
  • 6,176
  • 5
  • 35
  • 58
0
votes
1 answer

How to ensure that the ASG ( Auto scaling Group) replaces existing instances with every change in the Launch configuration

The infrastructure is provisioned using terraform code. In our AWS environment, we have a new AMI created for every commit made to the repository. Now, if we want to have autoscaling configured for the web servers behind an ALB using this new…
0
votes
1 answer

Not able to attach Target id(launch configurtion) to the target group of network load balancer in Terraform

I am configuring a Terraform script for creating HA rabbitmq setup with auto scaling groups for all the instances. For creating auto scaling group I am creating launch configuration which will create auto scalable instance. I want to use a network…
0
votes
1 answer

AWS auto scaling single node groups?

Ok, I have a strange situation. Can't find anything quite like it online. Within a platform that I'm helping run, we have a couple of services that really can only run on a single node. Yes, our developers are working on fixing this, but in the…
0
votes
1 answer

AWS Application load balancer - wait some time before executing a healthcheck

I have an Application load balancer that is configured to forward requests to EC2 instances inside a target group. Also, I have an autoscaling group attached to the same target group which is increasing the number of instances based on the server…
0
votes
1 answer

Unable to create autoscalling group for application load balancer using aws cloud formation

AWS CFN build is failing with status "Value of property TargetGroupARNs must be of type List of String" for the following autoscalling group: InfyASG: Type: AWS::AutoScaling::AutoScalingGroup UpdatePolicy: AutoScalingRollingUpdate: …
0
votes
2 answers

AWS ECS Terraform: The requested configuration is currently not supported. Launching EC2 instance failed

I have been trying to spin up ECS using terraform. About two days ago it was working as expected, however today I tried to run terraform apply and I keep getting an error saying "The requested configuration is currently not supported. Launching EC2…
0
votes
0 answers

Not authorized error when trying to create LaunchConfiguration with Cloud Formation

I'm trying to create a config launcher for my AutoScaling group. I try to deploy it on a fresh Amazon account and I'm facing an authorization error. Not matter if I'm connected with the root account or an admin account, I always get the same…
jeremieca
  • 1,156
  • 2
  • 13
  • 38
0
votes
1 answer

AWS Auto-Scaling group with one desired instance and no load balancer

Running a system designed with CloudFormation that experienced a series of unfortunate hardware failures recently. For cost-effectiveness of this not heavily used system, it is backed by only a single instance and does not use a load balancer. I…
Paco1
  • 758
  • 6
  • 18
0
votes
1 answer

Problem during Elastic beanstalk autoscaling

I just started using elastic beanstalk.I am testing a golang web application the number of requests ranges from 10k to 450k per minute.During scaling i am getting "BackendConnectionErrors", "HTTPCode ELB 5XX", "HTTPCode Backend 5XX". Is this normal?…
0
votes
1 answer

LoadBalancer and Autoscaling group : What happen when an AZ is not available?

I have an Autoscaling Group behind an Application Load Balancer. Both of them are configured to use 2 subnets for 2 different AZ. The Autoscaling Group is set to provision only 1 instance (min:1, max: 1, desired: 1) Now in case of AZ failure the…
0
votes
2 answers

How to test ECS autoscaling properly?

I have a ECS service that I have set up auto-scaling for. It is a service that has 2 Fargate tasks. The problem is the Docker containers' CPU utilization is usually very low, generally around 0.1%. I would like to test my auto-scaling set up,…
fhcat
  • 971
  • 2
  • 9
  • 28