We are currently using mod_jk and apache to load balance our tomcat servers. We would like to know what is the experience and comparison with the amazon AWS load balancer.
We are currently using mod_jk and apache to load balance our tomcat servers. We would like to know what is the experience and comparison with the amazon AWS load balancer.
It works fine and is very simple to setup. Only problem I found is that there is no way to attach a root domain name to Amazon's ELB because ELB IP's changes. For me this is critical so I'm testing other solutions like HA Proxy.
ELB + Elastic IP would be a great solution for load balancing.
I am in the process of figuring out the same thing. My current plan of attack is to have an AWS load balancer pointing to 2 EC2 instances both running Apache (in this case with mod_proxy_ajp) and 2 Tomcat servers.
I have found that most domain registrars offer basic DNS tools with domain redirection (HTTP 301) and thus you should be able to set your root entry (e.g. example.com) as a redir to www.example.com or the like. This is all assuming that you are ok with the redir and don't need your site to respond to example.com. This would keep you from having to pay for another elastic IP as Amazon.
Amazon just introduced VPC today. See link below:
You might be able to integrate with that to the current solution.
"Amazon Virtual Private Cloud (Amazon VPC) is a secure and seamless bridge between a company’s existing IT infrastructure and the AWS cloud. Amazon VPC enables enterprises to connect their existing infrastructure to a set of isolated AWS compute resources via a Virtual Private Network (VPN) connection, and to extend their existing management capabilities such as security services, firewalls, and intrusion detection systems to include their AWS resources. Amazon VPC integrates today with Amazon EC2, and will integrate with other AWS services in the future. As with all Amazon Web Services, there are no long-term contracts, minimum spend or up-front investments required. With Amazon VPC, you pay only for the resources you use."
http://aws.amazon.com/about-aws/whats-new/2009/08/26/introducing-amazon-virtual-private-cloud/