2
votes
1answer
28 views

Application access via AWS Load Balancer with autoscaling

I am configuring a test AWS architecture for a web application that I plan to migrate from a dedicated hosting service to AWS. What I have now is as follows : One MySql RDS, where my application ...
1
vote
1answer
62 views

HAProxy max out at ~10,700 connections

I am stress testing ejabberd with Tsung. My EC2 instances setup as follows: Tsung : c3.xlarge ejabberd : c3.2xlarge HAProxy : t1.mirco When I let Tsung talk to the ejabberd instance directly, I ...
0
votes
1answer
48 views

Amazon EC2 Web server in Load Balancer gives 503

we've been running our web servers at Amazon with load balancer and auto-scaling for over a year with no problem. All of a sudden today the request began to get aborted with the error: 503 ... Backend ...
0
votes
0answers
39 views

ELB Health Checks incorrectly failing / being unhealthy

Over the weekend, our instances have started being marked as unhealthy, and not being enabled within the load balancer. When going to the public DNS of the instance, followed by the healthcheck.html ...
-2
votes
3answers
131 views

Get AWS ELB name from an attached instance

I created one ELB and attached a few instances to this ELB. So when I login into one of these attached instance, I would like to type a command or run a nodejs script that can return me the its ELB ...
0
votes
1answer
65 views

Multiple Amazon EC2 instances for a single application [closed]

I'm new to AWS and currently using a single m1.medium EC2 instance to run an application. I've been reading up on AWS terminology, but there's one thing I haven't gotten a clear answer on. I know how ...
0
votes
0answers
114 views

Can I forward my godaddy domain to Load Balancer DNS' name?

My domain is hosted on GoDaddy. Is it possible to forward my domain to LoadBalancer's DNS? Example steps: Add Domain Forwarding on GoDaddy Forward to: ...
3
votes
2answers
361 views

EC2 Update my existing AMI

I'm using Elastic Load Balancing to load balance my Auto Scaling Group, for that I have a private AMI that hold my application server (Tomcat) and my web app deployed to it as war ... Now everything ...
2
votes
3answers
156 views

Is there a way to redirect an IP to another IP on Amazon EC2?

We're migrating our deployment from regular EC2 into a VPC, we have two load balancers in the public cloud that we have a number of domain "A" records pointed at, however I didn't realize that a ...
0
votes
1answer
76 views

High-traffic, low disk utilization AWS solution [duplicate]

I've got a high-traffic (imagine tracking server) node.js server that's going to run on AWS EC2. There is no disk operation involved, but a lot of DynamoDB requests (in same zone), ElastiCache usage ...
0
votes
3answers
223 views

Varnish Server : How to put in-between Top Loadbalancer and Below EC2 Web Servers?

I'm still kinda novice but now i'm on AWS/EC2 Redhat Machines. I have: 1x Load Balancer (Above) 2x EC2 Apache Web Servers (Below) Something like: LB | ------- | | Web Web Then ...
1
vote
1answer
289 views

Can I use an Amazon Load Balancer in front of multiple GlusterFS EC2 instances?

I'm encountering an interesting problem with setting up a High-Availability file system cluster on EC2. The idea behind the setup is simple: 2 GlusterFS nodes are in two separate availability zones ...
0
votes
2answers
232 views

What is the advantage of having ELB infront of your NGINX servers?

I've looked into a lot of back end setups on Amazon Web Services, especially that of Instagram's. On their Instgram Engineering Blog they mentioned how they have an Elastic Load Balancer in front of ...
0
votes
1answer
417 views

AWS VPC ELB vs. Custom Load Balancing

So I'm wondering if this is a good idea. I have a Amazon AWS VPC setup with a public and private subnets. So I all ready get the Internet Gateway and NAT. I was going to setup all my web servers ...
1
vote
1answer
630 views

Amazon ELB and multi domain on Nginx server

I have an EC2 instance running Nginx with several domains. My config starts like this: server { listen 80; #disable_symlinks off; server_name _; #allow few domains #Adding 'www.' to ...
0
votes
1answer
80 views

creating elastic load balancer in VPC

I read that its possible to create elastic load balancer in VPC but I couln't find how to create it. How could I create elastic load balancer in a VPC?
1
vote
1answer
134 views

Setting up two apache webservers and load balancer on EC2

I have an app already deployed on Ubuntu EC2 machine. I am using Apache2 web server, phusion passenger and MySQL. Now I want to add one more server, but I don't know how to set up servers on EC2. Any ...
0
votes
0answers
49 views

Testing web box behind a https load balance

I have a 3-tier system setup 2 Load balancers n amount of app servers database boxes / slave boxes. I have SSL setup on the load balancers. Normally when I test a specific server I change my host ...
0
votes
1answer
99 views

“Big picture” to use Amazon load balancer solution for blog

I have a client with a popular Wordpress blog that experiences occasional short-term traffic spikes (when the site is promoted on national TV). The blog is already hosted on an Amazon EC2 instance, ...
1
vote
1answer
110 views

Internal IP of amazon Load Balancer

Is there any way to find out the internal IP of my ELB. I realise it's dynamic and changes every so often but I'm looking into a large number of packets flooding the server and all I have to go on is ...
7
votes
3answers
3k views

Issues with EC2 Elastic Load Balancer DNS and routing

We're trying to run a fairly straightforward setup on Amazon EC2 - several HTTP servers sitting behind an Amazon Elastic Load Balancer (ELB). Our domain is managed in Route53, and we have a CNAME ...
0
votes
1answer
445 views

What will happen to my EBS data when autoscaling my EC2 instance?

I have various websites hosted on 1 same single EC2 instance so far. In the root EBS volume of such instance I have: Codes and files of the websites which change every hour if not every minute Apache ...
1
vote
1answer
230 views

EC2 Multiple website on one instance, load balance

I have a question. My instance is currently using LAMP STACK by Bitnami, the first site is LAMP, the second is Magneto STACK by bitnami, My focus is on Magneto Stack. I was thinking of having the ...
4
votes
1answer
377 views

HAProxy authenticated httpchk (health check)

I am using HAProxy on EC2 and using httpchk to manage node availability. I had used a pseudo-unique path as the health check route in an attempt to make sure only my servers responded to the health ...
0
votes
1answer
115 views

Can I use nginx to start EC2 instances on demand?

TL;DR - Is there a way to make nginx act as an elastic load balancer that will spin up EC2 instances on demand, allowing for the case when periods of no demand mean no instances will be running? ...
1
vote
1answer
129 views

Amazon RDS Master-Slave Relationship between EC2 instances with load balancing activated

We're planning to move our Tomcat/MySQL app onto the Amazon cloud employing 2 EC2 instances (inst_1 & inst_2) running in different availability zones whereby inst_1 will contain the master RDS db ...
-1
votes
2answers
124 views

How to load balance when database and application running on same instance in Amazon EC2

I have the situation where I am running my application and Postgresql database on same Ec2 instance. Data of Postgresql gets saved on another EBS Volume different from the Root volume of the instance. ...
1
vote
1answer
431 views

Need a recommendation for shared storage on auto-scaling ec2 w/ scalr

I have come across so many answers to this question that I am completely lost! I am moving our 2 sites to a load balanced ec2 system with scalr as our cloud manager. Now the question is coming up ...
0
votes
1answer
92 views

Looking for the best ec2 setup for 3 sites totaling in 1.5 mil in traffic monthly [closed]

I am looking to consolidate our current aws setup of 2 Large ubuntu ec2 servers and 2 large RDS server for our 3 websites that have a total of about 1.5 million hits a month and increasing every month ...
1
vote
1answer
288 views

EC2 load balancer - difference between “Load Balancer” and “Application” Generated Cookie Stickiness

The stickiness of an elastic load balancer can be set to one of three options Disable Stickiness Enable Load Balancer Generated Cookie Stickiness Enable Application Generated Cookie Stickiness ...
1
vote
1answer
1k views

Back end ec2 instance is accessible through ssh and browser but fails load balancer health check

I'm setting up a load balancer for the first time so please bear with me as I try to provide as much detail (I'll be checking back on this question every 15 minutes so I can speedily reply to any ...
2
votes
2answers
2k views

How does one point a domain to a load balancer that doesn't have a stable IP?

I'm trying to point mydomain.eu to an AWS load balancer, which, by its nature, does not have a stable IP, so I think I'm supposed to point the A record to a subdomain at Amazon, but as far as I can ...
2
votes
1answer
103 views

Amazon syn between regions

We have an app on amazon servers on US-east region. The whole setup contains 2 ec2 instances behind a load balancer, an rds instance and an elasticcache instance which are all located in the US-east ...
0
votes
0answers
81 views

Load balance using every second request using elastic load balancer on EC2

I might be trying to solve my problem the wrong way here; but we have a backend service that run calculations for about 15 seconds on 100% cpu usage. The idea was to have two EC2 instances fronted by ...
1
vote
2answers
304 views

Basic redundancy for EC2 (wordpress + mysql)

I've got a website that I would like to add redundancy to. It's not a massive website, and will probably only receive a handful of database updates and/or files per day, however it's very important ...
0
votes
1answer
300 views

Amazon ELB page 'recieving' time very slow, running EC2 + spot

I have an Elastic Load Balancer paired to a set of instances one is persistant and the other is a variable number of spot instance. When i access the servers directly using their end points, the ...
1
vote
2answers
646 views

Sticky Load Balancing with AWS

I have just setup a load balancer with AWS for a few instances as search engine crawlers were bringing down the site (it has millions of pages). Parts of the site allow you to login so I selected: ...
3
votes
3answers
3k views

EC2 ELB and DOS attacks

I'm using Amazon's ELB to load balance between servers, When my site is under attack by bots, everything is exhausted, so here is the problem I can't block IP addresses with Amazon's security ...
7
votes
4answers
8k views

How do I Install Intermediate Certificates (in AWS)?

I have installed private key (pem encoded) and public key certificate (pem encoded) on Amazon Load Balancer. However, when I check the SSL with site test tool, I get the following error: Error ...
2
votes
2answers
746 views

Amazon EC2 Elastic Load Balancing - strategy for zero downtime server restart

I have 5 web servers (Apache/mod_perl) behind Amazon EC2 Elastic Load Balancing, when I deploy codes to the web servers, I am doing this.. For each machine, shutdown the Apache Update the code Start ...
1
vote
2answers
750 views

Unexpected behaviour when dynamically add node in HAproxy server

I wanted to use HAProxy for my web app for load balancing purpose. I am trying to add a new rabbitmq node dynamically in HAProxy server using command : haproxy -p /var/run/haproxy.pid -sf $(cat ...
1
vote
2answers
958 views

Configure HAProxy for rabbitmq

I want to use HAProxy as a load balancer. I want to put two rabbitmq server behind haproxy. Both the rabbitmq server are on different instance of EC2. I have configure HAProxy server by following this ...
1
vote
2answers
146 views

Load balancers and going with dedicated over ec2

One mental block I have is load balancers, and I like how AWS/ec2 handles this for you. BUT, I like dedicated servers for the performance and cost benefits etc. I'd love if someone who is well ...
4
votes
2answers
176 views

Mongo database replicas on the same machines as load balanced webservers?

We're testing deployment of a web app on Amazon's EC2 which uses MongoDB for the database. Mongo recommends using at least 3 nodes for replication for data integrity. Although this is testing, we'd ...
0
votes
1answer
143 views

Improving web hosting for high traffic website

Our website is current running on a intel Xeon 2.3GHz that is about 5 or 6 years old with 8GB. The website is current getting around 2,000 visitor per day. Running on windows 2008 R2 Web edition. The ...
1
vote
3answers
321 views

AWS Elastic load balancer doesn't decrease instances from Alarm Trigger

I have a load balancer that I created an auto-scaling-group and launch-config for. I created the auto-scaling-group with a min-size of 1 and max size of 20. I have a scaledown policy: ...
3
votes
1answer
702 views

Amazon AWS Static IP & ELB Load Balancing Alternatives

I am currently using Amazon AWS to launch a blogging service which offers two different ways to display content to the users Using their own subdomain : blog.mywebsite.com Using their own domain : ...
3
votes
3answers
1k views

Load testing sites behind an EC2 load balancer with ApacheBench

When ever I try to load test a site that is load balanced on EC2 I get the following message: ab -n 20 -c 20 http://www.somesite.com/ Benchmarking www.somesite.com (be patient)...Send request ...
2
votes
1answer
668 views

Is my hosting company using Amazon EC2?

I have a few clients who I host websites for. Right now I am using a web hosting reseller package to do this, but have been considering moving to Amazon EC2. The only problem is the clients need ...
0
votes
0answers
405 views

How to debug when ELB fails but nginx looks ok?

I'm using Amazon's elastic load balancing across several machines that are running nginx. The problem is, after running for fifteen minutes or so, ELB starts to mark all of the machines as dead. When ...