IVCC Lab Assignment
IVCC Lab Assignment
Virtualization and
Cloud Computing
Laboratory
Step 2: Click on Machine. From the drop-down menu, click on new. Alternatively, press
CTRL+N.
Step 3: In the new window, enter the name of the virtual machine, select the installation
path for the virtual machine, select the type of operating system and finally, select the
operating system and then click on next.
Step 4: In the next window, allocate the amount of RAM you want the virtual machine to
use. The RAM must be allocated in megabyte units. Either use the slider or write the size
manually. After you’re done, click on next.
Step 5: The next window concerns itself with the hard disk for the virtual machine. You can
choose to not create a virtual hard disk, use an existing one. If none of the options sound
viable, click on create a virtual hard disk now and click next.
Step 6: Select the hard disk file type in the next window. For now, we’re using VDI
(VirtualBox Disk Image). Click on the radio button that says VDI and then click next.
Step 7: In the next window, it will ask you to choose what type of allocation do you want for
your virtual hard disk, you can choose dynamic which is faster creation but can slow up your
machine or you can choose fixed size which has a slower creation but retains speed during
operation. For now, click on fixed size and click next.
Step 8: In the next window, type the name for the virtual hard disk and click on the folder
icon to change the location of storage of the virtual hard disk. Below the name section, you
can find a slider to define the size of the virtual hard disk. Use the slider or enter the size
manually in gigabyte units. We will select 10GB for our virtual hard disk and click on next.
Step 9: Wait for the creation of the virtual hard disk.
Step 10: Virtual machine is now created, double click on the name to turn it on.
Step 11: After the virtual machine powers on, you must select the disk image for the
operating system that you selected in step 3. The disk image must be an image file
(Example: ISO). Click on the folder icon, browse to it and click on start.
Step 12: Proceed with the installation of the operating system on the virtual machine and
you’re done.
2. Creating a virtual machine in Amazon Web Services
Step 1: Login to AWS or AWS Educate
Step 5: Choose an instance type; select the amount of RAM and processors. For now, let’s
go with 1 GB RAM and 1 Processing core. Then click on next.
Step 6: Configure the instance details. Here you can allow GPU acceleration in your virtual
machine and even create multiple instances with the same specifications. We shall not
adopt the GPU acceleration and we’ll keep the instances to one and click on next.
Step 7: Choose the storage options. Here you can select the type of storage and adjust the
size of the storage. We’ll keep the default settings and click next.
Step 8: You can add tags here. However, in this case, we will simply not make any changes
here and click on next.
Step 9: Configure the security group here. We will leave the settings as is and click on
review.
Step 10: Here you can review all the settings that you’ve chosen for your virtual machine.
After you’re done reviewing, click on launch.
Step 11: After clicking on launch, you need to select an existing key pair or make a new one.
Let’s make a new one by clicking the drop-down menu and selecting ‘Create a new key pair’.
Then we name the keypair and download it. Then we click on launch instances.
Step 12: On the launch status window, we’re notified that our instance is running. Scroll
down to view your active instances.
Step 13: Here, you can see your active instances. Our newly created instance is running but
not ready to be connected as the status check says that it’s initializing. We wait for the
status checks to be complete before we launch the instance.
Step 14: After the status checks are complete, we select the instance and click on connect.
Step 15: Here, click on the ‘download remote desktop file’ to download the RDP file that will
be used to connect to the instance. The instance will be password locked. To get the
password, click on ‘get password’.
Step 16: After clicking on ‘get password’ you will be prompted to upload the keypair that
you saved back in step 11. Do so, to generate the password required for the instance and
click on decrypt password and copy it.
Step 17: Now run the RDP file that you downloaded in step 15 and enter the password that
you copied when prompted to.
Step 18: The virtual machine has been created and launched. You are now free to use your
virtual machine as you see fit.
3. Testing the different network modes in
VirtualBox/VM Ware
Step 1: Open Virtual Box/VM Ware
Step 5: Now turn on two different virtual machines with any OS installed.
Step 6: Open the terminal and write ‘ping ipaddress’ in place of the IP address. Write either
the other VM’s IP or the host’s IP.
Step 7: The following results are found: