š Setting Up Your Azure Environment: A Step-by-Step Walkthrough
Source: Dev.to
Introduction
Getting handsāon experience in cloud computing often starts with a proper setup ā especially when using Azure. Before you deploy virtual machines or manage storage, itās important to create a clean, organized environment thatās easy to manage and clean up.
These steps walk you through preparing your Azure environment: creating a resource group, virtual network, virtual machine, and storage account. This base setup is ideal for learning Azure, experimenting with cloud workloads, or following a guided lab or certification path.
- If you donāt already have an Azure account, sign up for a free account.
- If you do, log in at the Azure Portal.
A resource group lets you keep related resources together, making management and cleanup much easier.
Create a Resource Group
- In the portal search bar, type āResource groupsā and select it.
- Click Create.
- Fill in the details:
- Resource group name ā e.g.,
guided-project-rg - Region ā leave the default or choose as needed
- Resource group name ā e.g.,
- Click Review + create, then Create.
Create a Virtual Network (VNet)
- In the portal search bar, type āVirtual networksā and select it.
- Click Create.
- Under Instance details:
- Name ā e.g.,
guided-project-vnet - Ensure the correct subscription and the resource group you just created are selected.
- Use default settings for subnet and region unless you have custom requirements.
- Name ā e.g.,
- Click Review + create, then Create.
Create a Virtual Machine (VM)
- In the portal search bar, type āVirtual machinesā and select it.
- Click Create ā Virtual machine.
- Configure the VM:
- Resource group ā
guided-project-rg - VM name ā e.g.,
guided-project-vm - Image ā choose an Ubuntu Server version (e.g., Ubuntu Server 24.04 LTS) for a Linux lab, or Windows if preferred.
- Authentication type ā Password (or SSH if preferred)
- Admin username ā e.g.,
guided-project-admin - Password ā set a secure password.
- Resource group ā
- Leave other fields at their defaults, then click Review + create and Create.
Create a Storage Account
- In the portal search bar, type āStorage accountsā and select it.
- Click Create.
- Ensure the subscription and resource group are set to your project group.
- Provide a globally unique name for the storage account (you may need to try a few variations).
- Click Review + create, then Create.
Summary
After completing these steps, your Azure environment includes:
- A dedicated Resource Group for isolation and cleanup.
- A Virtual Network (VNet) for network isolation.
- A Virtual Machine (VM) ready for compute workloads.
- A Storage Account for persistent storage needs.
Starting any cloud project without a clean, organized environment often leads to resource sprawl and management headaches. By setting up a dedicated resource group, virtual network, VM, and storage account from the start, you ensure that your resources are easy to manage, scale, and clean up when needed. This preparation step is fundamental whether youāre practicing, experimenting, or following a learning path.