In this post, we will install a Kafka cluster with three nodes on our lab PC, using KVM, Vagrant and Ansible. The setup Of course it is possible (and actually easy, see the instructions in the quickstart section of the excellent Apache Kafka documentation) to run Kafka as a single-node cluster on your PC. The … Continue reading Learning Kafka with Python – installation
Month: May 2020
Learning Kafka with Python – the basics
More or less by accident, I recently took a closer look at Kafka, trying to understand how it is installed, how it works and how the Python API can be used to write Kafka applications with Python. So I decided its time to create a series of blog posts on Kafka to document my learnings … Continue reading Learning Kafka with Python – the basics
Managing KVM virtual machines part III – using libvirt with Ansible
In my previous post, we have seen how the libvirt toolset can be used to directly create virtual volumes, virtual networks and KVM virtual machines. If this is not the first time you visit my post, you will know that I am a big fan of automation, so let us investigate today how we can … Continue reading Managing KVM virtual machines part III – using libvirt with Ansible
Managing KVM virtual machines part II – the libvirt toolkit
In the previous post, we have seen how Vagrant can be used to define, create and destroy KVM virtual machines. Today, we will dig a bit deeper into the objects managed by the libvirt library and learn how to create virtual machines using the libvirt toolkit directly Creating a volume When creating a virtual machine, … Continue reading Managing KVM virtual machines part II – the libvirt toolkit
Managing KVM virtual machines part I – Vagrant and libvirt
When you first install and play with Vagrant, chances are that you will be using the VirtualBox VM provider initially, which is supported out-of-the-box by Vagrant and open source. However, in some situations, VirtualBox might not be your preferred hypervisor. Luckily, with the help of a plugin, Vagrant can also be used with KVM. In … Continue reading Managing KVM virtual machines part I – Vagrant and libvirt
A cloud in the cloud – running OpenStack on a public cloud platform
When you are playing with virtualization and cloud technology, you will sooner or later realize that the resources of an average lab PC are limited. Especially memory can easily become a bottleneck if you need to spin up more than just a few virtual machines on an average desktop computer. Public cloud platforms, however, offer … Continue reading A cloud in the cloud – running OpenStack on a public cloud platform
OpenStack Octavia – creating listeners, pools and monitors
After provisioning our first load balancer in the previous post using Octavia, we will now add listeners and a pool of members to our load balancer to capture and route actual traffic through it. Creating a listener The first thing which we will add is called a listener in the load balancer terminology. Essentially, a … Continue reading OpenStack Octavia – creating listeners, pools and monitors
OpenStack Octavia – creating and monitoring a load balancer
In the last post, we have seen how Octavia works at an architectural level and have gone through the process of installing and configuring Octavia. Today, we will see Octavia in action - we will create our first load balancer and inspect the resulting configuration to better understand what Octavia is doing. Creating a load … Continue reading OpenStack Octavia – creating and monitoring a load balancer
OpenStack Octavia – architecture and installation
Once you have a cloud platform with virtual machines, network and storage, you will sooner or later want to expose services running on your platform to the outside world. The natural way to do this is to use a load balancer, and in a cloud, you of course want to utilize a virtual load balancer. … Continue reading OpenStack Octavia – architecture and installation