Skip to main content

Posts

2025

HDD Drive Security - When it went wrong
·1088 words·6 mins
Hdparm Storage Linux
When I’ve finished using a hard disk for a customer project I’ll erase the data on it so the drive can be reused without the customers data getting exposed. A simple reformat of the disk would cover most scenarios but there’s a chance data can still be recovered after this so I need to be sure its not recoverable. The Secure erase feature of the disk would be perfect for this, or so I thought.

2024

Linux Firewall: Blocking a lot with a little
·1211 words·6 mins
Linux Iptables Ipsets Firewall
I have a need to block a large list of ever changing IP addresses from servers and systems I operate.

2021

Packer: Using an image family from another project
·204 words·1 min
Packer GCP Google Cloud Cloud
Following on from my previous post: Packer: Building images on Google Cloud You should now be able to build compute images on GCP and you may have used this to build a pre-configured image you can effortlessly deploy again and again without having to wait to install software.
Google Cloud: IAM Conditions
··541 words·3 mins
GCP Google Cloud Cloud IAM Security
We can use IAM to control who has access to what within our project and who can do what to things like storage buckets, but what if we wanted to restrict when someone could do something or to what object in a bucket. That’s where IAM Conditions come in to play.
Terraform: Getting started with GCP
·670 words·4 mins
GCP Google Cloud Cloud Terraform
What’s Terraform? # Terraform is a tool created by Hashicorp which allows us to describe our infrastructure in easily readable code. This code can also be stored in our source code management system to allow us to track changes to our infrastructure over time.