AWS Lambda – CloudWatch event to S3 action

AWS Lambda is a great tool to enhance your messaging and alerting without creating more infrastructure to manage. Use Case I have CloudWatch Log Alarms (originating from CloudTrail events) that I want to act upon by uploading data to S3. Lambda Function Create a Lambda function with these attributes. Code console.log(‘Loading function’); exports.handler = function(event, … [Read more…]

Network vpc-* has some mapped public address(es). Please unmap those public address(es) before detaching the gateway

I ran into the error: Network vpc-* has some mapped public address(es). Please unmap those public address(es) before detaching the gateway while working with AWS CloudFormation templates. This error message is accurate but if you don’t fully understand VPCs, it can be very confusing. After learning what and why this happens, I decided to write it down … [Read more…]

iMac audio on Google Hangout is pwned

I use Google Hangouts all the time. I love the service but sometimes the audio doesn’t play nice on Macs. The solution can be as simple as changing the settings in Google Hangouts and System Preferences -> Sound. Today Hangout audio failed and this didn’t work. Doing a little searching, this command and re-joining the … [Read more…]

Safari Tech Blog

Now that I am at KISSmetrics, I’m no longer blogging on Safari’s Tech Blog. I enjoyed writing these articles and happy that they are still on their blog. Continuous Integration for Chef with Vagrant, Jenkins, and Gitlab Continuing on Continuous Integration When to use Chef wrapper cookbooks (and when not to) Learn Networking with a … [Read more…]

System Engineering thoughts

I was talking to jtzl the other day. He said something post worthy. I see systems engineering as essential to keep as simple and transparent as possible because that allows the app developers to make mistakes If system configuration issues are unpredictable, it slows down app development and makes it unclear where bugs are being … [Read more…]

Prototyping at Work

I have a fun job. I’m a Software Engineer at Safari Books Online. I focus on automating our back-end infrastructure. I also experiment with prototyping hardware architectures. My boss, Clark Hartsock, loves low powered RISC boards for data crunching. We built a 12 Terabyte 10 nodes cluster to compete with our older Atom based stack. … [Read more…]