Notes from building things in the cloud.

Linux, networking, cloud, security and automation. Practical write-ups of what worked, what broke and what I learned.

Building a Kubernetes platform on Azure, step by step

I'm rebuilding my game platform on Azure Kubernetes Service , all in Terraform, one module at a time. So far: Remote state in Azure storage, locked with a blob lease (the Azure version of S3 plus a lock table). A…

#azure#aks#terraform#kubernetes
Read more →

Scanning container images with Trivy

Every container image carries an operating system and a pile of libraries, and some of them have known security holes. Trivy finds them before the image ships. How I use it in CI: Scan every image before it's pushed. If…

#security#containers#cicd
Read more →

Alerts as code: watching latency, errors and AI spend

Once the game was on Kubernetes, I added kube-prometheus-stack : Prometheus for metrics, Alertmanager for alerts and Grafana for dashboards. The alert rules live in Git with the app, so they're reviewed and versioned…

#prometheus#grafana#monitoring
Read more →

Moving my game onto Kubernetes with k3s and Helm

My games used to run with Docker Compose on a single VM. It worked, but every deploy was a small leap of faith. I moved them to k3s , a lightweight Kubernetes, on the same VM. Same hardware, much better behaviour: Helm…

#kubernetes#k3s#helm
Read more →

Keyless deploys from GitHub Actions

I used to store a cloud key in GitHub so the pipeline could deploy. It always felt wrong: a long-lived key sitting in one more place. Now my pipelines use OIDC instead. GitHub gives each run a short-lived signed token…

#github-actions#oidc#security
Read more →

What I want from a deployment pipeline

A pipeline isn't there to make deploys fast. It's there to make them boring. The checks I want before anything reaches production: Protected main branch. Changes go through a pull request, never straight in. Tests and…

#cicd#devops
Read more →

Cost alerts before you need them

The worst time to think about cloud cost is after the bill arrives. Every account I create now gets three things on day one: A budget with alerts at 50%, 80% and 100%. Cheap, and it means a surprise shows up in my…

#finops#cloud#cost
Read more →

Scripts that are safe to run twice

The best automation scripts are boring. You can run them twice and nothing bad happens. When a script has to touch a lot of things, I follow the same rules every time: Dry run first. Every script has a mode that prints…

#python#bash#automation
Read more →