Python 2.7 はサポートが終了しており、2026 年 1 月 31 日に
非推奨になります。非推奨になると、過去に組織のポリシーを使用して以前のランタイムのデプロイを再度有効にしていた場合でも、Python 2.7 アプリケーションをデプロイできなくなります。既存の Python 2.7 アプリケーションは、
非推奨日以降も引き続き実行され、トラフィックを受信します。
サポートされている最新バージョンの Python に移行することをおすすめします。
Google App Engine Python 2 スタンダード環境のドキュメント
App Engine スタンダード環境を使用すると、高負荷で大量のデータが存在する状況でも確実に動作するアプリケーションを簡単に構築してデプロイできます。サーバーのハードウェア、オペレーティング システム、物理的な場所に関係なく、安全性と信頼性の高い独自の環境でアプリケーションが実行されます。詳細
$300 分の無料クレジットを使用して概念実証を始める
-
Gemini 2.0 Flash Thinking をご利用いただけます。
-
AI API や BigQuery などの人気プロダクトの毎月の無料使用枠をご利用いただけます。
-
自動請求は行われず、契約も不要です。
常に無料で利用可能な 20 以上のプロダクトを確認する
AI API、VM、データ ウェアハウスなど、一般的なユースケース向けの 20 以上のプロダクトを無料でご利用いただけます。
トレーニング
トレーニングとチュートリアル
Google Cloud Python スタートガイド
App Engine スタンダード環境にアプリをデプロイする手順について説明します。
トレーニング
トレーニングとチュートリアル
App Engine: Qwik Start - Python
Google Cloud の価値と、クラウドベースのソリューションをビジネス戦略に組み込む方法を説明します。
ユースケース
ユースケース
ウェブサイトやアプリへのアクセスの制御
エンタープライズ ウェブリソースに対するユーザー アクセスを制御する方法について説明します。
エンタープライズ
BeyondCorp
認証
App Engine
コードサンプル
コードサンプル
App Engine のサンプル - ゲストブック
このサンプルでは、App Engine スタンダード環境で Python を使用してゲストブック アプリを作成する方法を説明します。
コードサンプル
コードサンプル
App Engine のサンプル - Cloud SQL
このサンプルでは、Python を使用する App Engine スタンダード環境で Google Cloud SQL を使用する方法について紹介します。
コードサンプル
コードサンプル
このサンプルでは、Python を使って Google Cloud Platform の使用を開始する方法を説明します。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-19 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["わかりにくい","hardToUnderstand","thumb-down"],["情報またはサンプルコードが不正確","incorrectInformationOrSampleCode","thumb-down"],["必要な情報 / サンプルがない","missingTheInformationSamplesINeed","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-08-19 UTC。"],[[["\u003cp\u003eApp Engine standard environment offers a secure and reliable platform for deploying applications that can handle heavy loads and large amounts of data.\u003c/p\u003e\n"],["\u003cp\u003eThis documentation provides guides for tasks such as reading/writing to Google Cloud Storage, managing custom domains, and deploying Python apps.\u003c/p\u003e\n"],["\u003cp\u003eReference materials are available, including details on configuration files like app.yaml, cron.yaml, and queue.yaml.\u003c/p\u003e\n"],["\u003cp\u003eResources include information on pricing, quotas, managing costs, and troubleshooting, along with Python 2.7 release notes.\u003c/p\u003e\n"],["\u003cp\u003eTraining and tutorials are available for learning how to build and deploy apps, control website access, and utilize Google Cloud services.\u003c/p\u003e\n"]]],[],null,["# Google App Engine Python 2 Standard Environment documentation\n=============================================================\n\n[Read product documentation](/appengine/docs/legacy/standard/python/runtime)\nApp Engine standard environment makes it easy to build and deploy\nan application that runs reliably under heavy load and with large amounts of\ndata. Your application runs within its own secure, reliable environment that\nis independent of the hardware, operating system, or physical location of the\nserver.\n[Learn more](/appengine/docs/legacy/standard/python/an-overview-of-app-engine)\n[Get started for free](https://console.cloud.google.com/freetrial) \n\n#### Start your proof of concept with $300 in free credit\n\n- Get access to Gemini 2.0 Flash Thinking\n- Free monthly usage of popular products, including AI APIs and BigQuery\n- No automatic charges, no commitment \n[View free product offers](/free/docs/free-cloud-features#free-tier) \n\n#### Keep exploring with 20+ always-free products\n\n\nAccess 20+ free products for common use cases, including AI APIs, VMs, data warehouses,\nand more.\n\nDocumentation resources\n-----------------------\n\nFind quickstarts and guides, review key references, and get help with common issues. \nformat_list_numbered\n\n### Guides\n\n-\n\n [Reading and Writing to Google Cloud Storage](/appengine/docs/legacy/standard/python/googlecloudstorageclient/read-write-to-cloud-storage)\n\n-\n\n [Mapping Custom Domains](/appengine/docs/legacy/standard/python/mapping-custom-domains)\n\n-\n\n [Securing Custom Domains with SSL](/appengine/docs/legacy/standard/python/securing-custom-domains-with-ssl)\n\n-\n\n [Using the Local Development Server](/appengine/docs/legacy/standard/python/tools/using-local-server)\n\n-\n\n [How Requests are Routed](/appengine/docs/legacy/standard/python/how-requests-are-routed)\n\n-\n\n [Deploying a Python App](/appengine/docs/legacy/standard/python/tools/uploadinganapp)\n\n-\n\n [Setting Up Google Cloud Storage](/appengine/docs/legacy/standard/python/googlecloudstorageclient/setting-up-cloud-storage)\n\nfind_in_page\n\n### Reference\n\n-\n\n [app.yaml Reference](/appengine/docs/legacy/standard/python/config/appref)\n\n-\n\n [cron.yaml Reference](/appengine/docs/legacy/standard/python/config/cronref)\n\n-\n\n [dispatch.yaml Configuration File](/appengine/docs/legacy/standard/python/reference/dispatch-yaml)\n\n-\n\n [Cloud Storage Errors and Error Handling](/appengine/docs/legacy/standard/python/googlecloudstorageclient/errors)\n\n-\n\n [queue.yaml Reference](/appengine/docs/legacy/standard/python/config/queueref)\n\n-\n\n [Configuration Files](/appengine/docs/legacy/standard/python/configuration-files)\n\n-\n\n [Entity Property Reference](/appengine/docs/legacy/standard/python/ndb/entity-property-reference)\n\n-\n\n [NDB Model Class](/appengine/docs/legacy/standard/python/ndb/modelclass)\n\ninfo\n\n### Resources\n\n-\n\n [Python 2.7 release notes](/appengine/docs/legacy/standard/python/release-notes)\n\n-\n\n [Pricing](/appengine/pricing)\n\n-\n\n [Quotas and limits](/appengine/docs/legacy/standard/python/quotas)\n\n-\n\n [Managing costs](/appengine/docs/legacy/standard/python/managing-costs)\n\n-\n\n [Troubleshooting](/appengine/docs/legacy/standard/python/troubleshooting)\n\n-\n\n [Choosing an environment](/appengine/docs/the-appengine-environments)\n\n-\n\n [Choosing a serverless option](/serverless)\n\nRelated resources\n-----------------\n\nTraining and tutorials \nUse cases \nCode samples \nExplore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services. Training \nTraining and tutorials\n\n### Google Cloud Getting Started with Python\n\n\nWalks you through deploying an app to the App Engine standard environment.\n\n\n[Learn more](/appengine/docs/standard/python3/building-app) \nTraining \nTraining and tutorials\n\n### App Engine: Qwik Start - Python\n\n\nLearn the value of Google Cloud and how to incorporate cloud-based solutions into your business strategies.\n\n\n[Learn more](https://www.cloudskillsboost.google/focuses/1014?parent=catalog) \nUse case \nUse cases\n\n### Controlling Access to Websites and Apps\n\n\nLearn how to control user access to enterprise web resources.\n\nEnterprise BeyondCorp Authentication App Engine\n\n\u003cbr /\u003e\n\n[Learn more](/solutions/authenticating-web-users) \nCode sample \nCode Samples\n\n### App Engine sample - Guestbook\n\n\nThis sample demonstrates how build a Guestbook app on App Engine standard environment with Python.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/appengine-guestbook-python) \nCode sample \nCode Samples\n\n### App Engine sample - Cloud SQL\n\n\nThis sample demonstrates how to use Google Cloud SQL on App Engine standard environment with Python.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/appengine-guestbook-python-cloudsql) \nCode sample \nCode Samples\n\n### Getting started with Python on Google Cloud Platform sample\n\n\nThis sample demonstrates how to get started on the Google Cloud Platform with Python.\n\n\n[Open GitHub\narrow_forward](https://github.com/GoogleCloudPlatform/getting-started-python)\n\nRelated videos\n--------------"]]