Cloud Computing is the leading approach for delivering reliable, secure, fault-tolerant, sustainable, and scalable computational services. Hence timely, repeatable, and controllable methodologies for performance evaluation of new cloud applications and policies before their actual development are required. Because utilization of real testbeds limits the experiments to the scale of the testbed and makes the reproduction of results an extremely difficult undertaking, simulation may be used.
CloudSim's goal is to provide a generalized and extensible simulation framework that enables modeling, simulation, and experimentation of emerging Cloud Computing infrastructures and application services, allowing its users to focus on specific system design issues that they want to investigate, without getting concerned about the low level details related to Cloud-Based infrastructures and services.
CloudSim is developed in the Cloud Computing and Distributed Systems (CLOUDS) Laboratory, at the Computer Science and Software Engineering Department of the University of Melbourne.
More information can be found on the CloudSim's web site.
Either clone the repository or download a release. The release package contains all the source code, examples, jars, and API html files.
Windows
1) Install Java JDK21 on your system from the official website as shown in JDK installation instructions
2) Install Maven as shown on the official website
4) Compile and Run tests using the command prompt:
prompt
mvn clean install
You will find the jars in modules/cloudsim/target/cloudsim-$VERSION.jar and modules/cloudsim-examples/target/cloudsim-examples-$VERSION.jar
5) Run an example (e.g., CloudSimExample1) in cloudsim-examples using the command prompt:
mvn exec:java -pl modules/cloudsim-examples/ -Dexec.mainClass=org.cloudbus.cloudsim.examples.CloudSimExample1
Linux
1) Install Java JDK21 on your system:
- On Debian-based Linux & Windows WSL2:
bash
sudo apt install openjdk-21-jdk
- On Red Hat-based Linux:
bash
sudo yum install java-21-openjdk
2) Set Java JDK21 as default:
- On Debian-based Linux & Windows WSL2:
bash
sudo update-java-alternatives --set java-1.21.0-openjdk-amd64
- On Red Hat-based Linux:
bash
sudo update-alternatives --config 'java'
3) Install Maven as shown on the Official Website
4) Compile and run tests:
bash
mvn clean install
You will find the jars in modules/cloudsim/target/cloudsim-$VERSION.jar and modules/cloudsim-examples/target/cloudsim-examples-$VERSION.jar
5) Run an example (e.g., CloudSimExample1) in cloudsim-examples using the terminal:
bash
mvn exec:java -pl modules/cloudsim-examples/ -Dexec.mainClass=org.cloudbus.cloudsim.examples.CloudSimExample1
Suggestion: Use an IDE such as IDEA Intellij to faciliate steps 4) and 5)
$ claude mcp add cloudsim \
-- python -m otcore.mcp_server <graph>