hands-on lab

Using Azure Static Web Apps to Build Static Websites

Up to 1h
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.


Azure Static Web (SWA) is a free web host that allows you to host static websites easily. SWA enables you to build static websites without additional configuration or host management. Azure links directly with GitHub or Azure DevOps to monitor and deploy changes to production env. The static files serving enables SWA to deliver files much faster to end users.

Many companies today use cloud infrastructure to quickly and easily deploy new applications to scale their business. To avoid complications of hosting and managing, static site hosting offers an easy and reliable solution. It enables organizations to offload the host management while also taking advantage of native integration with Azure services.

You will understand the Azure Static Web App offering and use SWA CLI tools to interact with the SWA resource in this hands-on lab.

Learning Objectives

Upon completion of this beginner-level lab, you will be able to:

  • Understand and create Azure Static Web App
  • Use SWA CLI tool to deploy static app

Intended Audience

  • Candidates for Azure Administrator Exam (AZ-104)
  • Cloud Architects
  • Data Engineers
  • DevOps Engineers
  • Software Engineers


Familiarity with the following will be beneficial but is not required:

  • Azure Web Apps

The following content can be used to fulfill the prerequisite:

Environment before

Environment after

About the author

Learning paths

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 in to the Microsoft Azure Portal
Creating Static Web Apps Resource using Azure Portal
Creating and Uploading Static Web Apps using SWA CLI