Navigate to the azure portal; to achieve this, go to portal.azure.com and sign in.

Image description

On the azure opening page, Select " virtual machines". If you a VM already, you can use it or create a new VM.
To create a new VM, select Virtual machine, Create, azure virtual machine

Image description

On the azure portal,

  1. Azure subscription is at default
  2. Create a new rg
  3. give the VM a name
  4. select region
  5. under availability options, select "no infrastructure redundancy required"
  6. under security type, select "standard"
  7. under image, choose a windows based on your computing demand" the VM architecture should remain at default

Image description

keep scrolling down

  1. under size, select based on your computing demand
  2. create the admin account; a) username b) password and confirm the password
  3. under public inbound ports, allow it at default "allow selected ports" Let the select inbound ports be at default "RDP (3389)

Image description

Tick licensing and move to the next bar 'under disc'
Under disc

  1. OS disk size: choose based on computing demand
  2. OS disk type: select premium or standard SSD
  3. Under delete with VM: tick based on demand
  4. Under key management: Leave at default platform "managed key"
  5. Under enable ultra disk compatibility: leave at default Then review and create

Image description

After reviewing and creating, wait for validation to be successful then click on "create"

Image description

Deployment in progress

Image description

When the deployment is complete, click on "go to resource"

Image description

On resource, click on 'create' then 'create'

Image description

Image description

STEP 2 OF ATTACHING DISC

Go to hagital-vm home page, search for disc and select it

Image description

Image description

STEP 3 OF ATTACHING DISC
Go to the search bar, type disk, open in a new tab

Image description

Give a name to the disc created

  • select the storage size based on computing demand (standard SSD)
  • disc size : 64
  • host caching : read/write then click on "apply"

Image description

When the disk is successfully created, the disk name will appear as shown

Image description

Go to overview page, click on 'connect', then 'connect'
click on 'download the RDP file'

Image description

After the download, click on 'connect'

Image description

When it is opened, input your password

Image description

After inputting your password, click on yes

Image description

My VM is running

Image description

From file explorer, go to this computer

Image description

Go to windows icon, at the bottom right of your screen and right click, go to disk management

Image description

Click yes, Right click on the black space, then yes. Configure it to the end, give the disk a name (letter)

Image description

I am naming my disk 'I', give the disk a name

Image description

Then click on 'finish'

Image description

Close it, go to file explorer, my disk is successfully attached

Image description

I can copy files and save in my attached disk...

CREATING A CUSTOM IMAGE ON AN EXISTING VM CREATED

Go to overview page on your azure portal. click on stop

Image description

Click on 'capture', then image

Image description

Allow other settings at default, click on 'target azure compute gallery'

Image description

Continue filling in the required spaces

Image description

Continue filling and allow some boxes at default

Image description

Validation has passed, then click on 'create'

Image description

Deployment is successful, click on 'go to resource'

Image description

Click on 'go to resource'

Image description

A new VM can be created here, click on 'create'

Image description

Keep scrolling down to fill-in the necessary information

Image description

Keep scrolling down

Image description

Go to 'Next:disk' option, Networking and Management options should be at default, click on 'review and create'

Image description

Validation passed, click on 'create'. Deployment in progress

Image description

Deployment is complete, click on 'go to resource'

Image description

click on 'connect' then connect

Image description

It is showing a new IP address

Image description

Click on 'download RDP file', open the download, click on 'connect'

Image description

Enter your username, password then click 'OK'

Image description

Click on 'Yes'

Image description

A new window is created

Image description

Click on 'file explorer', then 'this PC'. It opens with my datadisk I earlier attached

Image description