Create a web app on the free tier
In this task you'll create a web app on the free tier.
Creating a web app gives you a running website at an address ending in azurewebsites.net, with HTTPS already working. You choose a runtime stack (the language your code uses, such as Node.js, Python, .NET or PHP) and the operating system.
The create form also makes the App Service plan if you don't have one. Pick Free F1 and practising costs nothing.
Example. SS Kaiser wants a holding page for a new product range. A developer creates app-sskaiser-launch on the Free tier in five minutes and shares the azurewebsites.net link with the marketing team.
Before you start
You need: Contributor on the resource group. Time: 10 minutes.
Where to look
- Home
- App Services
- + Create
- Web App
Steps
- Open App Services, select + Create, then Web App.
- Choose rg-portal-practice and a name such as app-practice plus your initials and digits.The name must be unique across Azure, because it becomes part of the web address.
- Set Publish to Code, Runtime stack to a current Node LTS version (such as Node 24 LTS), and Operating System to Linux. Change Region to one near you: it may start on a US region.
- Under Pricing plans, select Create new below Linux Plan and name it asp-practice. Then select Explore pricing plans, pick Free F1 under Dev/Test and choose Select.The Pricing plan box starts on Basic B1, which costs money every hour. It must say Free F1 (1 GB memory) before you go on.
- Leave Zone redundancy on Disabled. On the Monitor + secure tab, check that Enable Application Insights is No and Enable Defender for App Service is unticked.
- Select Review + create. Check that the summary says Free sku and Estimated price - Free, then Create.If you see an error about needing additional quota, with a Current Limit (F1 VMs) of 0, your subscription has no Free-tier quota in that region yet. Nothing is charged. Try another region (in our check, UK West worked when UK South had none), or ask for more from the subscription's Usage + quotas page.
- When it's done, select Go to resource and open the Default domain link. You'll see Azure's starter page.
Commands
# Create a Free (F1) Linux plan, then a Node web app on it
az appservice plan create --resource-group rg-portal-practice --name asp-practice --is-linux --sku F1
az webapp create --resource-group rg-portal-practice --plan asp-practice \
--name <unique app name> --runtime "NODE:22-lts"
# Its address
az webapp show --resource-group rg-portal-practice --name <app name> --query defaultHostName --output tsv
Watch out for
- Cost
- Free F1 costs nothing. If the summary shows any other tier, go back before you select Create. The portal may also make an empty group called DefaultResourceGroup plus a region code (such as -SUK); it costs nothing.
- Security
- The site is public as soon as it's created. Don't upload anything private to a practice app.
- Common mistakes
- Leaving the default Basic B1 selected. Choosing a name that's taken (the form shows a red cross). Mixing Linux and Windows plans: an app can only use a plan with the same operating system. New free accounts can have zero Free-tier quota in some regions.
Clean up
- Resource groups
- rg-portal-practice
- Delete resource group
Keep the app for the next tasks in this section. At the end, delete the resource group, which removes the app and its plan together.
Words to know
- Runtime stack
- The language and version your code runs on, such as Node 24 LTS or Python 3.12.
- Default domain
- The address Azure gives your app, ending in azurewebsites.net. Apps made in the portal get an extra unique code in the address; apps made with the CLI usually don't.
- Publish
- What you deploy: code, a container image, or a static site.
Tick off each step and track your progress in the guide.
Open this task in Azure Portal, Hands On