hands-on lab

Working with Azure Virtual Machines using Python SDK

Difficulty: Intermediate
Duration: Up to 1 hour
Students: 53
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.

Description

Resources are the building blocks of a cloud application. The cloud development process thus begins with creating the appropriate environment into which you can deploy the different parts of the application. Azure offers you a wide range of development suites, including PythonSDK, .NET, CLI, and other third-party applications.

In this hands-on lab, you will discover how to use Python SDK to interact with the Azure environment and create virtual machine resource using Azure CLI and Python SDK.

Learning Objectives

Upon completion of this intermediate-level lab, you will be able to:

  • Create Azure Virtual Network using Python SDK
  • Create Azure Virtual Machine and associated resources using Python SDK

Intended Audience

  • Cloud Architects
  • DevOps Engineers
  • Software Engineers

Prerequisites

Familiarity with the following will be beneficial but is not required:

  • Azure Python SDK and Azure CLI
  • Azure Virtual Machine

The following content can be used to fulfill the prerequisite:

Updates

May 2nd, 2023 - Updated theia to include autosave

Environment before

Environment after

Covered topics

Lab steps

Logging into Azure using Azure CLI
Creating Azure Virtual Network using Python SDK
Creating Azure Virtual Machine using Python SDK