MultiCloud Marketplace


Load Balancer with HAProxy

Open in Dashboard

Published by RightScale on Aug 22, 2012Revision: 106 This component has been deprecated by the publisher.

Deprecated due to images having a security vulnerability reported with OpenSSL (bug CVE-2014-0160). Please use latest LTS ServerTemplate.


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 v12.1.0.112

  • Cookbook: sys_ntp v12.1.0.112

  • Cookbook: sys_firewall v12.1.0.112

  • Cookbook: sys_dns v12.1.0.112

  • Cookbook: sys v12.1.0.112

  • Cookbook: runit v0.13.0.112

  • Cookbook: rightscale v12.1.0.112

  • Cookbook: repo_svn v12.1.0.112

  • Cookbook: repo_ros v12.1.0.112

  • Cookbook: repo_git v12.1.0.112

  • Cookbook: repo v12.1.0.112

  • Cookbook: rails_enterprise v0.1.1.112

  • Cookbook: rails v0.9.2.112

  • Cookbook: passenger_apache2 v0.16.3.112

  • Cookbook: openssl v0.1.0.112

  • Cookbook: mysql v0.23.1.112

  • Cookbook: logrotate v0.8.1.112

  • Cookbook: logging_syslog_ng v12.1.0.112

  • Cookbook: app_passenger v12.1.0.112

  • Cookbook: logging v12.1.0.112

  • Cookbook: apache2 v1.0.0.112

  • Cookbook: app v12.1.0.112

  • Cookbook: lb_haproxy v12.1.0.112

  • Cookbook: lb_elb v12.1.0.112

  • Cookbook: lb_clb v12.1.0.112

  • Cookbook: lb v12.1.0.112

  • Cookbook: lamp v12.1.0.112

  • Cookbook: iptables v0.9.3.112

  • Cookbook: git v0.8.0.112

  • Cookbook: db_postgres v12.1.0.112

  • Cookbook: db_mysql v12.1.0.112

  • Cookbook: db v12.1.0.112

  • Cookbook: block_device v12.1.0.112

  • Cookbook: app_tomcat v12.1.0.112

  • Cookbook: app_php v12.1.0.112

  • Cookbook: logging_rsyslog v12.1.0.112

  • Cookbook Repo: git:// of RightScale (v13.0)

  • Cookbook Repo: git:// of RightScale (v13.0)

  • MultiCloudImage: RightImage_CentOS_5.8_x64_v5.8 - KVM [rev 8]

  • MultiCloudImage: RightImage_CentOS_5.8_x64_v5.8 - VMWare [rev 5]

  • MultiCloudImage: RightImage_CentOS_5.8_x64_v5.8 - XenServer [rev 5]

  • MultiCloudImage: RightImage_CentOS_5.8_x64_v5.8 [rev 5]

  • MultiCloudImage: RightImage_CentOS_5.8_x64_v5.8_EBS [rev 3]

  • MultiCloudImage: RightImage_CentOS_5.8_x64_v5.8_HVM_EBS [rev 2]

  • MultiCloudImage: RightImage_CentOS_6.2_x64_v5.8 [rev 7]

  • MultiCloudImage: RightImage_CentOS_6.2_x64_v5.8_EBS [rev 2]

  • MultiCloudImage: RightImage_RHEL_5.8_x64_v5.8 [rev 5]

  • MultiCloudImage: RightImage_Ubuntu_10.04_x64_v5.8 - KVM [rev 5]

  • MultiCloudImage: RightImage_Ubuntu_10.04_x64_v5.8 - VMWare [rev 5]

  • MultiCloudImage: RightImage_Ubuntu_10.04_x64_v5.8 - XenServer [rev 5]

  • MultiCloudImage: RightImage_Ubuntu_10.04_x64_v5.8 [rev 6]

  • MultiCloudImage: RightImage_Ubuntu_10.04_x64_v5.8_EBS [rev 3]

  • MultiCloudImage: SoftLayerImage_CentOS_5.8_x64_v5.8 [rev 5]

  • MultiCloudImage: SoftLayerImage_Storage_CentOS_5.8_x64_v5.8 [rev 4]

  • Recipe: lb::handle_attach

  • Recipe: lb::setup_reverse_proxy_config

  • Recipe: lb::setup_monitoring

  • Recipe: lb::setup_load_balancer

  • Recipe: lb::handle_detach

  • Recipe: lb_haproxy::default

  • Recipe: lb::do_attach_all

  • Recipe: block_device::setup_ephemeral

  • Recipe: app::request_loadbalancer_deny

  • Recipe: app::request_loadbalancer_allow

  • Recipe: logging::default

  • Recipe: rightscale::default

  • Recipe: sys_ntp::default

  • Recipe: rightscale::install_tools

  • Recipe: web_apache::default

  • Recipe: sys::do_reconverge_list_enable

  • Recipe: sys::setup_swap

  • Recipe: sys_firewall::default

  • Recipe: sys_firewall::do_list_rules

  • Recipe: sys_firewall::setup_rule

  • Recipe: web_apache::setup_monitoring

  • Recipe: web_apache::setup_frontend

  • Recipe: web_apache::do_stop

  • Recipe: web_apache::do_start

  • Recipe: web_apache::do_restart

  • Recipe: sys::do_reconverge_list_disable

  • RepoPath: RightScale (v13.0) [rev 112]

  • 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


All Users

Sign-up for RightScale

Support Information