Day 1 of 5
⏱ ~60 minutes
Azure in 5 Days — Day 1

Azure Portal and Resource Groups

Create a free Azure account, understand subscriptions and resource groups, install the Azure CLI, and deploy your first resource.

Azure Resource Model

Everything in Azure lives inside a Resource Group — a logical container for related resources. Put a web app, its database, and its storage in one group. Delete the group when done and everything goes with it.

Azure CLI Setup
# Install: aka.ms/installazurecliwindows (or brew install azure-cli on Mac)
az login
az account list
az account set --subscription 'Your Subscription Name'

# Create a resource group
az group create --name myapp-rg --location eastus

# List resources in a group
az resource list --resource-group myapp-rg --output table
💡
Use resource groups per environment: myapp-dev-rg, myapp-prod-rg. Delete the dev group on Friday to avoid weekend charges. Create a fresh one Monday.
📝 Day 1 Exercise
Set Up Your Azure Environment
  1. C
  2. r
  3. e
  4. a
  5. t
  6. e
  7. a
  8. f
  9. r
  10. e
  11. e
  12. A
  13. z
  14. u
  15. r
  16. e
  17. a
  18. c
  19. c
  20. o
  21. u
  22. n
  23. t
  24. ,
  25. i
  26. n
  27. s
  28. t
  29. a
  30. l
  31. l
  32. t
  33. h
  34. e
  35. C
  36. L
  37. I
  38. ,
  39. a
  40. u
  41. t
  42. h
  43. e
  44. n
  45. t
  46. i
  47. c
  48. a
  49. t
  50. e
  51. ,
  52. c
  53. r
  54. e
  55. a
  56. t
  57. e
  58. a
  59. r
  60. e
  61. s
  62. o
  63. u
  64. r
  65. c
  66. e
  67. g
  68. r
  69. o
  70. u
  71. p
  72. ,
  73. a
  74. n
  75. d
  76. d
  77. e
  78. p
  79. l
  80. o
  81. y
  82. a
  83. s
  84. i
  85. m
  86. p
  87. l
  88. e
  89. s
  90. t
  91. a
  92. t
  93. i
  94. c
  95. w
  96. e
  97. b
  98. a
  99. p
  100. p
  101. t
  102. o
  103. A
  104. z
  105. u
  106. r
  107. e
  108. S
  109. t
  110. a
  111. t
  112. i
  113. c
  114. W
  115. e
  116. b
  117. A
  118. p
  119. p
  120. s
  121. .

Day 1 Summary

  • Resource groups are containers. Everything lives in one. Delete the group = delete everything in it.
  • az loginaz account setaz group create. Three commands to get oriented.
  • Regions matter for latency and compliance. Pick the one closest to your users.
  • Azure free tier includes $200 credit for 30 days + always-free tier for many services.
Finished this lesson?