Use Cloud Files for Docker registry storage

If you want to run your own private Docker registry here’s a quick and easy way to do that using Rackspace Cloud Files as the backend storage. Cloud Files is based on OpenStack Swift, so it comes with all the built in features and reliability that’s designed into Swift. Since this is Docker we’ll do it with the official Docker registry container, install docker-registry-driver-swift, and pass in our Cloud Files/Rackspace information when we run the container. ...

January 21, 2015 · 2 min · Shane Cunningham

Cloud Orchestration template for CoreOS and Cloud Monitoring

Cloud Orchestration is an automated deployment service provided by Rackspace Cloud. The backend for this service is OpenStack Heat. The following is a simple template for deploying CoreOS Stable and runs a small bash script after the server is built to set it up for Cloud Monitoring. The script just performs the steps in my previous post on monitoring CoreOS with Cloud Monitoring. The template is pretty self explanatory so you can edit it to your liking. ...

October 6, 2014 · 1 min · Shane Cunningham

Monitoring CoreOS with Rackspace Cloud Monitoring

Updated 8/5 to use systemd unit file. Recently decided to move my blog to containers and CoreOS for learning and fun. While setting up an HAProxy container on one of my CoreOS hosts I thought about how I would monitor the host. Luckily, smart people have already thought about this. :) I use Rackpace’s Cloud Monitoring and agent which can be setup on any server in any datacenter or cloud provider. Rackspace hosted servers get a nice GUI and awesome dashboard for the checks and monitoring data, but you could still set it all up on a non Rackspace hosted server using the Cloud Monitoring API and raxmon. ...

August 5, 2014 · 2 min · Shane Cunningham

Manage your Cloud Databases with trove and the command line

Trove is an OpenStack project to supply databases as a service. Rackspace’s Cloud Databases API are based on this and so the trove Python client is compatible with your Rackspace provided Cloud Databases or your own implementation of Trove. This example we’ll go over using this with Rackspaces’s Cloud Databases. I’m using OS X so my example will be for that OS, but the client should be compatible with most Linux distros. ...

November 20, 2013 · 2 min · Shane Cunningham

Add Cloud Networks to existing Cloud Server

Cloud Networks is a really cool up and coming feature in the Rackspace Cloud. It enables you to create private networks only accessible by your Cloud infrastructure. When first released, you could only attach a Cloud Server to Cloud Networks when creating a new Cloud Server or by taking an image and then creating a new Cloud Server based off of that image and attaching Cloud Networks at that time. Not the best situation if you already have a stable Cloud infrastructure. Luckily we can now attach Cloud Networks to an already running Cloud Server. Make sure the server is a NextGen Cloud Server based on OpenStack. This tutorial was run on Debian 6 Squeeze, but should be pretty much the same on other Linux distros. If you have any issues with a particular distro please let me know. ...

June 15, 2013 · 2 min · Shane Cunningham

Cloud Block Storage and NFS

With Rackspace Cloud you can use Cloud Block Storage and NFS to create shared directories amongst your Cloud Servers. This setup was done on CentOS 6.3 and used the internal Cloud Server interfaces. First, attach your Cloud Block Storage to your Cloud Server. When I attached mine, it was designated /dev/xvdb. We will need to create a partition and format. ...

May 25, 2013 · 2 min · Shane Cunningham