My Profile Photo

Matthew Hodgkins Blog


❤️er of Platform Engineering, SRE, K8s, Golang, Observability and working with nice humans. Aussie living in the Netherlands.


  1. ChatOps with PowerShell and Errbot

    Have you written automation scripts using PowerShell before, but find it hard getting your end users or your support people to use them? Let’s solve this with ChatOps. We will have a quick introduction to ChatOps and then dive into installing a Errbot (a chat bot) on Windows. After learning the basics of Errbot, we will run through some code examples so you can easily bring your scripts to users through chat. Finally we will...…


  2. Automating DataDog with Terraform

    DataDog is an awesome SaaS monitoring platform. We have 100+ developers leveraging the platform to collect their metrics, create dashboards and send alerts. As with anything, if you don’t maintain and clean your tools, after a while things can become a little messy. Dashboards start to get named wildly different things with no standards. Alerts aren’t deleted for decommissioned services. Team names change and alerts are suddenly pointing to a the wrong Slack channel. Something...…


  3. Testing Ansible Roles Against Windows with Test-Kitchen

    During the development of automation for your infrastructure, you will find yourself doing the same types of processes over and over: Creating virtual machines to run your code against Copy the automation code to the instance Running the automation code against your instance Performing tests against your instance These “overhead” process can take a considerable amount of time that you could be spending writing code. How do we fix this? Improving our automation development workflow...…


  4. Best Practices with Packer and Windows

    Why you should be using Packer Getting Started with Packer Best Practices Step by Step Generic Templates Use guest additions mode of attach Use environment variables to change the action of a provisioning script Keep the OS information in your build script Disable WinRM on build completion and only enable it on first boot Use headless mode Set a high shutdown and WinRM timeouts Conclusion Why you should be using Packer Already know why Packer...…


  5. Ultimate PowerShell Prompt Customization and Git Setup Guide

    Source control and Git keeps getting more and more important for both Developers and Operations guys. Getting up and running with Git on MacOS or Linux is very easy as most things are built in. There are also cool tools like oh-my-zsh to customize your prompt. On Windows, it’s a bit of a different story. Let’s spend a little time installing ConEmu and Git, then customizing it to take our prompt from something that looks...…