Sample bash script executing Azure CLI 2.0 commands, which can be executed on Linux (tested on Ubuntu) or Bash on Ubuntu on Windows 10

Hello everyone, this blog post directs you to a sample bash script that uses Azure CLI 2.0 that performs some deployment operations on Azure. There is a counterpart script based on PowerShell that can be found at https://gallery.technet.microsoft.com/Azure-Resource-Manager-6514f9ca?redir=0. Basically this bash script with Azure CLI 2.0 deploys the following components: 1 x Resource Group 1…

0

Deploying a virtual machine based on a generalized custom image using the Azure Portal

Hello everyone, Just to close the discussion started on Creating an Ubuntu Server 16.10 generalized image on Azure and Deploying a new VM based on this image using Azure CLI 2.0, where we deployed an Ubuntu VM from the Azure Marketplace, then customized its image and deployed other VM based on this generalized image by…

2

Executing Custom Script Extension using Azure CLI 2.0 on an Azure Linux Virtual Machine

Hello Everyone, This blog post shows an end-to-end scenario for executing a bash script remotely on an Azure Linux VM. I put this together because out there we have documentation for the commands individually but no end-to-end example, here I show how to obtain the storage account key, how to check if a container exists…

0

Creating an Ubuntu Server 16.10 generalized image on Azure and Deploying a new VM based on this image using Azure CLI 2.0

Hello Everyone, This step by step guide will show you how to prepare a generalized image from an Ubuntu 16.10 image from the marketplace, using the newest managed disks that were released on 02/08/2017.   Generalized virtual machines are nothing more than a virtual machine installed from the Azure Marketplace then manually customized and prepared…

0

Working with Azure Storage Tables from PowerShell

Hello, this is Paulo. In this blog post I’m going to show how to work with Azure Storage Tables from PowerShell, through a sample PowerShell module that I created for operations like Add, Retrieve, Update and Delete table rows/entities exposed as functions.   Update 01/31/2017: Included a section in this post to show how to…

8

Azure Deployments – Speeding up PowerShell DSC by testing locally before using it in an Azure Resource Manager template or from a PowerShell deployment script

  Hi Everyone, As you may know, Azure Virtual Machines relies on Virtual Machine Extensions to perform some critical functionality, PowerShell DSC is one of them and it allows us to execute post installation tasks or to keep existing virtual machines in a state that we require them to be. This blog post shows some…

1

Azure Automation – Using JSON formatted tags to create a week schedule for virtual machine startup and shutdown with Azure Automation Runbooks

Hello Everyone,   UPDATE: this article got integrated into Azure Automation Documentation under Scenarios. It can be found here.   This blog post the the continuation or the practical usage demonstration on how to use JSON strings on tags described in this blog post here. In order to maximize the ROI of Azure adoption and…

1

Safeguarding your passwords when deploying Azure Virtual Machines with Azure PowerShell module and ARM Templates by using Azure Key Vault

Hello everyone, This blog shows you how to rely on Azure Key Vault in order to avoid passwords written in plain text on PowerShell scripts and/or Azure Resource Manager Templates and it takes you from how passwords were handled on Azure Service Manager (classic virtual machines) all the way up to using ARM Templates with…

0

Azure Powershell May 2016 Edition (Version 1.4.0) And Azure SDK 2.9 Changes–Obtaining Storage Account Keys Example

Hello Everyone, in this blog post I’m going to discuss some changes that happened in the Azure SDK and Azure PowerShell module that may be affecting you or will affect you if you update to the latest version. The issue that affected me and probably will affect anyone that is deploying Azure Resource Manager Templates…

0