Developer Blog

Gophercloud Update

New Services Supported

Since the release of Gophercloud v1.0 in October 2014, we've been working hard to bring the library into parity with the other Rackspace SDKs. In addition to the services supported at the time of the release (Cloud Identity, Cloud Servers, Cloud Files, and Cloud Block Storage), Gophercloud now supports the following Rackspace services:

A Getting-Started guide for Cloud Load Balancers exists, and similar guides for the other services are being created.

Read More

Rackspace at PyCon 2015

PyCon 2015, the annual Python conference, kicks off this week in Montréal and Rackspace will be there in full force. Python use at Rackspace is huge, from our work on OpenStack and many other related products, whether internal and external, so it makes perfect sense for us to support the conference at the Diamond level.

We'll have 14 sessions given by 10 speakers throughout the conference's tutorial and talk schedule, and our very own Van Lindberg, chairman of the Python Software Foundation, will deliver the chairman's address in a keynote slot on Sunday morning.

Be sure to stop by the Rackspace booth in the expo hall, and check out the tutorials and talks that we're giving throughout the conference!

Read More

Deploying JupyterHub for Education

As a PhD student at UC Berkeley, my duties involve some amount of teaching; so, this semester (Spring 2015), as well as last spring, I have been a teaching assistant for a class taught by my advisor, Tom Griffiths. The class, called Computational Models of Cognition (COGSCI 131), aims to introduce students to computational models of human behavior. The problem sets are a mixture of simple programming assignments—usually requiring students to implement pieces of different models—and written answers, in which students report and interpret the results of their code.

In the past, the problem sets were written in MATLAB. This year, however, we decided to make the switch to Python. In particular, we decided that the IPython/Jupyter notebook would be an ideal format for the assignments. The notebook is a cross-platform, browser-based application that seamlessly interleaves code, text, and images. With the notebook, it is possible for us to write instructions in the notebook, include a coding exercise after the instructions, and then ask for their interpretation of the results immediately after that. For an example of what the notebook looks like, you can check out for a demo.

Read More

Learning to Code at ClojureBridge

"ClojureBridge"ClojureBridge aims to increase diversity within the Clojure community by offering free, beginner-friendly Clojure programming workshops for women. On March 13-14, 2015 we held a ClojureBridge event at the Rackspace office in Austin, TX. It was put on by an amazing group of organizers to foster the adoption of Clojure by women in technology.

Read More

Getting acquainted with MongoDB 3.0

MongoDB Inc just released what is arguably the most important change to the MongoDB database in its short history.

MongoDB version 3.0

MongoDB 3.0 brings with it a wealth of new features, but most notably a new pluggable storage engine API. We wanted to help customers get familiar with the new storage engine and features quickly and easily.

Because of the new pluggable storage engine API, MongoDB 3.0 promises a massive leap forward in functionality, usability and features. Developers, DevOps Engineers and DBA's should start getting acquainted with MongoDB 3.0. In particular:

Full Release Notes

From a community standpoint, the more people using 3.0 and filing any bug reports the better. We wanted a quick and easy way for folks to experiment. We needed tooling. A couple attributes of the tooling we thought where really important are:

  • Easy to use
  • Configurable by end user(s)
  • Uses Rackspace cloud (or any other IP, including localhost)
  • Easily repeatable provisioning; so users can break it, tweak it, and rebuild it easy

We created an Ansible playbook that installs and configures a simple MongoDB 3.0 configuration. It takes just a few minutes to setup and is completely customizable.


  • Ansible
  • git
  • CentOS/RHEL (for now)


Installation is 4 simple steps:

  • Step 1. Setup Ansible and git.
  • Step 2. Clone the repo.
  • Step 3. Add roles and change some config files
  • Step 4. Provision some MongoDB

Complete and up-to-date installation and configuration instructions.

In a nutshell:

Step 1: Installing Ansible and Git.

For this, you need to have git and Ansible installed. Installation is pretty easy. For most systems you simply need to:

# Centos/RHEL
# Ansible
sudo yum install ansible
# git
sudo yum install git

For complete installation directions, see the Ansible install guide and the Git install guide

Step 2: Clone the repo

Simply clone the repo to the box where you installed Ansible:

git clone

Step 3: Add roles, and change some config files

We need to tell Ansible to use the host(s) where we want MongoDB to be installed. We need to ensure we tell Ansible the correct configuration for our host(s), as well as set any startup parameters we want.

# edit hosts file, and change <MYIP> to the ip address of the host to provision
vi hosts.txt

# install the required roles

# alter the default config (or at least inspect it for being correct)
vi roles/ansible-roles_mongodb-install/defaults/main.yml

Step 4: Provision some MongoDB

Simply launch the helper shell scripts:

cd ansible-mongodb

The environment is now ready to be used! Be sure to participate on the mailing list, twitter and enter bug reports. If you want to do some load testing here is how.

For a fully managed solution with replica sets and sharding, hit up and the support folks will install and configure a MongoDB 3.0 instance in the ObjectRocket fully managed environment.

Read More

Evolution of OpenStack - From Infancy to Enterprise

Recently I had the pleasure of hosting a webinar covering the Evolution of OpenStack. No matter how many times I review the history of OpenStack, I manage to learn something new. Just the idea that multiple companies, with distinct unique ideas can come together to make what I consider to be a super platform is amazing. Whether you think OpenStack is ready for prime time or not, it is hard to deny the power and disruptive nature it has in the current cloud market.

Read More

cs-reboot-info: A tool to assist with upcoming maintenance

In the wake of recently announced vulnerabilities to the Xen hypervisor that our Cloud Servers platform is built on top of, a reboot will be necessary in some instances on both our First Generation and Next Generation Cloud Servers. The details of our announcement are available at and via

In order to complete the patching of our systems, we have scheduled reboot windows on a per-region basis beginning Monday March 2 and running through Monday March 9. To discover the time ranges during which your affected servers will be rebooted, your Cloud Control Panel will contain the information for whichever region is currently visible (Note: you can change this via the region selector on the left side of the control panel). Alternatively, you can run our cs-reboot-info tool to discover the reboot windows of servers across all regions at once. Binary downloads for many platforms are available here.

Read More

MySQL backup to Rackspace Cloud Files

While this blog post may seem trivial on the surface, it does pack some very interesting information on how very flexible the Rackspace Cloud Files product can be. While executing another customer project, the age old question of: “Where are we going to put the database backups?” was raised. Back in the day this question only really had one solution. In the current age of the cloud, you have a few options. Since I like to live life on the edge…I raised my hand and said Cloud Files.

For those of you not familiar with Cloud Files, the easiest way to describe it is shared Object Storage. In OpenStack lingo, you could also call it shared Swift. Cloud Files is an API enabled Object storage capability found on the Rackspace Public cloud platform. In this post, we will walk you thru how easy it is to store something as simple as database backups in Cloud Files using simple automation, fronted by Ansible of course (my orchestration drug of choice). I promise this post will be short and sweet.

Read More

Monitoring Hadoop with Rackspace Cloud services — managing partial failure

Hadoop is constructed from a large set of servers (or nodes) so to properly manage it you need to have a good overall view of the system. It is ok if some data nodes are not in service — up to a certain number — which is called partial failure. The important thing is to be able to see how many nodes are in an up or down state to know the overall health of the cluster.

This article discusses how The Rackspace Global Data team created a well-monitored Hadoop cluster by taking advantage of cloud services.

Read More

I Loved PyTennessee 2015

Python Tennessee was a wonderfully put together conference with a great variety of speakers.

Read More
Racker Powered