- Lab
- A Cloud Guru
Hosting Static Content with Azure Storage
In this lab, you will simulate the code modifications necessary to point a web frontend to an API in Azure Functions. You will modify the storage account settings for static hosting, create the API inside of Azure Functions, modify the frontend code, rebuild the code, and upload the code to the storage account using the Azure CLI.
Path Info
Table of Contents
-
Challenge
Prepare the Frontend Code for Azure Storage
Using the Azure Cloud Shell, clone the Git repository, modify the code for Azure Functions, and rebuild the frontend code.
-
Challenge
Create the API for the Necessary Code Modification
Create an Azure function using the code provided in the Git repository. This will allow the API URL to be generated, which is needed for the frontend code modification.
-
Challenge
Enable and Configure the Static Website Feature in Azure Storage
Using the Azure portal, enable the static website feature in Azure storage. Then, configure the endpoint to point to the correct file in the code base.
-
Challenge
Migrate the Code to Azure Storage
Using the Azure CLI, upload the code into the Azure storage space.
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.