MultiCloud Marketplace


Load Balancer with HAProxy

Open in Dashboard

Published by RightScale on Dec 20, 2012Revision: 133 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 v13.2.0.144

  • Cookbook: sys_ntp v13.2.0.144

  • Cookbook: sys_firewall v13.2.0.144

  • Cookbook: sys_dns v13.2.0.144

  • Cookbook: sys v13.2.0.144

  • Cookbook: runit v0.13.0.144

  • Cookbook: rightscale v13.2.0.144

  • Cookbook: repo_svn v13.2.0.144

  • Cookbook: repo_rsync v13.2.0.144

  • Cookbook: repo_ros v13.2.0.144

  • Cookbook: repo_git v13.2.0.144

  • Cookbook: repo_ftp v13.2.0.144

  • Cookbook: repo v13.2.0.144

  • Cookbook: rails_enterprise v0.1.1.144

  • Cookbook: rails v0.9.2.144

  • Cookbook: python v1.0.6.144

  • Cookbook: passenger_apache2 v0.16.3.144

  • Cookbook: openssl v0.1.0.144

  • Cookbook: mysql v0.23.1.144

  • Cookbook: memcached v13.2.0.144

  • Cookbook: logrotate v0.8.1.144

  • Cookbook: app_django v13.2.0.144

  • Cookbook: apache2 v1.0.0.144

  • Cookbook: logging_syslog_ng v13.2.0.144

  • Cookbook: logging_rsyslog v13.2.0.144

  • Cookbook: logging v13.2.0.144

  • Cookbook: lb_haproxy v13.2.0.144

  • Cookbook: lb_elb v13.2.0.144

  • Cookbook: lb_clb v13.2.0.144

  • Cookbook: lb v13.2.0.144

  • Cookbook: lamp v13.2.0.144

  • Cookbook: iptables v0.9.3.144

  • Cookbook: git v0.8.0.144

  • Cookbook: db_postgres v13.2.0.144

  • Cookbook: db_mysql v13.2.0.144

  • Cookbook: db v13.2.0.144

  • Cookbook: build-essential v1.0.0.144

  • Cookbook: block_device v13.2.0.144

  • Cookbook: app_tomcat v13.2.0.144

  • Cookbook: app_php v13.2.0.144

  • Cookbook: app_passenger v13.2.0.144

  • Cookbook: app v13.2.0.144

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

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

  • MultiCloudImage: RightImage_CentOS_6.3_x64_v5.8 [rev 22]

  • MultiCloudImage: RightImage_CentOS_6.3_x64_v5.8_EBS [rev 5]

  • MultiCloudImage: RightImage_CentOS_6.3_x64_v5.8_HVM_EBS [rev 4]

  • MultiCloudImage: RightImage_CentOS_6.3_x64_v5.8_KVM [rev 11]

  • MultiCloudImage: RightImage_CentOS_6.3_x64_v5.8_VMWare [rev 8]

  • MultiCloudImage: RightImage_CentOS_6.3_x64_v5.8_XenServer [rev 8]

  • MultiCloudImage: RightImage_RHEL_6.3_x64_v5.8 [rev 3]

  • MultiCloudImage: RightImage_Ubuntu_12.04_x64_v5.8 [rev 18]

  • MultiCloudImage: RightImage_Ubuntu_12.04_x64_v5.8_EBS [rev 6]

  • MultiCloudImage: RightImage_Ubuntu_12.04_x64_v5.8_HVM_EBS [rev 5]

  • MultiCloudImage: RightImage_Ubuntu_12.04_x64_v5.8_KVM [rev 6]

  • MultiCloudImage: RightImage_Ubuntu_12.04_x64_v5.8_VMWare [rev 9]

  • MultiCloudImage: RightImage_Ubuntu_12.04_x64_v5.8_XenServer [rev 10]

  • MultiCloudImage: SoftLayerImage_CentOS_6.3_x64_v5.8 [rev 2]

  • MultiCloudImage: SoftLayerImage_Storage_CentOS_6.3_x64_v5.8 [rev 2]

  • MultiCloudImage: SoftLayerImage_Storage_Ubuntu_12.04_x64_v5.8 [rev 2]

  • MultiCloudImage: SoftLayerImage_Ubuntu_12.04_x64_v5.8 [rev 2]

  • Recipe: lb::handle_attach

  • Recipe: lb_haproxy::setup_server

  • Recipe: lb::setup_reverse_proxy_config

  • Recipe: lb::setup_monitoring

  • Recipe: lb::install_server

  • Recipe: lb::handle_detach

  • Recipe: logging::default

  • Recipe: lb::do_attach_all

  • Recipe: block_device::setup_ephemeral

  • Recipe: app::request_loadbalancer_deny

  • Recipe: app::request_loadbalancer_allow

  • Recipe: rightscale::default

  • Recipe: rightscale::install_tools

  • Recipe: sys::do_reconverge_list_disable

  • Recipe: sys::do_reconverge_list_enable

  • Recipe: web_apache::do_stop

  • Recipe: sys::setup_swap

  • Recipe: sys_firewall::default

  • Recipe: sys_firewall::do_list_rules

  • Recipe: sys_firewall::setup_rule

  • Recipe: sys_ntp::default

  • Recipe: web_apache::default

  • Recipe: web_apache::do_disable_maintenance_mode

  • Recipe: web_apache::do_enable_maintenance_mode

  • Recipe: web_apache::do_restart

  • Recipe: web_apache::setup_monitoring

  • Recipe: web_apache::setup_frontend

  • Recipe: web_apache::do_start

  • RepoPath: RightScale (v13.2) [rev 144]

  • 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