Hero Image

Blog

Query instance specific information on AWS

Query instance specific information on AWS

When working in a dynamic environment you can use the following syntax to query an instance for information about itself.

I found this very useful when needing to discover which availability zone an instance was running in, for example.

curl http://169.254.169.254/latest/dynamic/instance-identit...

21st Jun 2018 - IronicBadger
How to configure systemd boot with UEFI

How to configure systemd boot with UEFI

Today we will cover configuring a Linux system to boot using systemd boot on a UEFI system.

Firstly you'll need to check you're booted into EFI mode. You can do this with dmesg | grep "EFI v".

Sometimes it's possible to boot your system from legacy BIOS mode instead of UEFI mode - look for the...

17th May 2018 - IronicBadger
The dangers of pulling :latest

The dangers of pulling :latest

On a wonderful sunny Sunday morning, I spent a good few hours sweating over my server in the hopes of restoring a partially corrupted and misconfigured database. Why? Because I was pulling mysql:latest.

This should serve as a case study for those that live on the edge - it's not always wise to c...

22nd Apr 2018 - Josh Stark
Ansible Tip - Using the expect module

Ansible Tip - Using the expect module

Another Ansible top tip. Suppose you are running an installer or other process via Ansible which expects the user to be present accept a license agreement, enter some information or something. Enter expect, a handy little utility which can listen for certain strings in stdout and react accordingly...

23rd Mar 2018 - IronicBadger
Ansible Tip - Referencing items from a hash

Ansible Tip - Referencing items from a hash

Let's say you are in the midst of writing an Ansible playbook and you need to reference multiple values from an 'item' in different places. Here's a neat code snippet that will allow you to do just that.

hosts: all 
vars:
  file_path_1: /usr/bin
  file_path_2: /example
  file_path_3: /opt
tasks:...
23rd Mar 2018 - IronicBadger
Heimdall Application Dashboard

Heimdall Application Dashboard

What is Heimdall?

As the name suggests Heimdall Application Dashboard is a dashboard for all your web applications. It doesn't need to be limited to applications though, you can add links to anything you like.

If you're like me, you use an assortment of web based applications; some daily, som...

12th Feb 2018 - Chris Hunt