[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-20。"],[[["\u003cp\u003eAs of August 9, 2021, all App Engine apps require a payment method to continue running, and apps without a payment method will be shut down.\u003c/p\u003e\n"],["\u003cp\u003eDeployments to App Engine will fail if a payment method is not present because all runtimes now use Cloud Build, which requires a payment method.\u003c/p\u003e\n"],["\u003cp\u003eThe App Engine free tier remains unchanged and is still available despite the payment method requirement.\u003c/p\u003e\n"],["\u003cp\u003eRequiring a payment method is intended to reduce fraud and increase App Engine's integration with other Google Cloud services.\u003c/p\u003e\n"],["\u003cp\u003eIf you do not have a valid payment method on the project, \u003ccode\u003eHTTP 500\u003c/code\u003e errors will occur and you will see app log entries that indicate billing is disabled and the instance is shutting down.\u003c/p\u003e\n"]]],[],null,["# Payment method required for all App Engine runtimes\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\nAs of November 30, 2019, you can only deploy new versions of your\nApp Engine apps if your account provides a\n[payment method](/billing/docs/how-to/payment-methods#available_payment_methods),\nsuch as a credit card. As of August 9, 2021, all App Engine apps require\na payment method to continue running. This requirement applies to apps\nin all App Engine runtimes, including Java 8, Python 2.7, PHP 5, and Go 1.11 apps\nin the App Engine standard environment.\n\n**As of August 9, 2021, if a running application does not have a payment method,\nit will be shut down.**\n\nWhile you must provide a payment method for your accounts,\nthe **App Engine free tier has not changed and is not going away**.\n\nWhy we made this change\n-----------------------\n\nRequiring a payment method for all runtimes prevents fraud and abuse, and\nbrings App Engine in line with the rest of Google Cloud. This allows\nus to spend more time on delivering new features and supporting you as you grow\non App Engine.\n\nIn addition, all App Engine runtimes now use Cloud Build to build\napps into a container during the deployment process. Cloud Build\nrequires a payment method, and therefore if a payment method is not\npresent, **deployments to App Engine will fail** . As of August 9, 2021,\nif a running application does not have a payment method, it **will be shut down**.\nYou can reinstate your application by adding a payment method.\n\nOther than providing a payment method, you don't need to make any other\nchanges to your project. The change to Cloud Build is entirely in the\nbackground and has no effect on deployment commands or administration APIs.\n\nWhat remains the same\n---------------------\n\n**The [free tier](/appengine/quotas) on App Engine is unchanged.**\n\nWhat you will see\n-----------------\n\nIf you do not have a valid payment method on the project, you will see:\n\n- `HTTP 500` errors returned when requests are sent to your app\n\n- App log entries in your App Engine logs that read\n \"Billing disabled. Shutting down instance.\"\n\nWhat you need to do\n-------------------\n\nYou will need to add a payment method to your project if you have\nApp Engine apps using the Java 8, Python 2.7, PHP 5, and Go 1.11 runtimes\nin the App Engine standard environment.\n\nTo add a payment method to your project:\n\n1. [Create a billing account](https://console.cloud.google.com/billing/)\n if you do not already have one.\n\n2. Add your credit card or other payment method as a payment method.\n\n3. Link your project to the billing account.\n\nLearn more about [adding, removing or updating a payment method](/billing/docs/how-to/payment-methods).\n\nWhy we are making this change\n-----------------------------\n\nThis change is driven by the following goals:\n\n- Reducing fraud on App Engine\n\n- Increasing the integration of App Engine with other Google Cloud\n services\n\n### Reduce fraud on App Engine\n\nFraud hurts all legitimate users of App Engine and Google. Our\nengineering and support teams invest significant amounts of time in preventing,\nmonitoring, and diagnosing fraudulent usage. This limits the resources we have\navailable to legitimate customers. In addition, fraud costs Google money, which\nraises costs for everyone as it must be accounted for in our pricing of\nApp Engine.\n\nWe have direct evidence from our experience with the newer runtimes that\nrequiring a payment method reduces fraud.\n\n### Integrate App Engine with other Google Cloud services\n\nApp Engine launched in 2008, predating Google Cloud, and was built in a\ncompletely custom and proprietary architecture, since there was no broader platform\nto integrate with. Now that Google Cloud is a large and sophisticated\nplatform, our customers are asking for App Engine to integrate\nseamlessly with the services available in Google Cloud.\n\nIntegration with other Google Cloud services is possible through\nServerless VPC Access, which allows App Engine to sit within\nthe same VPC as Compute Engine VMs and Google Kubernetes Engine clusters. As part of the\nintegration, we are moving App Engine builds to Cloud Build, which\nhas the following benefits:\n\n- Detailed build output including verbose warnings and errors\n\n- The ability to view build history in the Cloud Build section of\n the Cloud console\n\n- (Coming soon) The ability to include any library in your code in addition to\n the predefined set that is available in the App Engine runtimes\n\nAlmost all Google Cloud services require a payment method, so this\nadditional integration means that App Engine must also require a payment\nmethod.\n\nCosts of using Cloud Build\n--------------------------\n\nCloud Build has a free tier that includes 120 build minutes per\nbilling account, per day. For example, if your build took 5 minutes to complete,\nyou would be able to deploy 24 times a day without incurring any charges.\nFor more information on pricing beyond the free tier, see\n[Cloud Build pricing](/build/pricing).\n\nLimit your costs\n----------------\n\nYou can use the following mechanisms to limit your App Engine costs:\n\n- Set the [`max_instances`](/appengine/docs/standard/reference/app-yaml#scaling_elements)\n setting in your `app.yaml` configuration file to `1` to restrict your instance\n usage to the free tier.\n\n- [Set a budget and alerts](/billing/docs/how-to/budgets) to monitor your\n resource consumption across all Google Cloud services.\n\n- [Manually disable your app](/appengine/docs/standard/managing-projects-apps-billing#disabling_an_application)\n once it goes above a preset usage level."]]