MultiCloud Marketplace

RightScale

Load Balancer with HAProxy (v13.3)

Open in Dashboard

Published by RightScale on Mar 06, 2013Revision: 145

Description

This ServerTemplate is on the Infinity Lineage. For the latest LTS version, see the 12-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:
Load Balancer with HAProxy Release Notes


Application versions:

  • Apache 2.2
  • HAProxy 1.4

Supported public compute clouds:

  • Amazon Web Services EC2
  • Datapipe
  • Google Compute Engine
  • HP Cloud
  • IDC Frontier
  • Logicworks
  • Rackspace First Generation
  • Rackspace Open Cloud
  • SoftLayer
  • Windows Azure

Supported private compute clouds:

  • Citrix CloudStack (2.2.14 and 3.0.6)
  • OpenStack Folsom
  • Rackspace Private Cloud

Supported MultiCloud Images:

  • CentOS 6 - Amazon, Google, CloudStack, Datapipe, HP, IDC Frontier, Logicworks, OpenStack, Rackspace, Rackspace Open Cloud, SoftLayer, Windows Azure
  • Ubuntu 12.04 - Amazon, Google, CloudStack, Datapipe, HP, IDC Frontier, Logicworks, OpenStack, Rackspace, Rackspace Open Cloud, SoftLayer, Windows Azure
  • RHEL 6 - Amazon

Contents

  • Cookbook Repo: git://github.com/rightscale/cookbooks.git of RightScale (v13.3)

  • Cookbook Repo: git://github.com/rightscale/rightscale_cookbooks.git of RightScale (v13.3)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • Recipe: lb::handle_attach

  • Recipe: block_device::setup_ephemeral

  • Recipe: app::request_loadbalancer_allow

  • Recipe: web_apache::setup_monitoring

  • Recipe: lb::do_attach_all

  • Recipe: app::request_loadbalancer_deny

  • Recipe: lb::handle_detach

  • Recipe: lb::install_server

  • Recipe: lb::setup_monitoring

  • Recipe: lb::setup_reverse_proxy_config

  • Recipe: lb_haproxy::setup_server

  • Recipe: logging::default

  • Recipe: rightscale::default

  • Recipe: rightscale::install_tools

  • Recipe: sys::do_reconverge_list_disable

  • Recipe: web_apache::setup_frontend

  • 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::do_start

  • Recipe: web_apache::do_stop

  • Recipe: sys::do_reconverge_list_enable

  • RepoPath: RightScale (v13.3) [rev 156]

  • See More

Revisions

Revision 145 | Mar 06, 2013

v13.3 Release

Revision 136 | Jan 15, 2013

Updated public CentOS and Ubuntu MCIs with new Azure images for other regions to match Azure West US.

Revision 133 | Dec 20, 2012

Release 13.2

Revision 125 | Nov 15, 2012

Added support for Rackspace NextGen and AWS Sydney.

Revision 120 | Oct 18, 2012

Release v13.1

Revision 106 | Aug 22, 2012

Release v13.0

Revision 101 | Jun 29, 2012

v12.11

Revision 84 | May 11, 2012

Rackspace Managed support and minor bug fixes

Revision 74 | Apr 06, 2012

Added SoftLayer Support

Revision 68 | Mar 27, 2012

Latest GA Release

Revision 56 | Jan 10, 2012

GA Release

Revision 28 | Oct 21, 2011

Update to Ubuntu Image

Revision 23 | Sep 30, 2011

No longer strands with operational app servers in the deployment. (w-3962)

Revision 19 | Sep 01, 2011

Multi-Cloud Release.

Revision 13 | Jul 23, 2011

Alpha Release

Discussion

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 http://myCloudWatcher.com/ 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.

Info

6 Ratings

Supported Clouds

Pricing

All Users

Sign-up for RightScale

Support Information

http://support.rightscale.com