Using Wercker to deploy Hugo to Cloud Files

I’ve been using Hugo for a while now, on this blog, and my ham radio blog at blog.ke5eo.com. One draw back to how I’ve had this configured is that I need to generate the content on my computer, usually my MacBook, then upload using swiftly. Swiftly is a great tool for this because Hugo cranks out the content to a directory called “public” and I can use the -i flag on swiftly to upload an entire directory to a container like so:

How to Create a RethinkDB Cluster on Rackspace Carina

It’s been a while since I’ve posted anything, most of my posts have been on my ham radio blog, so I thought I would post some cool things I’ve been playing with recently. Rackspace just announced Carina which is a container runtime environment based on OpenStack Magnum. When I signed up, I wanted to have something I could accomplish with this new technology and thought of RethinkDB and its clustering capabilities.

Static Blog with Pelican and CloudFiles Static Web

I’ve wanted to post up how I make this blog work for a while now. It seemed like a daunting task, but after I started another one for my ham radio stuff, I realized it wasn’t that hard. You can apply this to any static host, but we’re going to host it on CloudFiles. CloudFiles is $.10/GB, and I know my blog is less than a GB. So for cents a month you can host an entire blog.

New Year

Happy New Year! While I’m not going to make resolutions this year I’m going to try and do better on some things. Playing with my new ham radio has made me want to tinker with electronics more this year. I’d like to try and build a small arduino based weather station. Sparkfun has a nice kit for that. Also, I’d like to challenge myself in the kitchen. I have four Thomas Keller cookbooks now and I need to make some stuff in those!

Role Based Access Control and CloudFiles

Recently Rackspace added Role Based Access Control to the identity system. This means the main account user can create sub users and roles and that main user can allow the sub users to have access to portions of their Rackspace Cloud account. We’re only going to look at CloudFiles for this post. note i’m going to use the tool, !(httpie)[https://github.com/jkbr/httpie] since its awesome and does some really nice formatting. it works much like curl.

TempURL with CloudFiles/Swift

CloudFiles and Swift has a neat feature that allows you to provide a temporary URL for users. You can limit the URL by method and time. This is useful if you have a file you want to allow someone to download temporarily, but not make completely public through the CDN. Note My examples will use Rackspace CloudFiles, but you can do the same thing with any Openstack Swift setup, provided it has the TempURL middleware enabled in the pipeline.

3 Day Startup Experience at Geekdom

I belong to geekdom and I get their emails about things going on. Personally I don’t spend a lot of time at geekdom, because it is not near my house or work. It is in Downtown San Antonio on the 10th and 11th floor of the Weston Center. I like the idea. It’s billed as a collaborative workspace with community events. It seems to be populated mostly by “social media marketing ____” types, which means there isn’t a lot of things I’m interested in going on, but tons of buzzwords flying about.

CloudServers with Salt

Salt is a python based infrastructure management tool. With it you can use a master to control a bunch of minions. One feature I like is the ability to spin up servers in the cloud. To start with you’ll need salt and salt-cloud installed. On your master you have to create a file with all your image profiles in /etc/salt/cloud.profiles, mine looks like: ubuntu_12_04_512: provider: openstack size: 512MB Standard Instance image: Ubuntu 12.

KF5WAY

I passed my Technician Class amateur radio exam. My call sign is KF5WAY. I’d like to get a Elecraft KX3 with all the bells and whistles, but gotta save for the wedding!

Switchback FLD

I got a Harley a few months ago. Trying to ride when I can. Going for nice long rides in the Hill Country is easy from Boerne, provided the weather stays nice. I got a 2013 HD Switchback FLD. Nice part about the Switchback is that it comes with both hard bags and a windshield which are removable. Here is the bike with the gear on: and with the bags off: I’ve changed out all the lighting with LED so that it’s brighter and clearer.