Azure Tip: Installing and using the Azure CLI in VSCode

1. Install the Azure CLI Tools extension in vscode If you don't already have the Azure CLI installed, you can open the link to the landing page directly from vscode (or use the link above): Choose your platform and install. 2. Start working with the Azure CLI Tools extension in vscode Once this extension is installed, it's pretty straight forward to get started. I have a lot of files, configurations and common commands that I run on a daily basis with my production and dev tenants; With the support of vscode and the integrated CLI it's easier to ensure correctness…

Read More

Azure Tip: Running the Azure CLI using Bash on Ubuntu, in Windows 10

Azure Tip: Running the Azure CLI using Bash on Ubuntu, in Windows 10

I recently got a question about how to use the Bash CLI instead of the Windows-based CMD experience, but remaining in Windows and not have to set up virtual machines or other computers. The Azure team is doing an awesome job in expanding the functionality in the Azure CLI, and this goes cross-platform. It's pretty straight forward, and since I was asked I'll outline the steps here for future reference. 1. Enable the Windows Subsystem for Linux on Windows 10 The first thing we need to do on our Windows 10 box is to enable the Linux Subsystem, which is…

Read More

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

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, you'll be in a world of pain when trouble hits you. A solution to this problem can come in many shapes and with the help of many tools and services. In this article I'm focusing on Microsoft Log Analytics which has support for monitoring Kubernetes (and other systems). AKS Kubernetes monitoring: Pre-requisites for this post A short list of things you'll need before you get started: An Azure Container Service (AKS)…

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