Professional Documents
Culture Documents
Foss Exp6,7
Foss Exp6,7
913119205030
Ex: No: 6 Using GAE launcher to launch the web applications
Date:
Aim:
Concepts Involved:
Introduction
This tutorial shows you how to deploy a sample Python application to App Engine using
the gcloud command.
Here are the steps you will be taking.
Create a project
Projects bundle code, VMs, and other resources together for easier development and
monitoring.
Build and run your "Hello World!" app
You will learn how to run your app using Cloud Shell, right in your browser. At the end, you'll
deploy your app to the web using the gcloud command.
Project setup
GCP organizes resources into projects, which collect all of the related resources for a
single application in one place.
Begin by creating a new project or selecting an existing project for this tutorial.
Select a project, or create a new one My First Project
cd \
python-docs-samples/appengine/standard_python3/hello_world
You are now in the main directory for the sample code. We'll look at the files that configure
your application.
Create an application
In order to deploy your app, you need to create an app in a region:
gcloud app create
Note: If you already created an app, you can skip this step.
You can check in on your app by monitoring its status on the App Engine dashboard.
Open the Navigation menu in the upper-left corner of the console.
Then, select the App Engine section.
1. Go to the Settings page.
2. Click Disable Application.
This is sufficient to stop billing from this app. More details on the relationship between apps
and projects and how to manage each can be found here.
Conclusion:
We have successfully used the Google App Engine launcher to deploy an application.
Experiment: Simulate a cloud scenario using CloudSim and run a scheduling algorithm that is
not present in CloudSim.
Aim:
To simulate the CloudSim and implement a scheduling algorithm in CloudSim.
Concepts Involved:
CloudSim is a framework for modeling and simulation of cloud computing infrastructures and
services. Originally built primarily at the Cloud Computing and Distributed Systems
(CLOUDS) Laboratory, the University of Melbourne, Australia, CloudSim has become one of
the most popular open source cloud simulators in the research and academia. CloudSim is
completely written in Java.
Tools Requirement:
Cloud Sim 3.0
Eclipse IDE for Java Developers
Video demo url: https://www.cloudsimtutorials.online/cloudsim-setup-using-eclipse/
Step 1: Download Cloud Sim
Step 2: Download Eclipse IDE
Step 3: Open Eclipse IDE and create a new project
Step 4: Run a sample program
Conclusion:
The simulation of a cloud scenario using CloudSim and implemented the scheduling algorithm
present in CloudSim.