Mantieni tutto organizzato con le raccolte
Salva e classifica i contenuti in base alle tue preferenze.
Per eseguire il deployment di una versione del codice sorgente e dei file di configurazione che compongono un
servizio nella tua applicazione, devi prima eseguire il commit dei file, creare un
file di configurazione e autenticarti prima di poter inviare la richiesta HTTP POST.
L'API App Engine Admin richiede di caricare e mettere in fase tutte le risorse della versione in un bucket Cloud Storage, inclusi i file di codice, i file statici e eventuali file Docker utilizzati. Devi anche creare un file di configurazione in formato JSON contenente la definizione della versione e un manifest di tutte le risorse in Cloud Storage. L'ultimo
passaggio prima di poter eseguire il deployment della versione nell'applicazione App Engine è
l'autenticazione con il progetto Google Cloud.
Per ulteriori informazioni sulle versioni e su come formano i servizi nella tua applicazione, consulta la Panoramica di App Engine.
Prima di poter eseguire il deployment delle app, devi essere in grado di autorizzare le richieste HTTP. Per ulteriori informazioni sulla configurazione del Google Cloud
progetto, sulla creazione delle credenziali e sull'ottenimento dei token di accesso, consulta
Accedere all'API.
Eseguire il deployment delle versioni nell'applicazione App Engine
Per eseguire il deployment di una versione della tua app con l'API Admin:
[[["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\u003eDeploying a version of an app in App Engine involves staging files, creating a configuration file, and authenticating before sending an HTTP \u003ccode\u003ePOST\u003c/code\u003e request.\u003c/p\u003e\n"],["\u003cp\u003eAll version resources, including code, static files, and Dockerfiles, must be uploaded and staged in a Cloud Storage bucket.\u003c/p\u003e\n"],["\u003cp\u003eA JSON configuration file detailing the version and its resources in Cloud Storage is required for deployment.\u003c/p\u003e\n"],["\u003cp\u003ePrior to deploying, users must authenticate with their Google Cloud Platform project and authorize HTTP requests.\u003c/p\u003e\n"],["\u003cp\u003eThe deployment process includes uploading resources to Cloud Storage, creating a configuration file, and sending an HTTP request.\u003c/p\u003e\n"]]],[],null,["# Deploy your apps with the Admin API\n\nTo deploy a *version* of the source code and configuration files that make up a\n*service* in your application, you must first stage your files, create a\nconfiguration file, and authenticate before you can send the HTTP `POST`\nrequest.\n\nThe App Engine Admin API requires that you upload and stage all of your version's\nresources in a [Cloud Storage](/storage) bucket, including the relevant\ncode files, static files, and any Dockerfiles that are used. You must also\ncreate a JSON formatted configuration file that contains the definition of your\nversion and a manifest of all your resources in Cloud Storage. The last\nstep before you can deploy your version to your App Engine application is to\nauthenticate with your Google Cloud Platform project.\n\nFor more information about versions and how they make up the services in your\napplication, see the\n[Overview of App Engine](/appengine/docs/an-overview-of-app-engine).\n\nTo manually deploy your app, see\n[Deploying Your App](/appengine/docs/standard/testing-and-deploying-your-app).\n\nBefore you begin\n----------------\n\nBefore you can deploy your apps, you must be able to authorize your HTTP\nrequests. For more information about configuring your Google Cloud\nproject, creating credentials, and obtaining access tokens, see\n[Accessing the API](/appengine/docs/admin-api/accessing-the-api).\n\nDeploying versions to your App Engine application\n-------------------------------------------------\n\nTo deploy a version of your app with the Admin API:\n\n1. [Upload your app's resources to Cloud Storage.](/storage/docs/uploading-objects#rest-upload-objects)\n2. [Create a configuration file that defines your deployment.](/appengine/docs/admin-api/creating-config-files)\n3. [Create and send the HTTP request for deploying your app.](/appengine/docs/admin-api/apis)"]]