I have been using a combination of Hugo+GitHub+Wercker+CloudFiles to compose, store, build, and host my blog for a while. Recently, my wercker integration broke and wercker was also purchased by Oracle. I have been pretty familiar with CircleCI for a while now, so I decided to give that a try for this process. I also no longer (2 years) work for Rackspace, so I decided to move my blog to Google Cloud Platform’s Storage service and use it for my static hosting needs.
Is this thing on? I’m fairly sure no one acutally reads this blog, or maybe some people do when and if I post it as a “website”. It went from some ranting stuff to posting technical things related to my job. I have not been at that job for almost 2 years now, which is probably reflected in the fact I have not updated anything in a while. I do need to realign this to be more related to some of my personal projects again.
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:
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.
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.
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!
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.
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.
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.
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.