<commit_before>---
layout: post
title: "Automate creating Rackspace Cloud Load Balancer"
date: 2014-11-17 23:59
comments: true
author: <NAME>
published: true
categories:
    - rackspace-public-cloud
    - Ansible 
---

Recently I embarked on a customer project where they wanted to dynamically create (automate) a complete application stack, starting from the base server provisioning all the way up to the application deployment.  One piece of the puzzle, previously seen as something to be done manually but now considered as part of the stack, is load balancers and any configurations related to load balancing.  

<!-- more -->
**In this exercise, we step through the automation process:**<commit_msg>added ref to other LB blog post<commit_after>---
layout: post
title: "Automate creating Rackspace Cloud Load Balancer"
date: 2014-11-17 23:59
comments: true
author: <NAME>
published: true
categories:
    - rackspace-public-cloud
    - Ansible 
---

Recently I embarked on a customer project where they wanted to dynamically create (automate) a complete application stack, starting from the base server provisioning all the way up to the application deployment.  One piece of the puzzle, previously seen as something to be done manually but now considered as part of the stack, is load balancers and any configurations related to load balancing.  

There was an earlier blog post from Jesse Keating on [Rolling Deployments with Ansible and Cloud Load Balancers](https://developer.rackspace.com/blog/rolling-deployments-with-ansible-and-cloud-load-balancers/), which also covered automating creating load balancers with Ansible.  The major difference with this post is adding in the additional capability to not only create the load balancer but, also a DNS record to associate with it, enable SSL termination and adding an SSL certificate to that load balancer.

<!-- more -->
**In this exercise, we step through the automation process:**
{'fraction_non_alphanumeric': 0.0607621009268795, 'fraction_numerical': 0.012358393408856848, 'mean_word_length': 4.488700564971752, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3144746', 'n_tokens_mistral': 501, 'n_tokens_neox': 460, 'n_words': 262}