Categories
DevOps

Installing Docker on a Raspberry Pi

The Raspberry Pi is a fantastic low-cost way to experiment with Docker and Kubernetes. There’s several ways to get the latest version of Docker installed on a Raspberry Pi; you can go with the Cypriot project or a full-fledged GUI-based Raspbian installation. In my case I have a cluster of six Pi I need to […]

Categories
DevOps

Some vi tips

Awhile back at a previous company I got hit with a last-minute request to update our Nginx redirect map with data provided in a spreadsheet. Normally I only have to do one or two redirect rules at a time. But today I got hit with 120 rules – each of which needed data from two […]

Categories
DevOps

s3cmd with Multiple AWS Accounts

Awhile back I was doing a lot of work involving Amazon’s Simple Storage Service (aka Amazon S3). And while tools like Panic’s Transmit, the Firefox S3Fox extension, or even Amazon’s own S3 Management Console make it easy to use, sometimes you really just want a command-line tool. There’s a lot of good tools out there, but […]

Categories
DevOps

Cron and Sewing Needles

Sometimes, even after decades of experience, you still screw up. Consider this cron entry I put in last night: # Backup MongoDB every 6 hours, zip it up, and rsync it. * */6 * * * ~/bin/backup_mongo.sh I wanted this to run the backup script for MongoDB every six hours. Instead, I got it running […]