0
votes
0answers
33 views

EC2 Haproxy stops taking requests

I am using haproxy with Apache to keep alive an EC2 server. Sometimes haproxy stops taking new requests. If I reload haproxy it starts working normally. I have disabled iptables and increased open ...
2
votes
2answers
426 views

HAProxy/Keepalived vrrp set up in AWS EC2 with EIP (Basic EC2)

I am a newbie to CentOS/Linux/HAProxy/Keepalived, so I have had a lot to learn over the past few days! I have 2 CentOS 6.5 servers in Amazon AWS running on their own EC2 Micro instances. I also have ...
2
votes
1answer
189 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 ...
1
vote
0answers
200 views

Why would HAProxy reject traffic from one location but not another?

I am able to access all of the sites with no issues and our customers are placing orders without any difficulty but at one of our locations where we have a lot of users constantly hitting the site, ...
1
vote
0answers
241 views

How can I whitelist oubound-from-private-subnet traffic to S3 on the NAT instance of an EC2 VPC?

I'm researching privacy-compliant high-security deployment options for AWS VPC. I'm looking for a method of tightening outbound traffic from the private subnets at the NAT instance. For example, how ...
0
votes
0answers
102 views

setting haproxy servers to use AWS public name server

I'm trying to configure haproxy to cluster a couple of mysql servers (galera cluster), but it seems that haproxy does not accept dns name in the server directive. e.g. config listen mysql ...
2
votes
3answers
180 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
0answers
206 views

Load balanced solution on EC2 with IIS app servers behind single IP address

I need to create an auto scaling, load balanced solution on EC2 behind a single IP address with IIS 7.5 as an app server(s). I've got a pretty good working setup with haproxy (as a reverse proxy) ...
2
votes
1answer
101 views

Enable HAProxy logging in Amazon Gentoo

I am attempting to enable HAProxy logging in Gentoo 1.12.11.1 on an Amazon EC2 Server (managed through EngineYard). I have modified the syslog.conf file as follows: local0.* ...
4
votes
1answer
1k views

haproxy and keepalived on Amazon EC2

The new Amazon Opsworks service uses haproxy rather than Amazon's own very limited elastic load-balancer so I started investigating haproxy as a better option for load-balancing our web app servers, ...
4
votes
1answer
544 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 ...
1
vote
1answer
62 views

Can you easily switch between using amazon's load balancer service and doing your own on ec2?

If you have clients who are using your service, and pointing to your domain like: api.example.com If I use route 53 to manage the dns for the domain, am I able to seamlessly choose if I want to use ...
1
vote
2answers
805 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
1k 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 ...
3
votes
1answer
968 views

Restarting Haproxy Gracefully

As per various blogs, HAproxy can be gracefully restarted using the following command: sudo haproxy -f /etc/haproxy/haproxy.cfg -p /var/run/haproxy.pid -sf $(cat /var/run/haproxy.pid) TO verify ...
0
votes
2answers
326 views

HAProxy on Amazon EC2 instance type

I am setting up load balancing for my Amazon RDS Read Replicas using HAProxy, should I use a m1.large or c1.medium instance type for running HAProxy ? thanks
0
votes
1answer
132 views

ec2 and haproxy, what are my options when defining server nodes, by internal/external ip?

When setting up haproxy, you obviously have to set which web servers you want to participate in the round robin etc. With ec2, I understand you get an internal i.p address that is randomly assigned, ...
0
votes
2answers
887 views

Test capacity of HAProxy Load Balance solution on Amazon EC2 Micro-instance

Currently we have a domain name registered with an ISP that points to an Amazon EC2 instance with an Elastic IP. This instance is running IIS hosting a simple ASP.NET site that URL forwards visitors ...
1
vote
1answer
823 views

Using HAProxy for load-balancing SQL Server 2008

Is it possible/feasible/reasonable to use HAProxy to load-balance three SQL Server 2008 database servers? Here is our situation: we have two web servers that are load-balanced on Amazon EC2. We are ...
18
votes
3answers
7k views

How can I deploy a scalable, reliable haproxy cluster on Amazon EC2?

We need some more advanced functionality than ELB provides (mostly L7 inspection), but it's not obvious how to handle things like heartbeat and high availability with something like haproxy using EC2. ...
0
votes
2answers
299 views

Where to go for a TCP software load balancer with automatic scaling?

We have an interactive flash application running on AWS EC2 instances. One instance can handle between 100 and 200 users. We expect times with heavy growth and slashdot effects. To be prepared and not ...
2
votes
3answers
1k views

Blocking IP addresses Load Balanced Cluster

We're using HAproxy as a front end load balancer / proxy and are looking for solutions to block random IP addresses from jamming the cluster. Is anyone familiar with a conf for HAProxy that can block ...