Python 2.7 has reached end of support
and will be
deprecated
on January 31, 2026. After deprecation, you won't be able to deploy Python 2.7
applications, even if your organization previously used an organization policy to
re-enable deployments of legacy runtimes. Your existing Python
2.7 applications will continue to run and receive traffic after their
deprecation date. We recommend that
you
migrate to the latest supported version of Python.
Naming Developer Environments
Stay organized with collections
Save and categorize content based on your preferences.
Cloud-based software projects should employ multiple environments. These
environments typically have names like dev
, qa
, staging
, and prod
.
It's vital that these environments be completely isolated from one another,
and they typically have very different operator-access permissions.
For example, the development team might have full access to the dev
environment, but only limited access to the prod
environment, with all
code deployment driven only by automated scripts. Further, it's
absolutely essential that the data in the different environments stay isolated.
Using multiple Google Cloud projects suits these requirements perfectly
as the projects provide complete isolation of code and data, and operator
permissions can be managed separately. Because App Engine automatically scales
its serving instances, you only pay for what you use. For example, if your
staging environment is only required one week out of every four, you won't pay
for any serving instance costs for the other three. However, keep in mind that
you will be billed for any data stored in these projects.
Naming environments
If you choose to create your microservices application by using only multiple
services, you can create a single Google Cloud project for each of your
environments and name them accordingly, such as web-app-dev
, web-app-qa
,
and web-app-prod
.
Alternatively, if you choose to create your microservices application by
using multiple projects, you can achieve the same separation between
environments, but you'll need to use more projects, such as
web-app-dev
, web-app-prod
, user-service-dev
, and user-service-prod
.
You will need to use code patterns to ensure that the dev
projects only
call other dev
projects and the prod
projects only call
other prod
projects.

What's next
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."],[[["\u003cp\u003eCloud-based projects should utilize multiple, isolated environments such as \u003ccode\u003edev\u003c/code\u003e, \u003ccode\u003eqa\u003c/code\u003e, \u003ccode\u003estaging\u003c/code\u003e, and \u003ccode\u003eprod\u003c/code\u003e, each with distinct operator-access permissions.\u003c/p\u003e\n"],["\u003cp\u003eMaintaining data isolation between environments is crucial for preventing data corruption and maintaining the integrity of each environment.\u003c/p\u003e\n"],["\u003cp\u003eUsing multiple Google Cloud projects is ideal for ensuring the isolation of code and data between environments, and managing operator permissions independently.\u003c/p\u003e\n"],["\u003cp\u003eNaming conventions for environments, whether using single or multiple Google Cloud projects, should clearly indicate the environment type, for example, \u003ccode\u003eweb-app-dev\u003c/code\u003e, \u003ccode\u003eweb-app-prod\u003c/code\u003e, \u003ccode\u003euser-service-dev\u003c/code\u003e, etc.\u003c/p\u003e\n"],["\u003cp\u003eWhen using multiple projects, specific code patterns are needed to restrict communication so that \u003ccode\u003edev\u003c/code\u003e projects only interact with other \u003ccode\u003edev\u003c/code\u003e projects, and \u003ccode\u003eprod\u003c/code\u003e projects only interact with other \u003ccode\u003eprod\u003c/code\u003e projects.\u003c/p\u003e\n"]]],[],null,[]]