0% found this document useful (0 votes)
42 views7 pages

Exercise 1 -Installation of Cloudsim

The document outlines the installation process for CloudSim, a simulation toolkit for cloud computing research. It describes the basic components of CloudSim, including the Cloud Information System, Data Center, Virtual Machine, Cloudlet, Resource Allocation, Broker, and CloudSim Core. Additionally, it details features of CloudSim and provides a step-by-step algorithm for setting up the CloudSim environment using Eclipse IDE.

Uploaded by

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

Exercise 1 -Installation of Cloudsim

The document outlines the installation process for CloudSim, a simulation toolkit for cloud computing research. It describes the basic components of CloudSim, including the Cloud Information System, Data Center, Virtual Machine, Cloudlet, Resource Allocation, Broker, and CloudSim Core. Additionally, it details features of CloudSim and provides a step-by-step algorithm for setting up the CloudSim environment using Eclipse IDE.

Uploaded by

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

21CSC316J - Cloud Architecture and Protocols - Lab

Exercise 1
Installation of Cloud Simulation

Aim
To install Cloudsim, simulation tool in the system.

Description
CloudSim is a simulation toolkit for cloud computing research. It provides a platform to model
and simulate the behavior of cloud-based infrastructures and applications.
Basic Components of CloudSim

1.Cloud Information System:


This component models the Cloud Infrastructure. It simulates resources like data centers, hosts,
virtual machines (VMs), and storage systems.
It is responsible for creating and managing cloud entities, including data centers and VMs, as
well as managing cloudlet execution.

2. Data Center:
A Data Center is a physical or virtual entity that represents the actual cloud provider's
infrastructure.
It consists of several hosts, which can be either physical machines or virtualized environments,
and includes components like CPU, memory, storage, and network capabilities.
CloudSim supports modeling heterogeneous data centers, meaning different hardware
configurations can be simulated.

3.Virtual Machine (VM):


A VM represents the computational resource in CloudSim. It is hosted within a data center and
executes cloudlets.
VMs can be modeled with specific characteristics like CPU, memory, and bandwidth. CloudSim
also simulates the scheduling and management of VMs.

4.Cloudlet:
A Cloudlet is a task or a piece of work that needs to be executed in the cloud, often representing
a user request or workload.
Cloudlets in CloudSim include parameters like processing time, input/output requirements, and
the amount of computational power required.
5.Resource Allocation:
CloudSim provides various mechanisms for simulating resource allocation. It supports different
scheduling policies and strategies for managing resource provisioning for cloudlets and VMs.
It includes algorithms for task scheduling, load balancing, and resource management based on
VM capabilities, load, and other performance metrics.

6.Broker:
A Broker is an entity that serves as an interface between the cloud users and the cloud resources.
It is responsible for submitting cloudlets to virtual machines in the data centers.
Brokers also make decisions regarding the placement of VMs, load balancing, and task
distribution based on resource availability.

7.CloudSim Core:
The Core module of CloudSim provides basic functionalities like a simulation engine, event
handling, and time management. It is designed to manage the events related to the cloud entities
and keep track of execution time.
The simulation engine is responsible for the execution cycle of the simulation and handles the
flow of events, ensuring correct ordering and timing.

Features of CloudSim

Resource Pooling:
TCloud computing resources, such as storage, processing, memory, and network bandwidth,
are pooled to serve multiple users using a multi-tenant model. This pooling enables providers
to allocate and reallocate resources dynamically based on consumer demand. Users share
resources, but data isolation ensures privacy and security.

On-Demand Self-Service:
Users can provision computing resources as needed without human intervention from the
service provider. This allows consumers to obtain and manage services like storage and
processing power through a web-based interface or an API, providing high convenience and
autonomy.

Easy Maintenance:
The service provider maintains cloud systems and includes regular updates, patches, and
troubleshooting. This ensures that the infrastructure is up-to-date, stable, and secure. Cloud
services often have minimal downtime due to advanced monitoring and maintenance
practices.

Scalability and Rapid Elasticity:


Cloud computing provides the ability to scale resources up or down quickly, matching the
changing needs of users. Elasticity allows services to expand or shrink automatically to
handle varying workloads efficiently, ensuring performance and cost-effectiveness.

Economical:
Cloud computing reduces the need for significant capital expenses by eliminating the cost of
purchasing and maintaining physical hardware. Users pay for only the resources they use
(pay-as-you-go model), making it cost-effective for businesses of all sizes.

Measured and Reporting Service:


Cloud providers offer metered usage that tracks resource consumption. This measured service
allows users to monitor and optimize their usage to manage costs effectively. Reporting tools
provide transparency, which helps in resource management and financial planning.

Security:
Cloud service providers invest heavily in security measures, including data encryption, access
control, and authentication mechanisms. Data is protected through built-in redundancy,
firewalls, and regular security updates, ensuring that user information remains confidential
and secure.

Automation:
Automation in cloud computing allows tasks such as scaling, updates, and management
processes to be carried out automatically. This reduces the need for manual intervention,
improving efficiency and reliability, and minimizing the chance of human error.

Resilience:
Cloud services are designed to be resilient, providing high availability and business
continuity. This means that, even if a part of the cloud infrastructure fails, the system can
continue to operate without interruptions. Redundancy and failover mechanisms are in place
to minimize downtime and data loss.

Large Network Access:


Cloud services are accessible over a network, allowing users to access resources through
standard internet protocols from a wide range of devices, such as laptops, smartphones, and
tablets. This ensures broad accessibility and enhances the flexibility of work environments.

How to create a Cloud Environment


Description:
To create a cloud environment using CloudSim in cloud computing, you need to follow a few
steps to model cloud resources such as Data Centers, Hosts (VMs), and Cloudlets (tasks).
CloudSim is a simulation framework that allows modeling, simulating, and evaluating cloud
computing systems.

Algorithm
Step 1: Install Clousim 3.0.3
a. Go to the page : Releases · Cloudslab/cloudsim
b. Go the Page cloudsim 3.0.3 : Release cloudsim-3.0.3 · Cloudslab/cloudsim · GitHub

c. Download clousim 3.0.3.zip


d. Create a folder “Cloudsimsetup” in the desktop and copy the downloaded file in the
desktop

Step 2: Install Eclipse IDE for Java Developers


a. Go to the page : https://www.eclipse.org/downloads/packages/
b. Check the system type - Go to Settings in your Computer -> Device Specifications ->
System Type (eg. 64-bit operating system, x64-based processor)
c. Download the Eclipse IDE for Java Developers - 32 bit/ 64 bit(based on the System
Type) for Windows

d. Copy the downloaded file in the desktop folder “Cloudsimsetup”


Step 3 : Extract both the Clousim and Eclipse in the same desktop folder “Cloudsimsetup”

Step 3 : Install Commons-Math-3.6.1.bin.zip

Apache Archive Distribution Directory

Step 4 : Open Eclipse IDE and create a new Java Project.

Step 5: The above-mentioned Java Project should be created with the location of the previously
downloaded and extracted CloudSim 3.0.3 folder.
Select name of the project as mentioned and extract CloudSim folder

Step 6: The JAR file from the extracted Apache Commons Math 3.6.1 folder needs to be added
to the JAR files of CloudSim.
Step 7: Now the CloudSim Environment has been setup in the Eclipse IDE.

Note : Link for installing cloudsim : Cloudsim Tutorial: Install CloudSim using Eclipse IDE

Result

Thus a Cloudsim tool was installed successfully.

You might also like