Running the Powershell AzureRM module in a Linux Docker container

Introduction

Given my affinity towards containers & azure, it will not come as a surprise when I say I published a small container from which you can launch AzureRM commands!

 

Repositories

  • Docker Hub (build) : https://hub.docker.com/r/kvaes/docker-powershell-azure/
  • GitHub (source) : https://github.com/kvaes/docker-powershell-azure

 

Getting Started

First of all, we’ll launch the container ;

docker run -ti kvaes/docker-powershell-azure

2016-09-23-10_09_10-rootdocker02_

Next up you do the device login ;

Login-AzureRmAccount

2016-09-23-10_08_33-rootdocker02_

And check out which commands are available…

get-command *azure*”

2016-09-23-10_08_20-rootdocker02_
As you notice, the current preview release is quite limited in available commands. Expect more to be added over time off course!

 

TL;DR

  • Powershell on Linux works
  • The AzureRM module is in preview, and limited in commands
  • It all works inside a container too! 😀

Testdriving Windows Nano on Azure

Introduction

This week I wanted to have a simple slave machine that I could use for our CI/CD integration of our ARM templates. Here I was thinking of leveraging an A0 machine (10-11€/month) with Windows Nano on it, as this doesn’t need the biggest footprint. So out I went to deploy!

 

Deploying

When you want to deploy a nano system, just look it up like you would with (for example) a windows 2012 / 2016 machine… Type “nano” in the search bar.
2016-05-20 10_10_41-Everything - Microsoft Azure

I’m not going to elaborate on the deployment, as this is pretty straightforward and like any system deployment.

Continue reading “Testdriving Windows Nano on Azure”