Getting Started With Azure: Free Account, Portal, Azure CLI, PowerShell, Cloud Shell and Cost Safety

Microsoft Azure Architect Technologies AZ 300 45 min min read Updated: Nov 17, 2026 Beginner
Getting Started With Azure: Free Account, Portal, Azure CLI, PowerShell, Cloud Shell and Cost Safety
Beginner Topic 3 of 3

Free Account

  • New customers can get free credit for a limited time, free services for 12 months and always-free services with limits
  • Offers change, so read the current terms on the Azure free account page
  • A credit card is used for identity checks. Learn how to stop spending before you begin
Set a budget first Create a budget with email alerts in Cost Management. A budget alerts you but does not stop resources by itself.

Setup Checklist

  1. Sign up for the Azure free account
  2. Turn on MFA for your account
  3. Open the Azure portal at portal.azure.com
  4. Note your subscription and tenant
  5. Create a budget with alerts at 50, 80 and 100 percent
  6. Open Cloud Shell (Bash or PowerShell)

Tools to Manage Azure

ToolUse
Azure portalBrowser UI to explore and create
**Azure CLI (az)**Cross-platform commands, great for scripts
Azure PowerShellPowerShell cmdlets such as New-AzVm
Cloud ShellBrowser terminal with CLI, PowerShell, Terraform and kubectl already signed in (needs a small storage account)
Bicep / ARM templates / TerraformInfrastructure as code
SDKs and REST APICall Azure from code
bash az login # opens a browser to sign in az account list --output table az account set --subscription "My Subscription" az account show --query "{name:name, id:id, tenant:tenantId}" az configure --defaults location=centralindia group=rg-demo az provider register --namespace Microsoft.Compute # some services need their provider registered az provider show --namespace Microsoft.Compute --query registrationState

A Budget From the CLI

bash az consumption budget create --budget-name monthly-10usd --amount 10 --category cost --time-grain monthly \ --start-date 2026-11-01 --end-date 2027-11-01

Use the portal (Cost Management, Budgets) to add email alert thresholds easily.

Your First Resources

bash az group create -n rg-demo -l centralindia az vm create -g rg-demo -n vm-demo --image Ubuntu2204 --size Standard_B1s --admin-username azureuser --generate-ssh-keys az vm show -g rg-demo -n vm-demo -d --query publicIps -o tsv az storage account create -g rg-demo -n stdemo$RANDOM --sku Standard_LRS --kind StorageV2 --allow-blob-public-access false az vm deallocate -g rg-demo -n vm-demo # stop compute billing az group delete -n rg-demo --yes --no-wait # delete everything
Stopped is not deallocated A VM that you only shut down inside the OS is still billed. Deallocate it from Azure to stop compute charges (disks still cost).

Good Habits From Day One

  • One resource group per app and environment so clean-up is one command
  • Use tags and clear names
  • Do not use shared passwords. Use SSH keys and Entra ID sign-in
  • Delete test resources the same day
  • Check Cost analysis every week while learning

Practice

  1. Create the free account and a 10 USD budget
  2. Install the CLI or use Cloud Shell and run az account show
  3. Create a resource group, a small VM and a storage account
  4. Deallocate the VM, then delete the resource group

Conclusion

Create a free account, set a budget, then use the portal, Cloud Shell or the CLI to create resources inside a resource group. Deallocate VMs, tag resources and delete tests quickly.

Quick Summary: free account; checklist; tools; budget; first resources; habits.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators