MultiCloud Marketplace


Load Balancer with HAProxy

Open in Dashboard

Published by RightScale on Jan 10, 2012Revision: 56 This component has been deprecated by the publisher.


This ServerTemplate is on the Infinity Lineage. For the latest LTS version, see the 13-LTS Release
For a description of the Infinity and LTS lineages, see ServerTemplate Release Methodology

This ServerTemplate configures an HAProxy load balancer and Apache server. It is designed to work in a hybrid cloud setting, and with application server and database ServerTemplates as part of a three-tier web architecture. It also includes iptables management for clouds that do not have firewall services.

Key Features: * Supports both HTTP and HTTPS * Firewall management within a three-tier scalable web architecture * Utilizes RightScale tag-based routing for connecting to application servers * Routes to multiple application servers based on subdomain

Related ServerTemplates:
PHP App Server
Apache-Rails-Passenger App Server
Tomcat App Server
Database Manager for MySQL 5.5

Release Notes

Application versions: * Apache 2.2 * HAProxy 1.4

Supported public compute clouds: * Amazon Web Services EC2 * Datapipe * Google Compute Engine * HP Cloud * Rackspace First Generation * Rackspace Open Cloud * SoftLayer * Windows Azure

Supported private compute clouds: * Citrix CloudStack 3.0.6 * OpenStack Folsom * Rackspace Private Cloud

Supported MultiCloud Images: * CentOS 6 - Amazon, CloudStack, Datapipe, Google, HP, OpenStack, Rackspace, Rackspace Open Cloud, SoftLayer, Windows Azure * Ubuntu 12.04 - Amazon, CloudStack, Datapipe, HP, OpenStack, Rackspace, Rackspace Open Cloud, SoftLayer, Windows Azure


  • Cookbook: web_apache v0.0.1.104

  • Cookbook: app_php v0.0.1.104

  • Cookbook: app_passenger v0.0.1.104

  • Cookbook: app v0.1.0.104

  • Cookbook: apache2 v1.0.0.104

  • Cookbook: block_device v0.1.0.104

  • Cookbook: db v0.2.0.104

  • Cookbook: db_mysql v0.0.1.104

  • Cookbook: app_tomcat v0.1.1.104

  • Cookbook: sys_ntp v1.0.0.104

  • Cookbook: sys_firewall v0.1.0.104

  • Cookbook: sys_dns v0.1.0.104

  • Cookbook: sys v0.1.0.104

  • Cookbook: git v0.8.0.104

  • Cookbook: iptables v0.9.3.104

  • Cookbook: lamp v0.1.0.104

  • Cookbook: runit v0.13.0.104

  • Cookbook: rs_utils v0.0.1.104

  • Cookbook: rs_tools v0.0.11.104

  • Cookbook: repo_git v0.0.1.104

  • Cookbook: lb v0.0.1.104

  • Cookbook: rails_enterprise v0.1.1.104

  • Cookbook: rails v0.9.2.104

  • Cookbook: passenger_apache2 v0.16.3.104

  • Cookbook: openssl v0.1.0.104

  • Cookbook: mysql v0.23.1.104

  • Cookbook: logrotate v0.8.1.104

  • Cookbook: lb_haproxy v0.0.1.104

  • Cookbook: lb_clb v0.0.1.104

  • Cookbook: repo v0.1.0.104

  • Cookbook Repo: of RightScale Premium

  • Cookbook Repo: git:// of RightScale Premium

  • Cookbook Repo: git:// of RightScale Premium

  • MultiCloudImage: RightImage_RHEL_5.6_x64_v5.7 [rev 5]

  • MultiCloudImage: RightImage_Ubuntu_10.04_i386_v5.7 [rev 7]

  • MultiCloudImage: RightImage_Ubuntu_10.04_x64_v5.7 [rev 5]

  • MultiCloudImage: RightImage_RHEL_5.6_i386_v5.7 [rev 4]

  • MultiCloudImage: RightImage_CentOS_5.6_x64_v5.7 [rev 15]

  • MultiCloudImage: RightImage_CentOS_5.6_x64_v5.7 - XenServer [rev 2]

  • MultiCloudImage: RightImage_CentOS_5.6_x64_v5.7 - VMware [rev 5]

  • MultiCloudImage: RightImage_CentOS_5.6_x64_v5.7 - KVM [rev 6]

  • MultiCloudImage: RightImage_CentOS_5.6_i386_v5.7 [rev 6]

  • Recipe: web_apache::setup_monitoring

  • Recipe: web_apache::setup_frontend

  • Recipe: web_apache::do_stop

  • Recipe: web_apache::do_restart

  • Recipe: web_apache::default

  • Recipe: sys_ntp::default

  • Recipe: sys_firewall::setup_rule

  • Recipe: sys_firewall::do_list_rules

  • Recipe: sys_firewall::default

  • Recipe: sys::setup_swap

  • Recipe: sys::do_reconverge_list_enable

  • Recipe: sys::do_reconverge_list_disable

  • Recipe: web_apache::do_start

  • Recipe: lb_haproxy::default

  • Recipe: lb::setup_reverse_proxy_config

  • Recipe: lb::setup_monitoring

  • Recipe: lb::setup_load_balancer

  • Recipe: lb::handle_detach

  • Recipe: lb::handle_attach

  • Recipe: lb::do_attach_all

  • Recipe: block_device::setup_ephemeral

  • Recipe: app::request_loadbalancer_deny

  • Recipe: app::request_loadbalancer_allow

  • Recipe: rs_utils::default

  • RepoPath: RightScale Premium [rev 104]

  • See More



44b0c3eb040f1eac48bfe75848363bf8 Edward M. Goldberg on Jan 08, 2013 | Re: v13

Best of the best. This new LB design adds many features to the HAProxy LB Template design RightScale has used for many years now. I have used this template for many new Deployments this year and every time it works out well. Keep in mind that these new LTS servers use TAGS for many features that in the past used DDNS. When you create the Deployment "Container" set the flag "contain" the tags in the deployment. This template works well with SMALL and LARGE servers so scale up is fast and easy. Use an EIP for the external IP for all LB servers! Please call any time: Cell:     916-202-1600 Skype:  EdwardMGoldberg Edward M. Goldberg e.m.g.

44b0c3eb040f1eac48bfe75848363bf8myCloudWatcher on Jan 16, 2013 | Re: v136

I just keep LAUNCHing more of these great LB servers. The performance is top of the line. Check out the new Least Connection Option! Helps with servers that are not all equal in performance.


6 Ratings

Supported Clouds


Available to Paid
RightScale Accounts

Sign-up for RightScale

Support Information