Exercise 1 -Installation of Cloudsim
Exercise 1 -Installation of Cloudsim
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
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.
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.
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.
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.
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
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