Category Archives: Python

Deploying an Azure Data Science VM from the command line

This article describes how to deploy an Azure Data Science virtual machine from the command line using Azure CLI 2.0. Setting up a compute environment for data science work can be challenging for several reasons: Identifying the software you need, … Continue reading

Posted in Cloud, Computers and Internet, Data science, Linux, Python, Ubuntu | Tagged , , , , | 1 Comment

Exploring the Microsoft Graph with Python and AI

The Microsoft Graph is a programmability model and API platform to access Office 365 data in a unified and coordinated way. This article will show you how to combine the Graph API with Azure Cognitive Services to derive insights from … Continue reading

Posted in Cloud, Computers and Internet, Graph, 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

Figuring out Azure VM scale set machine names

How do the individual VM host names in a scale set get their names? Can you choose the names, or the naming convention? How do you correlate a machine name with a VM instance ID? When you create a scale … Continue reading

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

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