soultrace

Terraform-AWS random instance names in Auto Scaling groups and tag propagation to volumes

When you use Auto Scaling groups to deploy instances, every instance is named the same if you setup the Name tag inside aws_autoscaling_group to be propagated at launch. Last few days I've been looking how to make instance names, that is their Name tag, get random

LVM automatic snapshots on boot

If you are using LVM on your system (be it server or personal desktop) it is good to have snapshot ready in case something goes wrong during daily operations. Prerequisite is that you have enough space on your volume group to create required logical volume snapshots and for this guide

Create context for remote cluster administration

This is a short guide on how to create context on your local machine so you could administer remote kubernetes cluster with kubectl. First we need to create our certificate request. We can do this on our local machine. Important part is to set CN to username we will use

Join node as master to existing cluster

Recently I got CKA certification and one thing I was constantly shuffling around and trying to achieve is simply join another node as master to already existing cluster. Join as worker is pretty simple but as master things aren't going so well... Anyway I managed to do it

Open ssh URLs in chrome and firefox

If you are using some simple web applications that provides list of devices that you can connect using ssh it is useful to auto launch terminal with ssh connection started. I am doing this on debian 9.5, chromium 69.0 and firefox 60.3. First we need to setup

soultrace © 2026