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

CC File

Cloud Computing File IGDTUW
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views

CC File

Cloud Computing File IGDTUW
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 46

Indira Gandhi Delhi Technical University for

Women
(Established by Govt. of Delhi vide Act 09 of 2012)

Kashmere Gate, Delhi - 110006

PRACTICAL FILE

Cloud Computing(BAI-308)

Submitted to: Submitted by:

Prof. Neeraj Kohli Priya Sharma

Enrollment No: 00370102020

B. Tech CSE-AI (2020)


INDEX
S. No. Name of Experiment Sign

1 How to install guest operating system Ubuntu on VMware

2 Share folders and files between guest OS and host OS

3 Install Cloudsim JDK and NetBeans/VSCode

4 Study Cloudsim and run sample examples

5 Create multiple virtual machines and multiple cloudlets

6 Illustrate the steps to create an account on public cloud like AWS

Create an S3 Bucket in AWS and Illustrate the concept of


7
versioning, security and public accessibility

8 Create and launch an EC2 windows instance


Experiment – 1

Aim: How to install guest operating system Ubuntu on VMware

Procedure:
1. Download VMWare Fusion for M1 Mac from
https://customerconnect.vmware.com/evalcenter?p=fusion-player-
personal-13
2. Login to generate key
3. Install VMWare Fusion by following on-screen instructions.

4. Enter the license generated in step 2.

5. Download Ubuntu disk image from


https://cdimage.ubuntu.com/releases/20.04/release/ and install it on
VMWare by using the Install from disk or image option.
6. Install Ubuntu OS by following on-screen instructions
Output:
*******
Experiment – 2

Aim: Share folders and files between guest OS and host OS

Procedure:
1. Install VMWare tools from Virtual Machines Menu in VMWare Fusion

2. Turn on File Sharing on Host OS (MacOS) and add folder that needs to
be shared.
3. Open “Other Locations” in file manager in GuestOS.
4. Open Host Device folder. You will find the shared folders here.

Output:

*******
Experiment – 3

Aim: Install Cloudsim JDK and NetBeans/VSCode


Procedure:
1. Install Homebrew, a popular package manager for macOS, by running the
following command in your Terminal:
/bin/bash -c "$(curl -fsSL
https://raw.githubusercontent.com/Homebrew/install/HE
AD/install.sh)"
2. Install Java by running the following command in your Terminal:
brew install openjdk
3. Download CloudSim from the official website
(http://www.cloudbus.org/cloudsim/) and extract the zip file.
4. Open the Terminal and navigate to the CloudSim directory using the cd
command.
5. Compile CloudSim by running the following command in your Terminal:
./bin/ant -f build.xml
6. You can now run CloudSim by executing the following command:
./bin/cloudsim
Output:
*******
Experiment – 4

Aim: Study Cloudsim and run sample examples

Procedure:
1. Download NetBeans and Install it.
2. Download CloudSim and unzip it.
3. Once Netbeans IDE is installed, start creating a new Project via File > New
Project. Choose “Java” under Categories and “Java Application” under Projects.

Name your project and click “Finish” button.


On the left sidebar, right click on the project and select “Properties” as shown
below:

In the properties dialog, select “Libraries” and click on “Add Library” button at
the right. In the “Add Library” dialog, select cloudsim jar file (will be located in
jars folder) downloaded in step 2. Now you can drag and drop example
programs
(under examples/org/cloudbus/cloudsim) from the CloudSim directory into your
application.
Expand org.cloudbus.cloudsim.examples folder to find all example programs.
Select your desired example and start running the simulation. The output will be
displayed at the bottom pane as shown below:

*******
Experiment – 5

Aim: Create multiple virtual machines and multiple cloudlets

Procedure:
1. Install CloudSim: Download and install the latest version of CloudSim
from the official website (http://www.cloudbus.org/cloudsim/). Extract
the files and import the CloudSim jar file into your Java project.

2. Create a datacenter: Create a datacenter object that represents a cloud


datacenter. Set the characteristics of the datacenter such as the number of
hosts, processing capacity, and storage capacity.
3. Create virtual machines: Create multiple virtual machine objects using
the CloudletScheduler object. Set the hardware specifications of each
virtual machine such as the number of CPUs, amount of memory, and
amount of storage.
4. Create cloudlets: Create multiple cloudlet objects that represent tasks that
can be executed on the virtual machines. Set the length of each cloudlet
and the amount of data to be transferred.

5. Create a broker: Create a broker object that will manage the allocation of
cloudlets to virtual machines. Add the cloudlet objects to the broker.
6. Submit cloudlets: Submit the cloudlets to the broker. The broker will
allocate the cloudlets to virtual machines based on the scheduling
algorithm used.
7. Run simulation: Run the simulation and monitor the behavior of the
virtual machines and cloudlets. Collect and analyze the performance
metrics such as response time, execution time, and throughput.

Output:
*******
Experiment – 6

Aim: Illustrate the steps to create an account on public cloud


like AWS

Procedure:

Create an account on https://portal.aws.amazon.com/billing signup#/start/email


Output:

*******
Experiment – 7

Aim: Create an S3 Bucket in AWS and Illustrate the concept


of versioning, security and public accessibility

Procedure:
Open AWS Console

Open S3 Console

Click on “Create Bucket” and fill necessary details


Open the bucket to upload objects
Make the object public by creating access point
Output:

*******
Experiment – 8

Aim: Create and launch an EC2 windows instance

Procedure:
Open the EC2 console on AWS and click on “Launch Instance”.
Output:

*******

You might also like