I recently had to deploy a Virtual Machine Scale Set (VMSS) in Azure needed for a self-hosted agent pool for Azure DevOps. I decided to use Terraform to implement that and even though this should not be a big deal at all, I came a cross a couple of challenges i would like to share with you in this blog post.

Before we dig deeper into the details, let us start with a short overview about the involved components:

  • Virtual Machine Scale Sets (VMSS) are a powerful service in Microsoft Azure that lets “[..] you create and manage a group…


I recently came across the challenge to conduct massive distributed load tests on an scalable application hosted in Azure. After doing some research on the web I found a couple of viable tools, including Locust which I had already heard of in one of my recent customer projects. I therefore digged a bit deeper into Locust to learn more about it and its capabilities and here are my results.

Locust is an easy to use, scriptable and scalable open source load and performance testing tool. You define the behaviour of your users in regular Python code, instead of using a…


In Part 3 of this series we are going to take a deeper look into the Prometheus support of Azure Monitor for Containers. If you would like to learn more about Azure Monitor and Log Analytics, please take a look on the previous parts:

Before we start, what is Prometheus? Prometheus is a popular open source monitoring and alerting toolkit and a graduated project of the Cloud Native Computing Foundation. …


In Part 1 of this series we have seen the various native options Azure Kubernetes Service provides in combination with Log Analytics, Azure Monitor and Container Insights. We have also seen how to enable the integration of Azure Monitor as well as configuring the Diagnostic settings.

The following diagram from docs.microsoft.com explains the various sources and streams of logs and metrics in an AKS setup pretty well:

Azure Monitor for containers overview

We are seeing metrics and logs from the various layers of your AKS infrastructure, the operating system of your worker nodes, the Kubernetes service itself as well as data from and about the…


Azure Kubernetes Service, or short AKS, is Microsoft Azure’s managed Kubernetes offering. Eventhough it is a managed service it still gives you plenty of options in regards to infrastructure and application monitor you should take into consideration for running workloads in production.

In this post we are mainly focussing on the native services and solutions offered in Microsoft Azure, this list is definitly not complete and does not cover most of the 3rd-Party solutions that are available. To get an overview of what is available, i recommend to take a look on landscape.cncf.io.

Infrastructure monitoring

Before we dig deeper into…


Azure App Service is Microsoft Azure’s Platform-as-a-Service (PaaS) offering to quickly build, deploy and scale web apps and APIs. It supports .NET, .NET Core, Node.js, PHP, Java and many more in containers running on Windows or Linux.

Even though Azure App Service does already support a variety of languages out-of-the-box, there still might be cases that require a specific configuration, optimizations or other scenarios that go beyond the default configuration.

As Azure App Service uses containers under the covers, it also offers the capability to bring your own container images. …


Azure Kubernetes Service (AKS) in combination with Azure Monitor and Log Analytics (aka Container Insights) offers out of the box a great set of monitoring capabilities. This includes the overall cluster and node utilization and health status as well as detailed information around controllers, containers and deployments including options to view live data and advanced queries over the underlaying data stored in Log Analytics.

Azure Monitor (Container Insights)

This is a great starting point and provides sufficient information for cluster operators and a high level overview for workload owners and can be configured at deployment time or later by attaching an AKS cluster to…

Heyko Oelrichs

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store