Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
L'ambiente standard di App Engine si basa su istanze container
in esecuzione sull'infrastruttura di Google. I container sono preconfigurati con uno dei diversi runtime disponibili.
L'ambiente standard semplifica la creazione e il deployment di un'applicazione che può essere eseguita in modo affidabile anche se sottoposta a un carico elevato e con grandi quantità di dati.
Le applicazioni vengono eseguite in un ambiente sicuro limitato tramite sandbox, consentendo all'ambiente standard di distribuire le richieste su più server e di applicare la scalabilità necessaria per soddisfare le esigenze legate all'intensità del traffico. L'applicazione viene eseguita all'interno del proprio ambiente sicuro, affidabile e indipendente dall'hardware, dal sistema operativo o dalla posizione fisica del server.
La classe di istanza determina la quantità di memoria e CPU disponibile per ogni istanza, la quantità di quota gratuita e il costo orario dopo che l'app supera la quota gratuita.
Per tutte le generazioni di runtime, il limite di memoria include la memoria utilizzata dall'app
insieme alla memoria necessaria al runtime stesso per eseguire l'app. I runtime Java
utilizzano più memoria per eseguire l'app rispetto ad altri runtime.
Per sostituire la classe di istanza predefinita, utilizza l'impostazione instance_class nel file app.yaml dell'app.
Classe istanza
Limite di memoria
Limite CPU
Tipi di scalabilità supportati
F1 (valore predefinito)
384 MB
600 MHz
automatico
F2
768 MB
1,2 GHz
automatico
F4
1536 MB
2,4 GHz
automatico
F4_1G
3072 MB
2,4 GHz
automatico
B1
384 MB
600 MHz
manuale, base
B2 (valore predefinito)
768 MB
1,2 GHz
manuale, base
B4
1536 MB
2,4 GHz
manuale, base
B4_1G
3072 MB
2,4 GHz
manuale, base
B8
3072 MB
4.8 GHz
manuale, base
I valori e i limiti della CPU riportati nella tabella della classe di istanza non riflettono una
velocità di clock fissa nella CPU. Rappresentano invece la potenza di calcolo relativa allocata o il livello di rendimento dell'istanza sul tipo di istanza shared-core.
Gli strumenti di sistema potrebbero segnalare la memoria fisica totale della macchina host sottostante. Questo limite è diverso dal limite di memoria forzato dell'istanza, che è
la memoria massima disponibile per l'ambiente sandbox isolato dell'istanza.
Il superamento di questo "limite di memoria", non della RAM totale dell'host, potrebbe causare
problemi di prestazioni.
Quote e limiti
L'ambiente standard offre 1 GiB di
spazio di archiviazione e traffico gratuiti, che possono essere aumentati attivando le
applicazioni a pagamento. Tuttavia, alcune funzionalità impongono limiti non correlati alle quote per
proteggere la stabilità del sistema. Per maggiori dettagli sulle quote, incluso come
modificarle in base alle tue esigenze, consulta Quote.
Provalo
Se non conosci Google Cloud, crea un account per valutare le prestazioni di App Engine in scenari reali. I nuovi clienti ricevono anche 300 $ di crediti per l'esecuzione, il test e
il deployment di workload senza costi aggiuntivi.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-04 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)"]]