Nick Perkins

Platform Engineer. Volunteer Motorsport Official. ADHD Brain. Bit of a nerd.

A simple static blog comments system using Cloudflare Workers and D1

2023-04-12 Cloudflare Opine
I’ve spent the last couple of weeks off work, which has given me time to tinker with some different tech. For starters, I migrated this blog over to Hugo, a static site generated written in go. I’ve never had comments on this version of my blog, but I wondered how difficult it might be to roll my own system using Cloudflare Workers? This seemed like a good opportunity to play with one of Cloudflare’s newest offerings, D1. Continue reading

Infrastructure as code with Terraform

2021-04-18 devops
Over the last couple of months I’ve been working on a project for a containerised orchestration platform using Infrastructure as Code. This has meant I’ve spent most of my time working with Terraform. What is Terraform? I could write a couple of paragraphs about what Terraform is and what it does, but I think they put it best: Terraform is an open-source infrastructure as code software tool that provides a consistent CLI workflow to manage hundreds of cloud services. Continue reading

Using pyodbc in AWS Lambda functions

2019-07-21 Serverless AWS
This week I was working on an AWS Lambda function that needed to read and write from a legacy Microsoft SQL database. It’s written using the AWS Chalice framework and in local testing everything looked great. Not so much when we needed to deploy it to AWS for testing. Why? Most of the time that you include a python package for use in a lambda function, Chalice is able to package that into the deployment, and you’re good to go. Continue reading