Test out the Google App Engine – Quickstart for Python 2 St…

Test out the Google App Engine – Quickstart for Python 2 Standard Environment This quick start shows you how to create a small App Engine application that displays a short message. Use to record your self completing the quick start tutorial.  Submit the video link for a grade.



In this assignment, we will explore the Google App Engine and specifically focus on creating a small App Engine application using Python 2 in the Standard Environment. The objective is to create an application that displays a short message. This quick start tutorial will guide us through the process of setting up the Google App Engine and creating our first application.

Google App Engine

Google App Engine is a Platform-as-a-Service (PaaS) offering by Google that allows developers to build and deploy web applications on Google’s infrastructure. It provides features such as automatic scaling, load balancing, and built-in security measures, making it an attractive choice for developing and hosting web applications.

The Standard Environment

The Standard Environment is one of the two environments available in Google App Engine for Python applications. It is designed for applications that have modest scalability requirements and generally follows a request-response model. The Python 2 Standard Environment supports Python 2.7, and it provides a simple and straightforward way to develop and deploy applications.

Creating the App Engine Application

To get started, we first need to set up our development environment. We need to ensure that we have the necessary software installed, including Python 2.7, the Google Cloud SDK, and the App Engine Python SDK. These can be easily downloaded and installed from their respective websites.

Once the development environment is set up, we can proceed with creating our App Engine application. We need to create a new directory for our project, navigate to the directory in the command line or terminal, and initialize the project using the command:

$ gcloud init

This command will guide us through a series of prompts, such as selecting the Google Cloud Platform project, configuring the default Compute Engine zone, and logging in to our Google account.

After initializing the project, we can create a new Python file, for example, main.py, and open it in our preferred text editor. In this file, we will write the code for our application.

The code will typically include a main function that handles the request and response. In our case, we will define a simple function that returns a short message, such as “Hello, World!”.

Next, we need to define the application configuration file, app.yaml. This file specifies the runtime environment for our application and other settings such as the URL handlers.

In app.yaml, we will define the URL handler for our main function, specifying the URL pattern that triggers the function. For example, we can set the URL pattern to “/hello” so that our function is called whenever the “/hello” endpoint is accessed.

With the code and configuration file in place, we can now deploy our application to the App Engine. In the command line or terminal, navigate to the project directory and use the command:

$ gcloud app deploy

This command will upload our application to the App Engine and make it accessible through a unique URL.


This quick start tutorial provides an overview of creating a small App Engine application using Python 2 in the Standard Environment. We have explored the setup process, the code required, and the deployment steps to create a basic application that displays a short message. By following this tutorial, we can gain a solid understanding of how to get started with App Engine development using Python 2.

Do you need us to help you on this or any other assignment?

Make an Order Now