Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Untuk men-deploy versi kode sumber dan file konfigurasi yang membentuk
layanan di aplikasi, Anda harus terlebih dahulu melakukan stage pada file, membuat
file konfigurasi, dan melakukan autentikasi sebelum dapat mengirim
permintaan POST HTTP.
App Engine Admin API mengharuskan Anda mengupload dan menempatkan semua resource versi
di bucket Cloud Storage, termasuk file kode yang relevan, file statis, dan setiap Dockerfile yang digunakan. Anda juga harus
membuat file konfigurasi berformat JSON yang berisi definisi
versi dan manifes semua resource di Cloud Storage. Langkah terakhir
sebelum Anda dapat men-deploy versi ke aplikasi App Engine adalah
melakukan autentikasi pada project Google Cloud Platform.
Untuk mengetahui informasi selengkapnya tentang versi dan cara versi membentuk
layanan di aplikasi Anda, lihat
Ringkasan App Engine.
Sebelum dapat men-deploy aplikasi, Anda harus dapat mengizinkan permintaan HTTP. Untuk mengetahui informasi selengkapnya tentang cara mengonfigurasi project Google Cloud, membuat kredensial, dan mendapatkan token akses, lihat
Mengakses API.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 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)"]]