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 »

Multipass Key-Based Authentication

By | December 23, 2020

In this article I will show how to create a Multipass virtual machine that has an additional user which can connect to the virtual machine authenticating using a private key. To accomplish this I will use cloud-init when creating the virtual machine. The cause for this is to allow creation and provisioning of Multipass virtual… Read More »

Quest For the Spring Data DynamoDB Grail

By | December 11, 2020

The following are a few words and some simple examples showing how to use Spring Data DynamoDB to store and retrieve data in a DynamoDB database. In the example, which consists of a few tests, I will use a local instance of DynamoDB running in a container. No prior knowledge of DynamoDB is assumed, though… Read More »

OpenEBS on K3S – Open Source Container Attached Storage

By | July 10, 2020

In this article I will install OpenEBS on my K3S Kubernetes cluster and present a simple example showing how to allocate storage for an application running in the cluster.I will take a slight detour to kubectl user contexts and, later, I will use a Persistent Volume and a Persistent Volume Claim to make storage available… Read More »