Tag 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

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

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

Generating RSA keys with Python 3

I was looking for a quick way to generate an RSA key in Python 3 for some unit tests which needed a public key as an OpenSSH string. It ended up taking longer than expected because I started by trying … Continue reading

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