Getting Started with Azure Services
Welcome to the Azure Services quick start guide. This page walks you through creating your first Azure service using the Azure CLI, PowerShell, and the Azure Portal.
1. Prerequisites
- An active Azure subscription.
- Azure CLI installed (
az
version 2.0+). - PowerShell 7+ with
Az
module. - Web browser for the Azure Portal.
2. Create a Resource Group
All Azure resources must belong to a resource group.
az group create --name MyResourceGroup --location eastus
New-AzResourceGroup -Name MyResourceGroup -Location eastus
3. Deploy a Web App
Deploy a simple web app service using the Azure CLI.
az webapp create --resource-group MyResourceGroup --plan MyAppServicePlan --name MyUniqueWebAppName --runtime "DOTNET|6.0"
Or deploy using PowerShell:
$plan = New-AzAppServicePlan -Name MyAppServicePlan -ResourceGroupName MyResourceGroup -Location eastus -Tier Free
New-AzWebApp -Name MyUniqueWebAppName -ResourceGroupName MyResourceGroup -AppServicePlan $plan.Id -Runtime "DOTNET|6.0"
4. Verify Deployment
Visit your new web app at https://MyUniqueWebAppName.azurewebsites.net to confirm it's running.
5. Next Steps
- Explore scaling options.
- Configure custom domains and SSL.
- Integrate with Azure DevOps for CI/CD.
- Read the full tutorials for deeper scenarios.