PROGRAM 7
AIM: To implement a CloudSim scheduling algorithm with the help of Google app engine
Procedure
1. Clone the GitHub repository for CloudSim using the command “ git clone
[Link]
2. Install jdk-21 and maven for the CloudSim support using the commands
sudo apt install openjdk-21-jdk
mvn install
3. Move to the cloudsim directory using the command “cd cloudsim”
4. Install mvn dependencies using the command “mvn clean install”
5. Move to “cloudsim/modules/cloudsim-
examples/src/main/java/org/cloudbus/cloudsim/examples” directory and create
a new java file using the command “touch <filename>.java”
6. Edit the file for custom algorithms using “sudo nano <filename>”
7. Click on cloud code on the vs code task bar and select ‘Run on Cloud Run
Emulator’
8. In this example we have implemented heuristic based scheduling algorithm
which give the output.
Result:
CloudSim Scheduling Algorithm was implemented successfully.