3,4,5,6 Clouddcomputing
3,4,5,6 Clouddcomputing
No:3
Install Google App Engine. Create hello world app and other
Date: simple web applications using python/java
Aim:
To install Google App Engine. Create hello world app and other simple web
applications using python/java.
Procedure:
Steps for installing:
1. Download the Google Cloud SDK installer using the link
https://dl.google.com/dl/cloudsdk/channels/rapid/GoogleCloudSDKInstaller.exe
2. After downloading the Google Cloud SDK installer, Install it normally.
handlers:
- url: /*
script: index.py
4. A popup window will open, to install needed components. Type y and press
enter.
5. Now, open any browser and enter the url http://localhost:8080/ . Then the hello
world app starts work.
Output:
Result:
Thus the Google App Engine is installed and hello world app is created in python
environment and output is verified.
Ex.No:4
Use GAE launcher to launch the web applications
Date:
Aim:
To launch a web application using Google App Engine(GAE).
Procedure:
1. Create a web application. The web application should contain a python file,
HTML files, CSS files(if needed) and a YAML file.
4. Now, open any browser and enter the url http://localhost:8080/ . Then the hello
world app starts work.
Output:
Result:
Thus the web application is launched successfully using Google App Engine and
the output is verified.
Ex.No:5
Simulate a cloud scenario using CloudSim and run a scheduling
Date: algorithm that is not present in CloudSim.
Aim:
To Simulate a cloud scenario using CloudSim and run a scheduling algorithm that
is not present in CloudSim
Procedure:
2. The main() method is the pointer from where the execution of this example
starts
3. There are eleven steps that are followed in each example with some
variation in them, specified as follows:
• Step1: Set the Number of users for the current simulation. This user count is
directly proportional to a number of brokers in the current simulation.
• Step 2: Initialize the simulation, provided with the current time, number of
users and trace flag.
broker.submitVmList(vmlist);
broker.submitCloudletList(cloudletList);
CloudSim.startSimulation();
• Step 10: Once no more event to execute, send the call to Stop Simulation.
CloudSim.stopSimulation();
Output :
Result :
Thus ,the Simulation of a cloud scenario using CloudSim and run a scheduling
algorithm that is not present in CloudSim is executed successfully.
Ex.No:6
Find a procedure to transfer the files from one virtual machine to
Date: another virtual machine.
Aim:
To Find a procedure to transfer the files from one virtual machine
to another virtual machine.
Procedure:
Step 1: Open Opennebula service from root user and view in localhost:9869
root@linux:$ /etc/init.d/opennebula-sunstone restart
This will move the VM from host01 to host02.The onevm list shows something like the
following
Result :
Thus the virtual machine transfer the files from one virtual machine to another
virtual machine from one node to the other has executed successfully.