The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
29 views

EC2 custom AMI in autoscaling group not running user data script

Similar to this question, My user data is: #!/bin/bash echo 'test' > /home/ubuntu/user-script.txt Using a standard Ubuntu AMI, this works fine. I have a custom AMI that I have created by ...
0
votes
0answers
27 views

How to keep ec2 instance running in auto-scaling group for at least an hour?

In ASG it makes no sense to terminate an on-demand instance until it runs (1, 2, n) hour(s) 59 mins because you pay for time to full hour anyway. How to configure termination to make sure that billed ...
0
votes
0answers
20 views

Utilizing SSL on Multi-domain, Autoscaling Elastic Beanstalk Setup

We are creating a Content Management System for our company. It is important that this CMS support dynamic domain names on a dynamic number of servers. After many hours of research we felt that Amazon'...
1
vote
1answer
22 views

Why is an EC2 AWS instance showing an extra block device?

I'm using aws cli's autoscaling to create EC2 instances. Despite only having two device mappings in my launch config, the resulting instances have an additional device. The pertinent map Json: "...
0
votes
1answer
22 views

AWS auto-scaling: Why do we have 'desired capacity' value at start?

Assume we've started Auto Scaling Group. Min=1 (we want to keep it as cheap as possible) max=X. From common sense we may think that the desired capacity should be calculated, based on a load level ...
0
votes
0answers
22 views

Can I use twemproxy for load balancing by redis queue size?

Can I use twemproxy as a load balancer for a pool of redis instances, according to size of redis queue (amount of keys per instance)? Is twemproxy able to turn off from the upstream one of the redis ...
0
votes
1answer
40 views

How to avoid duplicate scale-in with step scaling policy?

With EC2 auto scaling, when using a step scaling policy (as opposed to a simple scaling policy) that scales in due to an alarm that is based on an AWS/EC2 metric (e.g. CPUUtilization <= 30%) with ...
0
votes
1answer
22 views

AWS autoscaling triggers

I am going to move a very big wordpress website (in terms of DB) to AWS. And I would like to understand the autoscaling triggers in order to find the best balance between costs and performance. Are ...
1
vote
0answers
44 views

Autoscaling with Nodejs on Google Compute Engine

I am trying to get my backend stuff up and running and I am looking into the best way to save money, my app does api request usually between 8:30 am and 8:30 at night, with the morning, lunch and ...
1
vote
1answer
51 views

auto instance type changer for amazon ec2?

Basically, I'd like to take large and x-large instances on EC2 and have them scale down to smalls during the late hours and on weekends automatically. A few minute downtime wi. I think this would ...
0
votes
1answer
101 views

Automatically start an AWS EC2 instance from network request (wake-on-LAN)

I'd like to start an EC2 instance on-demand, and to take it down when it is idle for some period of time (e.g. no network activity for >= 1 hour), but I can't tell what a standard way of doing this in ...
1
vote
1answer
36 views

How to load balance application on AWS

I have bit understanding about AWS but not the full picture. If anyone can fill my gaps that will be good. Suppose i have Web Application A, Using Amazon RDS B . I have queue in database so that all ...
0
votes
0answers
10 views

Trigger Builds if OS Security Updates are available

In classic non-cloudy server environments, you have a fixed set of servers. If updates were available, you installed them and were done. In cloudy server-environments, you often auto-scale your ...
0
votes
1answer
78 views

Amazon RDS and Auto-Scale EBS: Security Groups

I have the following setup on Amazon AWS: An Auto-Scaling Group An ELB An RDS database Everything is in the default VPC The only thing about this setup that I don't quite understand yet relates to ...
0
votes
1answer
30 views

EC2: Copied launch configuration causes instances not to start

I have an auto-scaling group which was working fine. I made a copy of the launch configuration and changed an additional attached volume (not the root volume which is in the AMI) from Magnetic/...
0
votes
0answers
17 views

How to update an application within an AWS autoscaling group?

We have 8 to 12 servers in our mico-service auto scaling group. We build jar files for our application. Now after building the jar file and uploading it to the Artifactory, how do we get it on all 8 ...
0
votes
0answers
58 views

EJB Remoting Auto Scaling in AWS

I'm currently in the process of figuring out how to migrate a Java EE Middleware application from a single static server to a Load Balanced Wildfly Cluster in AWS (with an Auto Scaling Group behing an ...
-1
votes
1answer
29 views

Deploy or shut-down nodes based on load with Chef

AWS has OpsWorks, which is their own take on Chef. We have several reasons[1] why we want to use a "normal" chef-server/-client setup. But OpsWorks has one feature that I cannot find in chef-server/...
0
votes
1answer
74 views

Sequential hostnames and auto-scaling?

Is there a logical way to have sequentially numbered hostnames with servers that are autoscaling but not sequentially killed? So if server13 is killed and server14/15 are alive, and the cluster ...
0
votes
0answers
25 views

Entire EBS not being used with AWS EC2 instance?

I found out the entire root partition isn't used with the ami I created, ami 1: /dev/mapper/vg_basecentos6-lv_root 6.5G 2.0G 4.2G 32% / ami 2: /dev/xvde 20G 723M 18G 4% / I've created ...
2
votes
1answer
92 views

How to configure auto-scaling with Bamboo Agents?

We are able to launch new Bamboo agents and register them with the Bamboo server by using AWS auto scaling groups and using the user data, but scaling down is an issue. A Bamboo agent is like a ...
2
votes
1answer
30 views

Configure Amazon EC2 auto-scaling by database event

How do you configure Amazon EC2 auto-scaling to create instances programmatically based on a database event? I have an application that processes several dozen large files (100MB each) on a monthly ...
0
votes
1answer
26 views

How do you include your own software in an Amazon AWS EC2 HVM AMI (eieio)?

When creating an Amazon AWS EC2 HVM AMI (TLA!!!!), how do you include your own software, when on the same partition as the root volume, but not necessarily in /usr? (in this way more efficiently use ...
0
votes
1answer
37 views

AWS - NGINX+ - Autoscale without having to update upstream configs

I am ready to implement an autoscale server farm for 'webapps' to handle traffic spikes and had a question. The plan is to create an ELB which will forward traffic across multiple availability zones. ...
0
votes
1answer
51 views

AWS autoscaling cooldown

I have 1 instance. If latency more then 1 second for 3 minutes, it will add up another instance. And here the problems arises: after 50 min(because of scaling cooldown) this 2nd instance terminates. ...
0
votes
1answer
16 views

Can I define the duration of a spot request for instances launching in an AWS Autoscaling group?

When I define a spot request for an EC2 instance, can I define the duration that I will lease that instance for (e.g. between 1 to 6 hours)? I can't find a way to do it in an autoscaling group.
2
votes
1answer
33 views

How does AWS autoscaling distribute spot instances between AZs?

I am using an AWS Autoscaling group that distributes instances across multiple AZs, with spot instance bidding defined. What will happen when the spot price jumps in one of the AZ, causing the ...
0
votes
1answer
120 views

AWS Autoscaling/EC2 billing increments?

When I use AWS autoscaling to launch instances, am I being charged for the full hour every time I launch an instance? Lets say my auto scaling is being triggered every 20 minutes, followed by ...
1
vote
0answers
124 views

Running crontab on AWS auto scaling group

I have the following setup: 1 server with application X, that runs a crontab once an hour. The crontab connects to the database and runs some heavy calculations and exports data to a special data file ...
1
vote
2answers
181 views

AWS Autoscaling: newly created instance is not in sync with other instances

I am new to AWS and learning autoscaling feature of aws. i have created one autoscaling group with min instance of 1 and max instance of 1. For experimental purpose whenever i terminate my instance ...
0
votes
1answer
76 views

Managing application configuration in aws using puppet

I have a web application with .net backend ( RESTful Services) and angular js frontend. The application is hosted on IIS Web Server. I am going to deploy the application on AWS such that I will have ...
0
votes
1answer
38 views

EC2 Auto scaling to start instances, not launch them

I think this is not supported or possible, but maybe someone has tricked EC2 into doing this. I have a group of 10 instances that are appropriately configured for my task. I want to turn them on/off ...
0
votes
2answers
76 views

How do I push latest code into auto scaling group

How do I push latest code into auto scaling group's machines I trying to run production servers on AWS with auto scaling framework. I wonder how can I deploy the new published code into running ...
0
votes
1answer
22 views

How could I access the auto scaling DB servers because not knowing the IP address

I put the web servers and db servers in different auto scaling group. Those machines in auto scaling group will be added or removed dynamically. Therefore, I have no idea about what's the db server ...
0
votes
3answers
219 views

Getting information from one CloudFormation stack to use in another

I'm trying to set up a build pipeline for a web service in AWS. The plan is to have the service run in an Auto Scale Group, and use Jenkins to build a one off EC2 instance, run tests and, on success, ...
2
votes
1answer
923 views

Auto-scaling docker containers based on EC2 instance load and SQS

I'll start with a small description of how my application works.. If a user on my website adds a task, the task is broken down into multiple sub-tasks, the number can vary from 1 to 10 tasks. These ...
1
vote
1answer
430 views

Is there a way to use length of a RabbitMQ queue used by Celery to start instance in an autoscale group?

Is there any way for Celery to emit events when the length of a queue exceeds a threshold? I want to use that event to start an EC2-instance. We have two queues for two different tasks in Celery. ...
2
votes
4answers
1k views

How to get Autoscaling group Instances IP adresses

How can I get private IP adresses of all the instances which are part of an AutoScaling group. I am trying to do some operation on all the instances which are part of an autoscaling group.
0
votes
1answer
136 views

Running post-deploy and post-scale scripts on Azure

Coming from AWS Elastic Beanstalk, I'm familiar with the scripts.config file that allows me to specify commands to run after deploy as well as just after new scaled instances are created. Is there an ...
0
votes
0answers
153 views

Elastic Load Balancing report Out of Service

I am using the loadbalancing and autoscaling feature on aws. The load balancer marks the instance "out of service". However, the instance (i-xxxx) is running fine and status checks that report "...
0
votes
1answer
434 views

AWS autoscaling and ec2 t2

I use t2.medium as a front servers at my architecture. Usually AWS autoscaling use "CPU Utilization", but for t2 it's a bit tricky. When "CPU Credit Balance" is low, t2.medium "CPU Utilization" can ...
0
votes
1answer
49 views

Attach a volume and set internal IP on boot

I have an Ubuntu 14.04 based NFS server AMI wrapped with a Launch Configuration and an Auto Scaling Group of just a single instance (min/max/req). This is just to make sure that if the server goes ...
-1
votes
1answer
396 views

How to run a shell script on all amazon ec2 instances that are part of a autoscaling group?

Can anyone please tell me how to run a shell script on all the ec2 instances that are part of a auto scaling group. The scenario is that i have a script that i want to run on many ec2 instances that ...
3
votes
0answers
840 views

Coreos auto scaling with docker and fleetctl on AWS

I spent a lot of time evaluating different ways to deploy an application to the cloud (let's assume AWS for this question) in the last few weeks but couldn't really find a satisfying solution. We ...
0
votes
1answer
37 views

Load Balanced - AutoScaled infrastructure AWS

I am currently setting up an environment in which we would like to have one server auto scaled and load balanced based on resource usage. I created the load balancer and have the instance running ...
0
votes
1answer
276 views

What is the difference between changing instance type(increasing ram capacity) and auto scaling on AWS?

I had been running my website on Amazon AWS t1.micro instance backed on a EBS volume. As I had expected to happen over time, my memory consumption is now almost full and just has around 10 MB free. ...
0
votes
1answer
429 views

How to setup a self healing EC2 instance? [closed]

I have an EC2 instance running CPM/WHM, which I would like to setup a "self healing" environment for. My plan is to wrap the EC2 instance with a single instance auto-scaling group, making sure that ...
3
votes
2answers
932 views

Auto-heal an EC2 instance with an Auto Scaling Group?

I'm trying to setup an auto-healing EC2 instance using an Auto Scaling Group and a user-data startup script. If the current server has an issue where it is no longer reachable, the instance should ...
1
vote
1answer
104 views

Uneven load distribution on an elasticache cluster

Amazon elasticache cluster looks to be a really good choice for auto-scaling but it seems the load distribution is not equal among the nodes. Both memory and CPU wise the node 1 seems to take almost ...
1
vote
2answers
384 views

Using Azure Traffic Manager for an immediate increase in capacity

I have a REST web-service on Azure which has very high but variable load, it's all set-up to auto scale using Paraleap so that it can handle the peak periods but keep costs down when things are ...