App Engine standard environment

The App Engine standard environment is based on container instancesrunning on Google's infrastructure. Containers are preconfigured with one ofseveral available runtimes.

The standard environment makes it easy to build and deploy anapplication that runs reliably even under heavy load and with large amounts ofdata.

Applications run in a secure, sandboxed environment, allowing thestandard environment to distribute requests across multipleservers and scale servers to meet traffic demands. Your application runswithin 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:

Instance classes

Theinstance class determines the amount of memory and CPU available to eachinstance, the amount offree quota, and thecost per hour after your appexceeds the free quota.

For all runtime generations, the memory limit includes the memory your app usesalong with the memory that the runtime itself needs to run your app. The Javaruntimes use more memory to run your app than other runtimes.

To override the default instance class, use theinstance_classsetting in yourapp'sapp.yaml file.

Instance ClassMemory LimitCPU LimitSupported Scaling Types
F1 (default)384 MB600 MHzautomatic
F2768 MB1.2 GHzautomatic
F41536 MB2.4 GHzautomatic
F4_1G3072 MB2.4 GHzautomatic
B1384 MB600 MHzmanual, basic
B2 (default)768 MB1.2 GHzmanual, basic
B41536 MB2.4 GHzmanual, basic
B4_1G3072 MB2.4 GHzmanual, basic
B83072 MB4.8 GHzmanual, basic

The CPU values and limits reported in the instance class table don't reflect afixed clock speed in the CPU. Instead, they represent the instance'sallocated relative compute power or performance tier on theshared-core instancetype.

System tools might report the total physical memory of the underlying hostmachine. This is different from the instance's enforced memory limit, which isthe maximum memory available to the instance's isolated sandbox environment.Exceeding this "Memory Limit", not the host's total RAM, might causeperformance issues.

Important: When youview your bill, you will not see the names of theindividual 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 eachinstance 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.

Quotas and limits

The standard environment gives you 1 GiB ofdata storage and traffic for free, which can be increased by enabling paidapplications. However, some features impose limits unrelated to quotas toprotect the stability of the system. For more details on quotas, including howyou can edit them to suit your needs, seeQuotas.

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.

Try App Engine free

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-15 UTC.