FAQ Database Discussion Community


AWS Beanstalk autoscale user files

amazon-web-services,autoscaling,beanstalk
I have setup AWS Beanstalk instance where a server app is deployed. In the backend users can change files in images/ directory. But when autoscaling the instances, the user files are not mirrored. How to solve this requirement? Can I setup AWS Ec2 to create new AMI each night based...

Bluemix Load Balancer Algorithm

load-balancing,bluemix,autoscaling
What algorithm is used to balance HTTP load among several instances running on Bluemix? It seems I can use auto-scaling service to scale horizontally, and want to know what algorithm is used when balancing the load.

How does Amazon Auto scaling work in a DDos attack

amazon-web-services,amazon-ec2,load-balancing,autoscaling
I have setup my auto scaling group to add a new EC2 instance when Elastic Beanstalk CPU usage above 60% for 5 mins. I get that but what happen if adding 1 instance is not enough and CPU usage is still above 60%, does auto scaling group add more EC2...

Windows EC2 initial config from AMI after autoscale boot up

amazon-web-services,amazon-ec2,autoscaling
I'm looking at autoscaling an off-the-shelf Amazon provided Windows AMI (as opposed to a custom one). After a new instance gets booted (and before!! it gets added to load balancer), I want some initialization tasks injected and ran on the new instance (say, running a powershell script). Secondly, the loadbalancer...

AWS Beanstalk Auto-scaling Scaling Triggers with HealthyHostCount or UnhealthyHost count

amazon-web-services,elastic-beanstalk,autoscaling
I have Elastic Beanstalk Environment , I need to setup autoscaling policy like if Elastic Loadbalancer has Unhealthy instance it will bring up new instance The Policy I used right now is below ...

How to deploy to autoscaling group with only one active node without downtime

amazon-web-services,deployment,autoscaling
There are two questions about AWS autoscaling + deployment which I cannot clearly answer: I'm currently trying to figure out, whats the best strategy to deploy to an EC2 instance behind an ELB which is the only member of an autoscaling group without downtime. By now the EC2 setup will...

AWS Launch Configuration not picking up user data

amazon-ec2,autoscaling
We are trying to build an an autoscaling group(lets say AS) configured with an elastic load balancer(lets say ELB) in AWS. The autoscaling group itself is configured with a launch configuration(lets say LC). As far as I could understand from the AWS documentation, pasting a script, as-is, in the user...

Azure scaling and autoscaling fails

azure,azure-worker-roles,autoscaling
Our azure worker roles are not autoscaling, it was only running 2 instances, even though cpu based autoscaling is configured for up to 6 instances and the dashboard cpu graph was around 90%. I then tried to turn off autoscaling and manually set the number of instances, but I got...

Use Reserved instance and autoscaling group

amazon-web-services,autoscaling
I would like to know if it would possible to create an architecture with both reserved instance (RI) and auto-scaling group to serve web pages. The idea would be to have one RI serving 24/7 and launching on demand instances in an auto-scaling group when the CPU of the RI...

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

shell,amazon-web-services,amazon-ec2,autoscaling
Can anyone please tell me how to run a shell script on all the ec2 instances that are part of an auto scaling group? The scenario is that I have a script that I want to run on many ec2 instances that are turned on automatically as part of auto...

AWS autoscaling an existing instance

amazon-web-services,autoscaling
This question has a conceptual and practical parts. Conceptually I'd like to know if using the autoscaling functionality is equivalent to simply increasing the compute power by a factor of the number of added instances? Practically ... how does this work? I have one running instance, its database sitting on...

How to scale horizontally Amazon RDS instance?

amazon-web-services,amazon-ec2,load-balancing,amazon-rds,autoscaling
How to scale horizontally amazon RDS instance? EC2 and load balancer+autoscaling is extremly easy to implement, but if I want scaling amazon RDS? I can ugrade my RDS instance with more powerfull instance or I can create a read replica and I can direct SELECT queries to it. But in...

How to create a LaunchConfiguration using CloudFormation template which creates a config file?

amazon-web-services,autoscaling,amazon-cloudformation,cloudformation
I want to write a LaunchConfiguration for my AWS stack using CloudFormation template. I have written it like below. "LaunchConfiguration": { "Type": "AWS::AutoScaling::LaunchConfiguration", "Metadata" : { "AWS::CloudFormation::Init" : { "files": { "/etc/test.conf": { "content": { "Fn::Join": [ "", [ "user: root\n", "password: password\n" ]]}, "mode": "000400", "user": "root", "group": "root"...

Why google app engine stop auto scaling?

google-app-engine,autoscaling
I was trying google app engine and data store these 2 days, and I did some jmeter load testing. I noticed that everything runs fine at the beginning of the day, but later the instance auto scaling stop working. I already upgraded to the paid account, and setup the billing...