Tag Archives: code

Firebase FCM upstream with Swift on iOS

I’ve been learning a bit of Swift lately in order to write an iOS app for my alarm system. I’m not very good at it yet, but figured I’d write some notes to help anyone else playing with the murky … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , | Leave a comment

Detectatron

I recently installed security cameras around my house which are doing an awesome job of recording all the events that take place around my house and grounds (generally of the feline variety). Unfortunately the motion capture tends to be overly trigger happy … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 1 Comment

Puppet Training

I recently ran a training session for our development team at Fairfax introducing them to the fundamentals of Puppet. To assist with this training, I’ve developed a bunch of scripts and learning modules which I’ve now open sourced at https://github.com/jethrocarr/puppet-training Using … Continue reading

Tagged , , , , , | Leave a comment

Building a mail server with Puppet

A few months back I rebuilt my personal server infrastructure and fully Puppetised everything, even the mail server. Because I keep having people ask me how to setup a mail server, I’ve gone and adjusted my Puppet modules to make them … Continue reading

Tagged , , , , , , , , | 2 Comments

Easy IKEv2 VPN for mobile devices (inc iOS)

I recently obtained an iPhone and needed to connect it to my VPN. However my existing VPN server was an OpenVPN installation which works lovely on traditional desktop operating systems and Android, but the iOS client is a bit more … Continue reading

Tagged , , , , , , , , , | 15 Comments

Node.js deployments at Fairfax with Code Deploy, Codeship and 12factor

This week I presented at the Node.js Wellington meetup around the tooling we have setup at Fairfax for running micro services for Node.js apps. Essentially we have a workflow that uses Codeship for CI/CD and AWS Code Deploy for deployment. Our apps … Continue reading

Tagged , , , , , , , , , , | 1 Comment

More Puppet Stuff

I’ve been continuing to migrate to my new server setup and Puppetising along the way, the outcome is yet more Puppet modules: The puppetlabs-firewall module performs very poorly with large rulesets, to work around this with my geoip/rirs module, I’ve … Continue reading

Tagged , , , , , , , | 3 Comments

Puppet modules

I’m in the middle of doing a migration of my personal server infrastructure from a 2006-era colocation server onto modern cloud hosting providers. As part of this migration, I’m rebuilding everything properly using Puppet (use it heavily at work so it’s … Continue reading

Tagged , , , , , , , , , , , , | 1 Comment

Baking images with Packer & Pupistry

One of the common issues when building modern infrastructure-as-code style systems is that whilst automation is great, it also has a habit of failing at the worst possible time. There’s nothing quite like the fun of trying to autoscale only to find … Continue reading

Tagged , , , , , , , | Leave a comment

Setting up and using Pupistry

As mentioned in my previous post, I’ve been working on an application called Pupistry to help make masterless Puppet deployments a lot easier. If you’re new to Pupistry, AWS, Git and Puppet, I’ve put together this short walk through on … Continue reading

Tagged , , , , , , , , , , | 1 Comment