Azure Tip: List of supported VM Sizes in Azure Container Services (AKS)

Azure Tip: List of supported VM Sizes in Azure Container Services (AKS)

Here comes a short tip of the day post about AKS. A common ask from people in the community and end customers using the Azure Container Services is to know what VM-sizes are supported by AKS. Not all services and regions offer support for all sizes, and sometimes it's a bit tricky to get to know which Azure service has support for what size of VM's. Looking for this information myself, I came across some details in the GitHub repository for the Microsoft Azure Container Service Client, and found this enumeration that contains the supported VM sizes. Also, as per…

Read More

Monitoring your Kubernetes cluster running on Azure Container Service (AKS) using Log Analytics

Monitoring your Kubernetes cluster running on Azure Container Service (AKS) using Log Analytics

UPDATE AUTUMN 2018: Microsoft recently released a Preview of Azure Monitor integration with AKS. Read more about how to enable it here: https://zimmergren.net/enable-monitoring-with-azure-monitor-log-analytics-for-aks/ OBSOLETE: Please note, as the previous comment and link above suggest, the information here is now obsolete since it was written during the Preview of AKS. Please use the link above to navigate to the simplified, and updated, information about how to get this running! One of the things I've noticed many times over the last year working with different orchestrators, distributed cloud platforms and container systems is that without proper monitoring and logging,…

Read More

Azure Container Services (AKS) - Upgrading your Kubernetes cluster

Azure Container Services (AKS) - Upgrading your Kubernetes cluster

Updated 2018-03-23: With the latest version of the CLI the get-versions command has been replaced with get-upgrades in regards to seeing what upgrades are available. Thanks to my buddy Thorsten for the heads up. The details below has been updated to accomodate these changes. While working a lot with AKS and Kubernetes the last couple of months, I've found it to be a pretty slick experience using the CLI even if it still has some room for improvement. The question of how to upgrade Kubernetes running in an Azure AKS cluster came up a few times both offline and online,…

Read More

Azure Container Services (AKS) - Getting Started with AKS and a private Azure Container Registry

Azure Container Services (AKS) - Getting Started with AKS and a private Azure Container Registry

This article will talk a little bit about how to get started with the new Azure Container Services (AKS). In recent months I've put quite some efforts into AKS and put it through the ring of fire and rigorous tests. So far, so good. With my R&D I've found some gotchas and had to figure quite some things out, but in the end the setup and configuration is pretty straight forward - and the preview of AKS has significantly improved since I started using it. In this post I will cover: Ramp up with pre-requisites (Azure CLI, AKS…

Read More

A practical guide to building a Bot using Microsoft Bot Framework using C# and host it in Azure, and use it with Microsoft Teams, Skype and more

A practical guide to building a Bot using Microsoft Bot Framework using C# and host it in Azure, and use it with Microsoft Teams, Skype and more

1. Introduction In this post we'll explore how easy it is to actually build a bot for Microsoft Teams using the Microsoft Bot Framework, which can be found here https://dev.botframework.com. This post is meant as a starting point for building bots and conversational helpers using the Microsoft Bot Framwork. Of course, it doesn't have to be limited to the Microsoft Teams channel, it can be targeting Slack, Skype or any other available distribution channel. For the sake of this post, I'll show how to build it and use it with Teams initially. 1.1 The bot: Nerdibot…

Read More

Building and running a .NET Core application in a Docker Swarm in Azure, via Docker Cloud

Building and running a .NET Core application in a Docker Swarm in Azure, via Docker Cloud

Introduction In this article I'll walk you through how to set up a Docker Swarm in Azure through the Docker Cloud service. There's plenty of places to host your docker containers, in this post I'm covering the Docker Cloud option with the Swarm Mode on Azure. I will soon post a few guides for ACS (Azure Container Service) and AKS (Managed Kubernetes on Azure Container Service) which also touches upon how to deploy and host your containerized solutions in the Azure cloud. For the sake of this post, I've created a super-simple console application that outputs messages to an Azure…

Read More

Getting the instance id of a running Azure Function with ExecutionContext.InvocationId

Getting the instance id of a running Azure Function with ExecutionContext.InvocationId

Recently I had a discussion about Azure Functions, the pros and cons, and running multiple instances of batch processing simultaneously. One of the immediate questions that came up in that discussion was; In the built-in logs you see in the streaming log service or in the log console, how do you know which message comes from what invocation? Great question, let's dig into that! Get the Invocation Id of an instance of a Azure Function When a Function runs, it gets a new unique identifier by default. You can see this in the invocation log: 2016-12-01T22:34:34.605 Function…

Read More

Reuse your C# Script (csx) code in multiple Azure Functions

Reuse your C# Script (csx) code in multiple Azure Functions

Azure Functions hit GA (General Availability) recently. A big milestone for the Azure Functions team, and I'm happy to see that it's finally out of Preview. Lately I've been working a lot with various parts of Azure to find the best fit for various busines cases. Functions has been one of those adventures, doing a lot of R&D around how they can be put to good use. One of the pitfalls I found early on was that I wanted to have multiple functions process different things on the same "task". With that I also had various…

Read More