hands-on lab

Working with Azure Virtual Machines using Python SDK

Intermediate
Up to 1h
47
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.
Lab 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
About the author
Students
14,565
Labs
95
Courses
1
Learning paths
3

Parveen is an Azure advocate with previous experience in the professional consulting services industries. He specializes in infrastructure and DevOps with a wide range of knowledge in security and access management. He is also an Azure Certified - DevOps Engineer Expert, Security Engineer, Developer Associate, Administrator Associate, CompTIA Certified - Network+, Security+, and AWS Cloud Practitioner.
Parveen enjoys writing about cloud technologies and sharing the knowledge with the community to help students upskill in the cloud.

Covered topics
Lab steps
Logging into Azure using Azure CLI
Creating Azure Virtual Network using Python SDK
Creating Azure Virtual Machine using Python SDK