0% found this document useful (0 votes)
27 views11 pages

CC Prac-7,8

The document outlines the installation and working of Google App Engine, a platform-as-a-service that enables developers to build and deploy web applications. Key features include automatic scaling, support for multiple programming languages, integrated services, and built-in security. It also provides a step-by-step guide for installing the app engine and developing a simple 'Hello World' web application.

Uploaded by

Sonali Rathod
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)
27 views11 pages

CC Prac-7,8

The document outlines the installation and working of Google App Engine, a platform-as-a-service that enables developers to build and deploy web applications. Key features include automatic scaling, support for multiple programming languages, integrated services, and built-in security. It also provides a step-by-step guide for installing the app engine and developing a simple 'Hello World' web application.

Uploaded by

Sonali Rathod
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/ 11

CC(4360709) 229930307070

PRACTICAL-7
Aim:- Working and Installation of Google app engine.
What is Google app engine?
Google App Engine is a platform-as-a-service (PaaS) offering from Google Cloud that
allows developers to build, deploy, and scale web applications and services. It provides a
fully managed environment, meaning that Google handles much of the infrastructure
management, such as server provisioning, load balancing, and scaling, allowing developers
to focus on writing code.

➢ Key Features of Google app engine


1. Automatic Scaling: Automatically adjusts resources based on traffic, scaling up or
down as needed.
2. Multiple Language Support: Supports various programming languages, including
Python, Java, Go, Node.js, PHP, and Ruby, with options for custom runtimes.
3. Integrated Services: Seamlessly integrates with other Google Cloud services like
Cloud Datastore, Cloud SQL, and Cloud Storage.
4. Versioning and Traffic Splitting: Allows deployment of multiple application versions
and traffic management between them for testing and gradual rollouts.
5. Built-in Security: Provides security features like Identity and Access Management
(IAM) and automatic SSL certificate provisioning.
6. Development Tools: Offers a range of development tools, including a local
development server, debugging tools, and integration with popular IDEs.
7. Pay-as-You-Go Pricing: Uses a flexible pricing model based on resource
consumption, making it cost-effective for various applications.
8. Monitoring and Logging: Integrates with Google Cloud’s operations suite for
monitoring performance, logging, and error reporting.
34
PCD/CE/2025
CC(4360709) 229930307070

➢ Working of Google app engine


1. Development: Developers write applications in supported languages (e.g., Python,
Java, Go) using frameworks and libraries.
2. Deployment: Code is uploaded to App Engine via the Google Cloud SDK or Console,
along with a configuration file (e.g., app.yaml) that specifies settings.
3. Automatic Scaling: App Engine automatically scales the application based on
incoming traffic, adjusting resources as needed.
4. Routing: Incoming requests are routed to the appropriate application handlers based
on URL patterns defined in the configuration.
5. Integrated Services: The application can utilize various Google Cloud services for
databases, storage, and other functionalities.
6. Monitoring: App Engine integrates with Google Cloud’s operations suite for
monitoring, logging, and error reporting.
7. Security: Built-in security features, including IAM and automatic SSL provisioning,
help protect applications.
8. Billing: Uses a pay-as-you-go pricing model based on resource consumption.

➢ Installation of Google app engine


• Step 1:- Visit the website for downloading the google app engine.

35
PCD/CE/2025
CC(4360709) 229930307070

• Step 2:- Open the downloaded file and click ‘Next’.

• Step 3:- Click ‘Next’ to start installing Python 2.7.2.

36
PCD/CE/2025
CC(4360709) 229930307070

• Step 4:- Select where to create folder and click ‘Next’.

• Step 5:- Select the features you wanted to be installed and click ‘Next’.

37
PCD/CE/2025
CC(4360709) 229930307070

• Step 6:- Click ‘Finish’ to exit the installer.

• Step 7:- Click on accept the terms and ‘Next’ to move further in installation.

38
PCD/CE/2025
CC(4360709) 229930307070

• Step 8:- Select the folder where you want to store app folder and click ‘Next’.

• Step 9:- Now click on install.

39
PCD/CE/2025
CC(4360709) 229930307070

• Step 10:- Wait until the installation is complete.

• Step 11:- Click on the ‘Finish’ to complete the installation.

40
PCD/CE/2025
CC(4360709) 229930307070

PRACTICAL-8
Aim:- Develop a Hello World program web application and deploy it on the
Google app engine.
• Step 1:- Open the Google app engine launcher.

• Step 2:- Click on Edit and then click ‘Preferences’.

41
PCD/CE/2025
CC(4360709) 229930307070

• Step 3:- Now set the python path and sdk path and then click ‘OK’.

• Step 4:- Now create a new folder on desktop(name: practical).

• Step 5:- Again open the google app engine and click on ‘File’ and select ‘Create New
Application’.

42
PCD/CE/2025
CC(4360709) 229930307070

• Step 6:- Select the app name and directory for the app(here app name is hello and
directory is C:\Users\Nupur\Desktop\practical) and then click ‘Create’.

• Step 7:- These are the files which are created by default.

Main.py:-
import webapp2
class MainHandler(webapp2.RequestHandler):
def get(self):
self.response.write('Hello World!')
app = webapp2.WSGIApplication([
('/', MainHandler)
], debug=True)

43
PCD/CE/2025
CC(4360709) 229930307070

• Step 8:- Now open the app engine and select the application and click ‘Run’.

• Step 9:- Now click on ‘Browse’ to execute the program in browser.

Output:-

44
PCD/CE/2025

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy