0% found this document useful (0 votes)
9 views

Lab12 - Understanding features of Unmanaged disks - Azure

Uploaded by

raj0000kaml
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Lab12 - Understanding features of Unmanaged disks - Azure

Uploaded by

raj0000kaml
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 83

Cloud Computing - Azure

Lab12– Understanding features of unmanaged disks - Azure

Unmanaged disks

Unmanaged disks are the traditional type of disks that have been used by VMs. With
these disks, you create your own storage account and specify that storage account when
you create the disk. Make sure you don't put too many disks in the same storage
account, because you could exceed the scalability targets of the storage account (20,000
IOPS, for example), resulting in the VMs being throttled. With unmanaged disks, you
have to figure out how to maximize the use of one or more storage accounts to get the
best performance out of your VMs.

Page 1 of 83
Cloud Computing - Azure

Topology

Page 2 of 83
Cloud Computing - Azure

Back-End of Storage

Page 3 of 83
Cloud Computing - Azure

In Azure portal, click “Resource groups” in left side panel.

Page 4 of 83
Cloud Computing - Azure

Click “Add”.

Page 5 of 83
Cloud Computing - Azure

While create “Resource group”, type “Resource group name” as “SansboundAzureClass”.

Select “Subscription” as “Free Trial”.

Select “Resource group location” as “South India”.

Page 6 of 83
Cloud Computing - Azure

Click “Create”.

Page 7 of 83
Cloud Computing - Azure

Click “Virtual networks” in left side panel.

Page 8 of 83
Cloud Computing - Azure

In “Virtual networks”, click “Add”.

Page 9 of 83
Cloud Computing - Azure

Type “Virtual network name” as “SANS-VNET”.

Type “Address range” as 10.0.0.0/16

Select “Subscription” as “Free Trial”.

Select “Resource Group” as “SansboundAzureClass”.

Select “Location” as “South India”.

In “Subnet” type “Subnet name” as “Front-EndSubnet”

Type “Address range” as 10.0.1.0/24.

Page 10 of 83
Cloud Computing - Azure

Click “Create”.

Page 11 of 83
Cloud Computing - Azure

Click “Virtual machines”.

Page 12 of 83
Cloud Computing - Azure

Click “Add”.

Page 13 of 83
Cloud Computing - Azure

While create a virtual machine,

Type “Virtual machine” name as “WindowsVM-Azure”.

Select “Region” as “South India”.

Select “Image” as “Windows Server 2008 R2”.

Change “VM Size” as “Standard B1s”.

Page 14 of 83
Cloud Computing - Azure

In “Administrator Account”

In “Username” type “sansbound”, and type password as per your wish.

Page 15 of 83
Cloud Computing - Azure

In “Save Money”.

Click “Yes” for Already have a Windows license.

Need to check “Confirmation” box.

Page 16 of 83
Cloud Computing - Azure

Click “Next : Disks >”.

Page 17 of 83
Cloud Computing - Azure

In “Disks”.

Select “OS disk type” as “Standard HDD”.

Expand “Advanced”.

Set Use managed disks as “No”.

Leave Storage account as default.

Page 18 of 83
Cloud Computing - Azure

Click “Next : Networking”.

Page 19 of 83
Cloud Computing - Azure

In “Networking”.

Ensure the highlighted options as below.

Page 20 of 83
Cloud Computing - Azure

In “Management”.

Click “Next : Guest config>”.

Page 21 of 83
Cloud Computing - Azure

In “Guest config”.

Click “Next : Tags >”.

Page 22 of 83
Cloud Computing - Azure

In “Tags”.

Click “Next : Review + create”.

Page 23 of 83
Cloud Computing - Azure

Click “Create”.

Page 24 of 83
Cloud Computing - Azure

In “All resources”.

Click “sansboundazureclassdisks”.

Page 25 of 83
Cloud Computing - Azure

Click “Blobs”.

Page 26 of 83
Cloud Computing - Azure

Click “vhds”.

Page 27 of 83
Cloud Computing - Azure

In “vhds”

You are able to see “WindowsVM-Azure*.vhd” which contains operating system.

Page 28 of 83
Cloud Computing - Azure

Now I have required to create one *.vhd file in my local machine.

In your local machine, type “diskmgmt.msc” in “Run” box and press “Enter”.

In “Disk management”, Action  click “Create VHD”.

Page 29 of 83
Cloud Computing - Azure

In “Create and Attach Virtual Hard Disk”.

Specify the “Virtual hard disk size” as “30 MB”.

Ensure hard disk format as “VHD”.

Note: Because, as of now Azure will support only for .vhd file.

Page 30 of 83
Cloud Computing - Azure

Click “Browse” to locate store the vhd file.

Page 31 of 83
Cloud Computing - Azure

Type file name as “Migration” as file name and click “Save”.

Page 32 of 83
Cloud Computing - Azure

Click “Ok”.

Page 33 of 83
Cloud Computing - Azure

In “Disk 1” right click “Initialize Disk”.

Page 34 of 83
Cloud Computing - Azure

While “Initialize Disk”, ensure that “MBR” is selected.

Click “Ok”.

Page 35 of 83
Cloud Computing - Azure

Select “unallocated” partition and right click it.

Click “New Simple Volume”.

Page 36 of 83
Cloud Computing - Azure

Click “Next”.

Page 37 of 83
Cloud Computing - Azure

Click “Next”.

Page 38 of 83
Cloud Computing - Azure

Click “Next”.

Page 39 of 83
Cloud Computing - Azure

In “Volume label” type “Data-To-Azure”.

Click “Next”.

Page 40 of 83
Cloud Computing - Azure

Click “Finish”.

Page 41 of 83
Cloud Computing - Azure

I have successfully mounted *.vhd file as volume.

Page 42 of 83
Cloud Computing - Azure

In “Data-To-Azure”.

Page 43 of 83
Cloud Computing - Azure

Create files / copy files which you have required to upload to Azure.

Page 44 of 83
Cloud Computing - Azure

Now we have required to detach the VHD file from local machine.

In local machine, “Disk management”.

Click “Disk 1” and right click it, then click “Detach VHD”.

Page 45 of 83
Cloud Computing - Azure

Click “Ok” to Detach Virtual Hard disk.

Page 46 of 83
Cloud Computing - Azure

Ensure that vhd has been detached successfully.

Page 47 of 83
Cloud Computing - Azure

Go to the path where you have stored the “migration.vhd” file.

You are able to see the Migration.vhd file.

Page 48 of 83
Cloud Computing - Azure

In Azure portal, click “Storage accounts”.

Page 49 of 83
Cloud Computing - Azure

You are able to see the storage which you have created earlier.

Click on storage account named “sansboundazureclassdisks”.

Page 50 of 83
Cloud Computing - Azure

In “sansboundazureclassdisks”,

Click “Blobs”.

Page 51 of 83
Cloud Computing - Azure

In “Blobs”, you are able to see the container named “vhds”.

Click “vhds”.

Page 52 of 83
Cloud Computing - Azure

Click “Upload”.

Page 53 of 83
Cloud Computing - Azure

Click “Files” icon to browse the file.

Page 54 of 83
Cloud Computing - Azure

Locate the path of vhd file, and select “Migration.vhd” which you have created in your local machine.

Click “Open”.

Page 55 of 83
Cloud Computing - Azure

Ensure that selected Files as “Migration.vhd”.

Click “Upload”.

Page 56 of 83
Cloud Computing - Azure

You have successfully uploaded the “Migration.vhd” file to Azure Blob storage.

Page 57 of 83
Cloud Computing - Azure

In “Migration.vhd” ensure the Size as “30 MB”.

Page 58 of 83
Cloud Computing - Azure

Click “Virtual machines” in left side panel.

Page 59 of 83
Cloud Computing - Azure

In “Virtual machines”,

Click “WindowsVM-Azure”.

Page 60 of 83
Cloud Computing - Azure

Now we have required to attach the blob storage in existing virtual machine.

In “WindowsVM-Azure”.

Click “Disks”.

Page 61 of 83
Cloud Computing - Azure

In “WindowsVM-Azure – Disks”.

Click “Add data disk”.

Page 62 of 83
Cloud Computing - Azure

In “Attach unmanaged disk”

Type disk “Name” as “Migration”.

Select “Source Type” as “Existing blob”.

Page 63 of 83
Cloud Computing - Azure

Click “Browse”.

Page 64 of 83
Cloud Computing - Azure

Click the “Storage accounts” which you are going to use.

Page 65 of 83
Cloud Computing - Azure

Click “vhds”.

Page 66 of 83
Cloud Computing - Azure

Select “Migration.vhd” and click “Select”.

Page 67 of 83
Cloud Computing - Azure

Click “Ok”.

Page 68 of 83
Cloud Computing - Azure

Click “Save”.

Page 69 of 83
Cloud Computing - Azure

In “Disks”,

You are able to see OS disk and Data disks.

Page 70 of 83
Cloud Computing - Azure

Click “Networking”.

Page 71 of 83
Cloud Computing - Azure

In “Networking”.

Kindly note the Public IP address to connect windows Server 2008 R2 through RDP.

Page 72 of 83
Cloud Computing - Azure

In your local machine,

Type “mstsc” in “Run” box and press “Enter”.

Type Public IP address of the windows server.

Click “Connect”.

Page 73 of 83
Cloud Computing - Azure

Type “username” as sansbound

Type “Password” of Windows server 2008 R2.

Click “Ok”.

Page 74 of 83
Cloud Computing - Azure

Click “Yes”.

Page 75 of 83
Cloud Computing - Azure

You have successfully logged on to Windows Server 2008 R2.

Type “diskmgmt.msc” in Run box and press “Enter”.

Page 76 of 83
Cloud Computing - Azure

In “Disk management” you are able to see that vhd file which you have uploaded in Blob has been
attached to this virtual machine successfully in “F” drive.

Page 77 of 83
Cloud Computing - Azure

Open “F” drive in explorer.

Open the text file / document which you have uploaded from On premises / local machine.

Page 78 of 83
Cloud Computing - Azure

If you have required to attach the Migration.vhd in another machine, you must required to detach
from the existing virtual machine.

In “WindowsVM-Azure – Disks”.

Click on “Data disk” named “Migration”.

Page 79 of 83
Cloud Computing - Azure

Click “Edit”.

Page 80 of 83
Cloud Computing - Azure

In “Data disks”

You are able to see new option, that is “Detach”.

Click the highlighted icon to “Detach” the migration.vhd from this virtual machine.

Page 81 of 83
Cloud Computing - Azure

Click “Save” to apply the changes.

Page 82 of 83
Cloud Computing - Azure

You have successfully detached migration.vhd from WindowsVM-Azure.

Note: If you have required to attach migrate.vhd to another virtual machine, you can create the virtual
machine and attach it.

Page 83 of 83

You might also like