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

Cloud Computing Ex 5 Savita

The document outlines the procedure to attach a virtual block to a created virtual machine in a cloud environment using Eucalyptus. It details steps for creating and attaching a volume, including naming the volume, selecting size, and availability zone. The result confirms successful creation and attachment of the virtual block to the virtual machine.

Uploaded by

Santhosh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

Cloud Computing Ex 5 Savita

The document outlines the procedure to attach a virtual block to a created virtual machine in a cloud environment using Eucalyptus. It details steps for creating and attaching a volume, including naming the volume, selecting size, and availability zone. The result confirms successful creation and attachment of the virtual block to the virtual machine.

Uploaded by

Santhosh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

CS22612 - CLOUD COMPUTING LABORATORY

EXP.NO: 5​ ATTACH A VIRTUAL BLOCK TO THE CREATED VIRTUAL MACHINE

DATE:

AIM:
To attach a virtual block to the created virtual machine in the developed cloud environment.

PROCEDURE:

STEP 1:

●​ To create and attach the volume in the instance,go to “Instance” in the Eucalyptus.
●​ There will be two options in “Instance”.”Launch new instance” and “More actions”.
●​ If you click “More actions”,it will show multiple options.
●​ Choose the “Attach volume” option.

STEP 2:
●​ It will open a new page to “attach the new volume to instance”.
●​ It will have two options: “Launch Instance” and “Create volume”.
●​ Choose the “Create Volume” option.

Reg.No:2127220501133 ​ Page.No:
STEP 3:
●​ A New dialog box will appear in the Eucalyptus to create a new volume.
●​ In the General option, Name the volume as “vm1”.
●​ Choose for “Create from Snapshot?” option as “None”.
●​ Give the volume size for the virtual block as “2”.The volume size will be taken in GB.
●​ Choose “CLUSTER01” from the Availability zone options.
●​ Click “create volume” to create a new volume in storage in the instance.

STEP 4:
●​ There is also another way to create and attach a virtual block. In this way,go to “Storage”.
●​ The virtual blocks are created and stored as “volume”.
●​ create a virtual block by clicking “Create new volume”.

Reg.No:2127220501133 ​ Page.No:
STEP 5:
●​ A New dialog box will appear in the Eucalyptus to create a new volume.
●​ In the General option, Name the volume as “vol1”.
●​ Choose for “Create from Snapshot?” option as “None”.
●​ Give the volume size for the virtual block as “2”.The volume size will be taken in GB.
●​ Choose “CLUSTER01” from the Availability zone options.
●​ Click “create volume” to create a new volume in storage.

●​ A new virtual block will be created as volume in the storage

STEP 6:
●​ Open a new Terminal.

●​ Type the following:


1.​ cd Downloads.
2.​ ls (This lists all the files from the downloads).
3.​ chmod 400 svce.pem.
4.​ ssh -i [email protected]
5.​ lsblk

Reg.No:2127220501133 ​ Page.No:
SAMPLE INPUT AND OUTPUT:

RESULT:
​ Thus the new virtual block is created and attached in the created virtual machine the cloud
environment is executed and the output is verified successfully.

Reg.No:2127220501133 ​ Page.No:

You might also like