- Lab
- Cloud

Deploy and Run an Azure Function
Your company, Globomantics, wants to use Azure Functions in their environment. You’ve been asked to demonstrate how Azure Functions work by deploying a function with some sample code. In addition, they want you to deploy a function that will scrape a website for the latest datasets.

Path Info
Table of Contents
-
Challenge
Deploy an Azure Function
- Log in to the Azure portal.
- Deploy an App Service style Function App in the same region as your resource group.
- For the runtime stack, choose Python with the latest version.
- Ensure the pricing plan is set to Basic B1
-
Challenge
Create a Sample Application
- Using VScode, create a new Function Project with Python as the language.
- Select the HTTP trigger template.
- Set the authorization level to ANONYMOUS.
- Supply a name to the http function by using the following parameter:
?name=YOURNAME
-
Challenge
Deploy Web Scraping Code to the Azure Function
- Copy the web scraping code from the lab's GitHub repo and upload it to the function.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.