Stay organized with collections
Save and categorize content based on your preferences.
The App Engine standard environment is based on container instances
running on Google's infrastructure. Containers are preconfigured with one of
several available runtimes.
The standard environment makes it easy to build and deploy an
application that runs reliably even under heavy load and with large amounts of
data.
Applications run in a secure, sandboxed environment, allowing the
standard environment to distribute requests across multiple
servers and scale servers to meet traffic demands. Your application runs
within its own secure, reliable environment that is independent of the hardware,
operating system, or physical location of the server.
Standard environment languages and runtimes
The standard environment supports the following languages:
The instance class determines the amount of memory and CPU available to each
instance, the amount of free quota, and the
cost per hour after your app
exceeds the free quota.
For all runtime generations, the memory limit includes the memory your app uses
along with the memory that the runtime itself needs to run your app. The Java
runtimes use more memory to run your app than other runtimes.
To override the default instance class, use the instance_class
setting in your
app's app.yaml file.
Instance Class
Memory Limit
CPU Limit
Supported Scaling Types
F1 (default)
384 MB
600 MHz
automatic
F2
768 MB
1.2 GHz
automatic
F4
1536 MB
2.4 GHz
automatic
F4_1G
3072 MB
2.4 GHz
automatic
B1
384 MB
600 MHz
manual, basic
B2 (default)
768 MB
1.2 GHz
manual, basic
B4
1536 MB
2.4 GHz
manual, basic
B4_1G
3072 MB
2.4 GHz
manual, basic
B8
3072 MB
4.8 GHz
manual, basic
The CPU values and limits reported in the instance class table don't reflect a
fixed clock speed in the CPU. Instead, they represent the instance's
allocated relative compute power or performance tier on the
shared-core instance
type.
System tools might report the total physical memory of the underlying host
machine. This is different from the instance's enforced memory limit, which is
the maximum memory available to the instance's isolated sandbox environment.
Exceeding this "Memory Limit", not the host's total RAM, might cause
performance issues.
Quotas and limits
The standard environment gives you 1 GiB of
data storage and traffic for free, which can be increased by enabling paid
applications. However, some features impose limits unrelated to quotas to
protect the stability of the system. For more details on quotas, including how
you can edit them to suit your needs, see Quotas.
Try it for yourself
If you're new to Google Cloud, create an account to evaluate how
App Engine performs in real-world
scenarios. New customers also get $300 in free credits to run, test, and
deploy workloads.
[[["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-25 UTC."],[[["\u003cp\u003eThe App Engine standard environment utilizes container instances on Google's infrastructure, preconfigured with various runtimes to support application deployment.\u003c/p\u003e\n"],["\u003cp\u003eThis environment ensures reliable application performance even under heavy loads and with large data volumes by using a secure, sandboxed system that distributes requests and scales servers automatically.\u003c/p\u003e\n"],["\u003cp\u003eThe standard environment supports a range of languages, including Go, Java, Node.js, PHP, Python, and Ruby, to accommodate different development preferences.\u003c/p\u003e\n"],["\u003cp\u003eInstance classes, such as F1, F2, B1, and B2, dictate the memory and CPU resources available to each instance, directly impacting the application's performance and operational costs.\u003c/p\u003e\n"],["\u003cp\u003eWhile the standard environment offers a free quota of data storage and traffic, it also incorporates certain system limits to maintain its stability and ensure optimal functionality.\u003c/p\u003e\n"]]],[],null,["# App Engine standard environment\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\nThe App Engine standard environment is based on container instances\nrunning on Google's infrastructure. Containers are preconfigured with one of\nseveral available runtimes.\n\nThe standard environment makes it easy to build and deploy an\napplication that runs reliably even under heavy load and with large amounts of\ndata.\n\nApplications run in a secure, sandboxed environment, allowing the\nstandard environment to distribute requests across multiple\nservers and scale servers to meet traffic demands. Your application runs\nwithin its own secure, reliable environment that is independent of the hardware,\noperating system, or physical location of the server.\n\nStandard environment languages and runtimes\n-------------------------------------------\n\nThe standard environment supports the following languages: \n[Go](/appengine/docs/standard/go/runtime) \n[Java](/appengine/docs/standard/java-gen2/runtime) \n[Node.js](/appengine/docs/standard/nodejs/runtime) \n[PHP](/appengine/docs/standard/php-gen2/runtime) \n[Python](/appengine/docs/standard/python3/runtime) \n[Ruby](/appengine/docs/standard/ruby/runtime)\n\nInstance classes\n----------------\n\nThe *instance class* determines the amount of memory and CPU available to each\ninstance, the amount of [free quota](/appengine/docs/standard/quotas#Instances), and the\n[cost per hour](/appengine/pricing#standard_instance_pricing) after your app\nexceeds the free quota.\n\nFor all runtime generations, the memory limit includes the memory your app uses\nalong with the memory that the runtime itself needs to run your app. The Java\nruntimes use more memory to run your app than other runtimes.\n\nTo override the default instance class, use the [`instance_class`\nsetting](/appengine/docs/standard/python3/config/appref#instance_class) in your\napp's `app.yaml` file.\n\nThe CPU values and limits reported in the instance class table don't reflect a\nfixed clock speed in the CPU. Instead, they represent the instance's\nallocated relative compute power or performance tier on the\n[shared-core](/compute/docs/general-purpose-machines#n1-shared-core) instance\ntype.\n\nSystem tools might report the total physical memory of the underlying host\nmachine. This is different from the instance's enforced memory limit, which is\nthe maximum memory available to the instance's isolated sandbox environment.\nExceeding this \"Memory Limit\", not the host's total RAM, might cause\nperformance issues.\n| **Important:** When you [view your bill](/billing/docs/how-to/reports), you will not see the names of the individual instance classes in your billing line items. Instead, you see instance hours from the \"B\" classes reported as \"Backend Instances\", and instance hours from the \"F\" classes reported as \"Frontend Instances\". The bill will apply the appropriate multiple of instance hours for each instance class you use. For example, if you use an F4 instance for one hour, you see \"Frontend Instance\" billing for four instance hours at the F1 rate.\n\nQuotas and limits\n-----------------\n\nThe standard environment gives you 1 GiB of\ndata storage and traffic for free, which can be increased by enabling paid\napplications. However, some features impose limits unrelated to quotas to\nprotect the stability of the system. For more details on quotas, including how\nyou can edit them to suit your needs, see [Quotas](/appengine/docs/standard/quotas).\n\nTry it for yourself\n-------------------\n\n\nIf you're new to Google Cloud, create an account to evaluate how\nApp Engine performs in real-world\nscenarios. New customers also get $300 in free credits to run, test, and\ndeploy workloads.\n[Try App Engine free](https://console.cloud.google.com/freetrial)"]]