Search Results for: azurerm

Deploying Azure Container Service using the azurerm Python library

Azure Container Service is an easy to deploy container framework for Azure. It’s an open framework that among other things lets you choose whether to deploy DCOS or Swarm based cluster orchestration. You can deploy ACS directly from the Azure … Continue reading

Posted in Cloud, Computers and Internet, Containers, Python | Tagged , , , , | 3 Comments

Creating an Azure VM Scale Set with the azurerm Python library

There are various ways to create an Azure VM Scale Set. The easiest methods are: directly in the Azure portal, using the CLI quick-create command, and by deploying an Azure template. If instead of deploying a template you want to … Continue reading

Posted in Cloud, Computers and Internet, Python, VM Scale Sets | Tagged , , | Leave a comment

How to create an Azure VM with the azurerm Python library

There are at least two ways to work with Azure infrastructure using Python. You can use the official Azure SDK for Python which supports all Azure functionality, or the azurerm REST wrapper library, which is unofficial and supports a subset … Continue reading

Posted in Cloud, Computers and Internet, Python | Tagged , | Leave a comment

azurerm – a Python library for the Azure RM REST API

This post is about an unofficial Azure library for Python called azurerm – a simple set of wrappers for Azure Resource Manager REST calls. If you’re looking for an official Python library for Microsoft Azure, there’s a bundle called azure … Continue reading

Posted in Cloud, Computers and Internet, Python | Tagged , , | 1 Comment

Azure Cloud Shell, Python, and Container Instances

Despite being fairly new, the Azure Cloud Shell has quickly become my go-to place for scripting and programming with Azure. This article describes some of features that make cloud shell useful, and how to use the environment with Python. What’s … Continue reading

Posted in Cloud, Containers, Linux, Python, Ubuntu | Tagged , , , , , | 1 Comment

How to change the password on a VM scale set

Problem: You forgot the VM password on an Azure VM scale set, or you need to change it. How do you do it? At first glance this can be difficult because every new VM sets its password from the VMSS … Continue reading

Posted in Cloud, Computers and Internet, VM Scale Sets | Tagged , | Leave a comment

How to add autoscale to an Azure VM scale set

It is easy to create an Azure VM scale set in the Azure portal, and there is an option to create it with basic CPU based autoscale settings. But suppose you created a scale set without any autoscale settings and … Continue reading

Posted in autoscale, Cloud, Computers and Internet, Python, VM Scale Sets | Tagged , , , | Leave a comment

VIP Swap – blue-green deployment in Azure Resource Manager

How do you automate deployment of a multi-VM application from staging to production? Three high-level approaches might be: 1. Roll out deployment, update one or more VMs at a time. This can be a good approach to avoid downtime, as … Continue reading

Posted in Cloud, Computers and Internet, Python, VM Scale Sets | Tagged , , , | 2 Comments

Autoscaling VM scale sets with Azure host metrics

It’s now easier to set up autoscaling with Azure VM scale sets than it used to be. Until recently the only way to set up autoscaling for scale sets was by installing the Azure diagnostics extension in every VM. The … Continue reading

Posted in Cloud, Computers and Internet, Python, VM Scale Sets | 1 Comment

Azure scale set upgrade policy explained

Azure VM scale sets have an “upgradePolicy” setting which can be set to “Manual” or “Automatic”. What does this setting do? What should you set it to? and how do you set it? What upgrade policy means The upgrade policy … Continue reading

Posted in Cloud, Computers and Internet, VM Scale Sets | Tagged , , | Leave a comment