Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
21 views12 pages

Unit 4

Green Cloud computing aims to enhance the efficiency of computing infrastructure while minimizing energy consumption, contributing to sustainable growth in cloud services. It offers benefits such as reduced carbon footprints, higher profits, and enhanced data security. CloudSim is an open-source framework for simulating cloud environments, supporting various functionalities like resource allocation and management, while GreenCloud emphasizes environmentally friendly practices in cloud computing.

Uploaded by

bitsmid167
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)
21 views12 pages

Unit 4

Green Cloud computing aims to enhance the efficiency of computing infrastructure while minimizing energy consumption, contributing to sustainable growth in cloud services. It offers benefits such as reduced carbon footprints, higher profits, and enhanced data security. CloudSim is an open-source framework for simulating cloud environments, supporting various functionalities like resource allocation and management, while GreenCloud emphasizes environmentally friendly practices in cloud computing.

Uploaded by

bitsmid167
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/ 12

Unit -4

CloudSim :
GreenCloud

❖ Green Cloud computing is used to achieve not only efficient processing and
utilization of computing infrastructure, but also minimize energy consumption.
❖ It is also called as GREEN IT.
❖ Green Cloud computing is envisioned to achieve not only efficient processing
and utilization of computing infrastructure, but also minimize energy
consumption.
❖ This is essential for ensuring that the future growth of Cloud computing is
sustainable.
❖ Otherwise, Cloud computing with increasingly pervasive front-end client devices
interacting with back-end data centers will cause an enormous escalation of
energy usage.

Goals of Green Cloud Computing:

Reduce the use of hazardous material, it causes harm to environment .

“Green” Data Centers.

Using recycle materials.

Supply Chain Energy Usage.

❖ Green Cloud can be used to develop novel solutions in monitoring, resource


allocation, workload scheduling as well as optimization of communication
protocols and network infrastructures.

Benefits of Green Cloud Computing

Green Cloud Computing is the way to save money and energy for business. Following are the
benefits:

1. Reduced Carbon footprints: It leads to lower carbon dioxide emissions by shifting to


green computing techniques by altering hardware and software.
2. Higher profits: By shifting to cloud techniques, it leads to saving money by saving
resources and energy.
3. 24*7 Availability: The data in the green cloud can be accessed anywhere anytime
which leads to faster decision making and is also time-saving.
4. All-round security: The data on the green cloud is secured by high-end protection
system which makes the risk of theft for data lesser

Introduction to Simulator :

❖ CloudSim is an open-source framework, which is used to simulate cloud


computing infrastructure and services.
❖ It is developed by the CLOUDS Lab organization and is written entirely in
Java.
❖ It is used for modeling and simulating a cloud computing environment as
a means for evaluating a hypothesis prior to software development in
order to reproduce tests and results.

For example, if you were to deploy an application or a website on the cloud and
wanted to test the services and load that your product can handle and also tune
its performance to overcome bottlenecks before risking deployment
Then such evaluations could be performed by simply coding a simulation of
that environment with the help of various flexible and scalable classes provided
by the CloudSim package, free of cost.
❖ CloudSim layer manages the creation and execution of core entities such
as VMs, Cloudlets, Hosts etc.
❖ It also handles network-related execution along with the provisioning of
resources and their execution and management.

Features of CloudSim:

CloudSim provides support for simulation and modelling of:


1. Large scale virtualized Datacenters, servers and hosts.
2. Customizable policies for provisioning host to virtual machines.
3. Energy-aware computational resources.
4. Application containers and federated clouds (joining and management of
multiple public clouds).
5. Datacenter network topologies and message-passing applications.
6. Dynamic insertion of simulation entities with stop and resume of simulation.
7. User-defined allocation and provisioning policies.
Installation Procedure:

Step 1:

Downloaded zip files of CloudSim 3.0.3.

Step 2:

From the zip folder extracts cloudsim-3.0.3 into a folder.


Also, extract the commons-math3-3.6.1 jar into the same folder.

Step 3:

Open Eclipse IDE and go to File -> New -> Java Project.

Step 4:

Enter any name for your project and then uncheck the Use default location box
just under it and click on Browse.

Step 5:

Browse to the folder where you extracted your files and select the cloudsim-
3.0.3 folder.

Don’t click on Finish yet, because we need to add a jar file to our project.

Step 6

Click Next and go to Libraries -> Add External JARs. Now browse to the
same folder where you extracted your commons-math3 jar file and Open it.

Step 7

Finally click on Finish and wait for the project to build.


After the project has been built, from the Project Explorer you can click on your
project and from the dropdown go-to examples ->
org.cloudbus.cloudsim.examples where you can find pre-written sample codes
and try to run them.
Understanding CloudSim Simulator :

❖ CloudSim is one of the most commonly used cloud simulators

❖ SimJava uses a discrete event simulator. It includes facilities for representing


simulation objects as animated icons on screen.
❖ CloudSim supports adding elements dynamically and pausing/resuming the
simulation
❖ CloudSim employs a set of classes to represent basic cloud functionality.
❖ The Datacenter class is a core class to the simulator functionality
❖ Datacenter object instantiates a generalized resource provisioning
component that implements a set of resource allocation policies
❖ Datacenter Broker class. The broker’s responsibility is standing between
service providers and cloud clients.
❖ User application in CloudSim is represented through Cloudlet class.
❖ It is a simulation framework that provides simulation, power to manage
services and modeling of cloud infrastructure.
❖ CloudSim comprises huge volume of libraries for simulating the cloud based
computing systems.
❖ Cloudsim is cloud simulation toolkit to satisfy the cloud user requirements.

CloudSim Architecture

USER CODE :

❖ The user code layer will expose the basic entities like the number of
machines, specifications, applications, number of users, and VMs.
❖ The User Code layer is a custom layer where the user writes their own
code to redefine the characteristics of the stimulating environment as per
their new research findings.
❖ The user code layer exposes basic entities such as the number of
machines, their specifications, etc, as well as applications, VMs, number
of users, application types and scheduling policies.
CloudSim:

❖ The CloudSim Core simulation engine provides support for modeling and
simulation of virtualized Cloud-based data center environments.
❖ It includes queuing and processing of events, creation of cloud system
entities (like data center, host, virtual machines, brokers, services, etc.)
❖ CloudSim is a framework for modeling and simulation of cloud computing
infrastructures and services.
❖ CloudSim is one of the most commonly used cloud simulators.

GridSim

❖ The GridSim toolkit is a Java based simulation toolkit.


❖ It supports modeling and simulation of heterogeneous Grid resources and
users spread across multiple organizations with their own policies.
❖ It is a Toolkit for the Modeling and Simulation of Distributed Resource
Management and Scheduling for Grid Computing.
❖ Grid computing is based on collaborative computer architecture.
❖ Grid is a management system that is decentralized.

SimJava

❖ At the lowest layer, we find the SimJava that implements the core
functionalities required for higher-level simulation.
❖ It’s like queuing and processing of events, creation of system components.
❖ SimJava was among the first publicly released simulators written in Java.
Understanding working platform for CloudSim :
Introduction to GreenCloud :
❖ Green cloud refers to the potential environmental benefits that green
IT services delivered over the internet can offer to individual
companies and society as a whole.
❖ The term combines the words green -- meaning environmentally
friendly -- and cloud, the traditional symbol for the internet and the
shortened name for cloud computing.
❖ However, it would be more accurate to describe these characteristics
as the green benefits of cloud computing, rather than a green cloud.

Working:

Cloud service providers typically employ multiple strategies to attain


greener data centers. These efforts target efficiency improvements in
one or more of the following areas:

Energy sources. The provider uses renewable energy as much as


possible to power its data centers. This often includes wind or solar
energy, along with large battery banks for storing the collected
energy.

Infrastructure. The provider optimizes the hardware and software


infrastructure.

Workflow. The provider uses multiple strategies to optimize IT


workflows at every level.

❖ As examples of green cloud practices by top cloud platform


vendors, Amazon Web Services (AWS) and Microsoft have
both said they plan to use 100% renewable energy in their data
centers by 2025.
❖ Google has said it achieved that in its Google Cloud facilities in
2017 and is aiming to run them all on carbon-free energy
sources by 2030.
❖ Microsoft is working to be carbon-negative by that year,
while AWS is looking to reach net-zero carbon usage by
2040.

You might also like