Deploy Serverless Next.js to AWS with Terraform 1.1

Terraform for better or worse is frequently updated with new versions. Many of these introduce incompatibilities with previous versions that require manual rework of Terraform definitions as well as require updating the local or remote Terraform state. I originally developed a solution for deploying Next.js to AWS using Terraform version 0.12 and that has been … Continue reading Deploy Serverless Next.js to AWS with Terraform 1.1

Setting up Continuous Deployment with Lerna and Buildkite

Buildkite is a great tool for running multi-step build and deployment pipelines. Lerna is a tool for managing multiple JavaScript packages within one git repository. Given that both Lerna and Buildkite are quite popular, it is surprising how difficult it is to set up a basic build and deployment with these tools. It is very … Continue reading Setting up Continuous Deployment with Lerna and Buildkite

Setting up Prometheus and Grafana for CentOS / RHEL 7 Monitoring

As mentioned in my previous post, I have long been looking for a centralised solution for collecting logs and monitoring metrics. I think my search was unsuccessful since I was looking for too many things in one solution. Instead I found now two separate solutions, one for log management (using Graylog) and one for metrics … Continue reading Setting up Prometheus and Grafana for CentOS / RHEL 7 Monitoring

Installing Jenkins on Centos 7

I set up a Jenkins server on a brand new Centos 7 VPS. In the following the instructions for doing this in case you are looking at doing the same: Setting up Jenkins Server Install OpenJDK Java sudo yum install java-1.8.0-openjdk Add Jenkins Repo and install Jenkins sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo sudo rpm --import … Continue reading Installing Jenkins on Centos 7

Resize EC2 Volume (without Resizing Partition)

Problem You would like to resize a volume attached to an EC2 instance. Solution Do the following: Create a snapshot of your volume (instructions) Stop your instance Go to EBS / Volumes and select Actions / Modify Volume Enter the new size for your volume (note you can only ever make the volume larger) and … Continue reading Resize EC2 Volume (without Resizing Partition)