View on GitHub

Ready-to-use Presentations

Pick a topic to present with ready-made presentations!

Create Serverless Logic with Azure Functions

Module Source

Create serverless logic with Azure Functions

Goals

In this workshop, you will learn how to create, execute, monitor, and test Azure functions in the Azure portal.

Goal Description
What will you learn How to identify if an Azure function is right for your development needs, and how to create and use functions from the Azure portal.
What you’ll need A Microsoft account
Duration 45 min
Slides Powerpoint

Video

workshop walk-through

🎥 Click this image to watch Ornella walk you through the workshop

Pre-Learning

Prerequisites

This workshop will use the Azure sandbox environment within Microsoft Learn. In order to access the sandbox environment, you’ll need to create a free Microsoft account and sign in when prompted.

What students will learn

Say you’re working on an IoT project where you want to figure out how many people sit at each table in your school’s cafeteria. You want to use infrared sensors at each table that provide you with data from all of the locations, and you want to develop a reusable service that can process the data from all of the different sources. With serverless computing, you can use a cloud provider, like Azure, to manage the infrastructure of your project. Azure Functions is a key component of the serverless computing offering from Azure that enables you to run pieces of code, or functions, written in the programming language of your choice, in the cloud.

image of completed project

Decide if serverless computing is right for your project

In this section, you will learn all about serverless computing and Azure Functions, and understand the benefits and drawbacks of a serverless compute solution. With this knowledge, you can decide if serverless computing is right for your project.

Create a function app in the Azure portal

Once you have decided that a serverless solution would best fit your needs, the workshop will walk you through how to create a function app in the Azure portal. You’ll be able to choose if you want to code in JavaScript or PowerShell.

Run your code on-demand with Azure Functions

Now that you have created a function app, you’ll learn how to build, configure, and execute a function. In this section, we also cover how to test your new Azure function.

Add logic to the function app

Finally, we’ll add logic to the function app. For the purposes of this workshop, we will work with an example that checks for safe temperature levels.

Quiz

Summary and knowledge check

Next steps

Practice

Now that you know how to create Azure functions from the Azure portal, try creating one using your Azure for Students subscription and the Azure Functions extension in Visual Studio Code!

Feedback

Be sure to give feedback about this workshop!

Code of Conduct