DEV Community

Cover image for Prepare basic set of Azure resources
Isaiah Izibili
Isaiah Izibili

Posted on • Edited on

Prepare basic set of Azure resources

Setup

The scenario for the project focuses on managing Microsoft Azure resources. You should already be familiar with tasks such as creating a virtual machine or virtual network. The Prepare exercise creates a basic set of Azure resources. The resources from the prepared exercise are used in the rest of the scenario.

During the setup, you create a virtual network, a virtual machine, a storage account, and associated resources.

Login to Microsoft Azure

  1. Login to Microsoft Azure at https://portal.azure.com

Login

Create a resource group

In order to make clean-up easy at the end, start with creating a new resource group to hold the resources for this guided project. Using resource groups to organize things is a quick way to ensure you can manage resources when a project is over.

  1. From the Azure portal home page, in the search box, enter resource groups.
  2. Select Resource groups under services.
    Resource group

  3. Select Create

create

  1. Enter guided-project-rg in the Resource group name field.
  2. The Region field will automatically populate. Leave the default value.
  3. Select Review + create.

Resource group

  1. Select Create.

Create

  1. Return to the home page of the Azure portal by selecting Home

Home

Create a virtual network with one subnet

  1. From the Azure portal home page, in the search box, enter virtual networks.
  2. Select virtual networks under services.

Virtual networks

3.Select Create.

create vn

4.Scroll down to the Instance details section and enter guided-project-vnet for the Virtual network name.
5.Select Review + create.

create VN

6.Select Create.

Select

7.Wait for the screen to refresh and show Your deployment is complete.

Deployment complete

  1. Select Home to return to the Azure portal home page.

Home

Create a virtual machine

  1. From the Azure portal home page, in the search box, enter virtual machines.
  2. Select virtual machines under services.

select virtual machine

  1. Select Create and then select Virtual machine

create vm

  1. Select guided-project-rg for the Resource group.
  2. Enter guided-project-vm for the Virtual machine name.

vm resources

  1. For the Image, select one of the Ubuntu Server options. (For example, Ubuntu Server 24.04 LTS - x64 Gen2)

create image

  1. Continue further on the Basics page to the Administrator account section.
  2. Select Password for authentication type.
  3. Enter guided-project-admin for the admin Username.
  4. Enter a password for the admin account.
  5. Confirm the password for the admin account.

vm details

  1. Leave the rest of the settings as default settings. You can review the settings if you like, but shouldn’t change any.
  2. Select Review + create.

Reveiw and create

  1. Select Create to confirm the resource cost and create the virtual machine.

deployment

  1. Select Home to return to the Azure portal home page.

Create a Storage account

  1. From the Azure portal home page, in the search box, enter storage accounts.
  2. Select Storage accounts under services

select storage account

  1. Select Create

select create

  1. Scroll down to the Instance details section and enter a name for the storage account. Storage accounts must be globally unique, so you may have to try a few different times to get a storage account name.
  2. Select Review + create.

Reveiw and create

  1. Select Create.

create

  1. Wait for the screen to refresh and show Your deployment is complete.
  2. Select Home to return to the Azure portal home page.

Deployed

Congratulations! You’ve completed the Prepare exercise.

Top comments (0)