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

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

Tip: Docker Extension for VSCode

Tip: Docker Extension for VSCode

I've been spending a lot of time with .NET Core, Docker, a plenitude of Azure services, various cloud systems and API's. The common denominator of all my projects of late, is that they're all touching Docker in one way or the other. With Docker there's plenty of ways to do things. This post is simply a tip if you're using VSCode and also working with Docker to some extent; It'll help with some basic tasks. Docker Extension for Visual Studio Code, installation Press Ctrl + P (Windows) Type ext install vscode-docker Select and install the extension (as of this writing it's…

Read More