Stay organized with collections Save and categorize content based on your preferences.
Note: If you are deploying a new Python web service to Google Cloud, we recommend getting started with Cloud Run.Use this guide to learn the basics of developing and deploying Python web services to the App Engine standard environment.
In this guide, you iterate through building and deploying versions of a web service, starting from a static page and building up to a personalized web page that shows authenticated users their name, their email, and their recent site request times.
The following tasks demonstrate the basic developer flow for creating that web service using Firestore in Datastore mode (Datastore) data storage and Firebase authentication:
Create your Google Cloud project
Learn how to create a Google Cloud project and then set up the App Engine resources for your web service.
Learn how to write and locally test a basic web service, and then define the configuration files that you need for deploying that web service to App Engine.
Deploy your web service to App Engine
Learn how to deploy your Python code and then view your web service running on App Engine.
Learn how to use Datastore to store and retrieve data about site requests.
Add Firebase to your web service
Learn how to add Firebase to your Google Cloud project and web service.
Authenticate users with Firebase
Learn how to use Firebase Authentication to verify user credentials, serve user information, and allow data access.
Personalize data for authenticated users
Learn how to use authentication to personalize data storage and retrieval for authenticated users.
Learn how to clean up your project and avoid the possibility of incurring charges for resources you aren't using.
This guide assumes that you are already familiar with Python, the Flask framework, and basic web development.
CostsRunning this sample app alone does not exceed the free quotas. You will be charged only if you exceed those quotas, for example, by running other samples and adding other services to the same Google Cloud project.
Let's get started!Create your Google Cloud project and set up the App Engine resources.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["This guide demonstrates how to develop and deploy Python web services to the App Engine standard environment, starting with a basic static page and progressing to a personalized web page for authenticated users."],["The process includes creating a Google Cloud project, writing and deploying the web service, handling data with Firestore in Datastore mode, and adding Firebase authentication for users."],["Users will learn how to use Firebase to verify user credentials, serve user information, personalize data storage and retrieval, and allow data access."],["The guide also includes instructions on cleaning up the project to avoid incurring charges for unused resources."],["Cloud Run is recommended for deploying new python web services on Google Cloud."]]],[]]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4