Outline updated November 2026

Foundation14 hours delivered over 2 daysLive, online

Request this course

Azure Functions with Python

Class Duration

14 hours of live training delivered over 2 days.

Student Prerequisites

  • Some prior Python experience, such as writing basic scripts, functions, and classes
  • Professional programming experience, in Python or another language
  • Comfort with the command line and installing developer tools
  • No prior Azure Functions or serverless experience required

Target Audience

  • Experienced programmers with some Python experience who are new to Azure Functions
  • Teams adopting serverless Python on Azure who need a short course to get started
  • For the AWS cloud instead, see AWS Lambda with Python

Description

This two-day course is for experienced programmers who know some Python and are new to Azure Functions. The first part reviews the Python that serverless code needs: tooling, type hints, JSON, logging, and testing. Students then build functions on the Python v2 programming model and wire HTTP, Timer, Blob, and Service Bus triggers and bindings. They develop locally with the Core Tools, deploy to the Flex Consumption plan, and monitor with Application Insights. The Linux Consumption plan is being retired, so the course also covers moving those apps to Flex Consumption.

Learning Outcomes

  • Read and write idiomatic Python, using its object model and core types such as lists and dictionaries.
  • Set up Python environments and manage dependencies with uv and pip.
  • Structure code with functions, modules, and dataclasses, and check type hints with mypy.
  • Read files, parse JSON, and make HTTP requests from Python.
  • Handle errors, add logging, and write unit tests with pytest.
  • Explain the Azure Functions hosting model and how the Python worker runs code.
  • Choose a hosting plan, with Flex Consumption for new serverless apps.
  • Define Python functions with decorators in the v2 programming model.
  • Wire triggers and bindings such as HTTP, Timer, Blob, Queue, and Service Bus.
  • Run and debug functions locally with the Core Tools, then deploy them to Azure.
  • Migrate Linux Consumption apps to Flex Consumption.
  • Monitor functions with Application Insights logs and traces, and tune their performance.

Training Materials

Students receive the courseware on GitHub: documentation and code samples for every topic in the course. Students practice each topic in hands-on lab exercises.

Software Requirements

Students will need a free, personal GitHub account to access the courseware, a recent Python release, the ability to install Python packages, Visual Studio Code with the ability to install extensions, the Azure Functions Core Tools, the Azure CLI, and an Azure subscription with permission to create Function Apps and related resources.

Training Topics

Python for Experienced Programmers

  • Python compared to other languages
  • Dynamic typing, names, and the object model
  • Lists, tuples, dictionaries, sets, and strings
  • Control flow, comprehensions, and iteration
  • Writing idiomatic, readable Python

Python Environments and Tooling

  • Installing Python and managing versions
  • Virtual environments with uv and pip
  • Project layout and packaging basics
  • Formatting and linting with Ruff
  • Running and debugging in Visual Studio Code

Functions, Modules, and Type Hints

  • Defining functions, arguments, and return values
  • Modules, packages, and imports
  • Type hints and static checking with mypy
  • Dataclasses and structured data
  • Docstrings and code organization

Working with Data and JSON

  • Dictionaries and JSON serialization
  • Reading and writing files
  • Parsing and validating input data
  • Dates, times, and environment variables
  • Making HTTP requests from Python

Errors, Logging, and Testing

  • Exceptions and error-handling patterns
  • The logging module and structured logs
  • Writing unit tests with pytest
  • Mocking external services
  • Practical debugging techniques

Introduction to Azure Functions and Serverless

  • What serverless computing is and when to use it
  • The Azure Functions hosting and execution model
  • Supported Python versions and the language worker
  • Flex Consumption, Premium, and Dedicated plans
  • Hosting on Azure Container Apps
  • Per-function scaling and always-ready instances
  • Instance memory sizes
  • Virtual network integration
  • The legacy Consumption plan
  • Retirement of Linux Consumption hosting
  • Azure Functions within the Azure ecosystem

Building Functions with the v2 Model

  • The v2 programming model and function_app.py
  • Defining functions with decorators
  • Passing input and returning results
  • Application settings and configuration
  • Managing dependencies with requirements.txt

Triggers and Bindings

  • HTTP triggers and routing
  • Timer triggers for scheduled work
  • Blob and Queue storage bindings
  • Service Bus and Event Grid
  • Input and output bindings

Local Development and Deployment

  • The Azure Functions Core Tools and local runtime
  • Debugging locally in Visual Studio Code
  • Deploying with the Azure CLI and VS Code
  • Configuration and application settings in Azure
  • Infrastructure and configuration as code
  • Migrating Linux Consumption apps to Flex Consumption

Observability and Operations

  • Logging and Application Insights
  • Metrics and alerts
  • Distributed tracing
  • Error handling, retries, and poison messages
  • Cold starts, scaling, and performance tuning

Private team training

Bring this course to your team

Tell us about your team and we will tailor this outline to your tools, stack, and schedule. Courses can also be combined into a longer program.

  1. Tell us what you needYour tools, stack, team size, and timeline.
  2. We send a proposalA course or program, an outline adjusted to your team, and possible dates.
  3. Your team trains liveOnline or on-site, with courseware for every student.

Prefer to talk? Call +1 434-509-6890 or email help@cloudcontraptions.com.

We reply within 1 business day.

Training partner?