> For the complete documentation index, see [llms.txt](https://repo.4pfsec.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://repo.4pfsec.com/google-cloud-computing/cloud-computing-fundamentals/app-engine-qwik-start-python.md).

# App Engine: Qwik Start - Python

## Overview

App Engine allows developers to focus on doing what they do best, writing code. The App Engine standard environment is based on container instances running on Google's infrastructure. Containers are preconfigured with one of several available runtimes (Java 7, Java 8, Python 2.7, Go and PHP). Each runtime also includes libraries that support [App Engine Standard APIs](https://cloud.google.com/appengine/docs/about-the-standard-environment#index_of_features). For many applications, the standard environment runtimes and libraries might be all you need.

## Lab

### Enable Google App Engine Admin API

To begin, enable the App Engine Admin API under `APIs & Services`.

![](/files/Ub0o24u76W5kB5uGDsHV)

### Download the Hello World app <a href="#step5" id="step5"></a>

Enter the following command to clone the hello world app

```
git clone https://github.com/GoogleCloudPlatform/python-docs-samples.git
```

![](/files/XP2fHCSmYjc7DP5eBZLY)

### Test the application <a href="#step6" id="step6"></a>

Now that the application is on the system, change to its directory and run it as shown below

```
cd python-docs-samples/appengine/standard_python3/hello_world
dev_appserver.py app.yaml
```

![](/files/Ptg6CibGP1FS4vCcJbhb)

Now that the app is up and running, view it on port 8080 as shown below.

![](/files/ZWT0O8FHGxYW74secvhE)

![](/files/52EUwBBcX3H9dwZiO5My)

### Modify Application

Modify the application and make it return something else.

```
cd python-docs-samples/appengine/standard_python3/hello_world
nano main.py
```

![](/files/AZTLk15Xoc8NUTyR9z5X)

Once completed, head back to the site and preview the change.

![](/files/X5XIz5EiiYOJ4se4Prx5)

### Deploying Application

Now that we are happy with the changes, we can deploy the app to gcloud without much struggle as shown below.

The following command has to be run in the same directory where the `app.yaml` file exists.

```
gcloud app deploy
```

![](/files/POPtm3UN4zRT4xBvPq0m)

![](/files/jOrVlKKoWderO7W2BsFo)

### Viewing your Application

Now that its all complete, we can view our application with the following command

```
gcloud app browse
```

![](/files/XO9XtlyHY8JuWJiC0exe)

![](/files/TSds31JOZ8qWs1TGilSA)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://repo.4pfsec.com/google-cloud-computing/cloud-computing-fundamentals/app-engine-qwik-start-python.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
