Building A Microservice-Ready Monolith – Part I

By | February 2, 2023

When developing programs that are larger than minuscule I prefer to structure them in a fashion as once inspired by an article by Simon Brown named “An Architecturally Evident Coding Style” that I read some years ago. Not only does this help me to organize my code in a, to me, familiar way but it… Read More »

Testing Ansible Docker Container Deployment with Molecule

By | November 2, 2022

Update: There is a slight issue with the technique described in this article. Please refer to this article for a remedy. Testing Ansible automation with Molecule means testing against Docker container(s) that poses as remote server(s). An interesting challenge, at least to me, was to use Molecule to test deployment of Docker containers – this… Read More »

Creating Multipass Virtual Machines with Ansible

By | October 10, 2021

In this article I will automate creation of Multipass virtual machines using Ansible. The manual process is described in an earlier article. As in the previous article, the virtual machines created will be configured as to allow for password-less login using a private key. Prerequisites In order to be able to create Multipass virtual machines,… Read More »

Ansible and Multipass Virtual Machines

By | May 16, 2021

In this article I will show how to set up an Ansible inventory that makes it possible for Ansible to interact with a Multipass virtual machine. Prerequisites A Multipass virtual machine should be created according to instructions in the article Multipass Key-Based Authentication. Note where the file containing the private key is stored.The second prerequisite… Read More »

Metrics Alarms with Prometheus and Alertmanager

By | April 20, 2021

In this article I will use Prometheus and Alertmanager to send alarms when disk-space is low for a Spring Boot application. Actually, any service or application which have metrics that can be scraped by Prometheus can have alarms so the technique described in this article is not only applicable to Spring Boot services and applications.… Read More »