Stay organized with collections
Save and categorize content based on your preferences.
Store dependencies for your App Engine applications in Artifact Registry.
Declare dependencies in Artifact Registry in your Node.js and Python
applications.
Deploy your application to App Engine leveraging Cloud Build.
Required permissions
App Engine flexible environment
If App Engine flexible environment and Artifact Registry are in the same project, the
App Engine default service account has permissions to
pull containers from repositories.
If you also use Cloud Build to containerize your applications and store
them in Artifact Registry, grant the Artifact Registry Writer role
to the Cloud Build service account.
App Engine standard environment:
App Engine standard environment uses the Cloud Build service account to
build and deploy your applications, including integration of
dependencies stored in Artifact Registry.
If App Engine and Artifact Registry are in the same
Google Cloud project, the service account has the necessary
permissions to download from repositories.
If App Engine and Artifact Registry are in different projects,
you must grant repository access to the service account.
To provide read-only access for downloading dependencies, grant the
Artifact Registry Reader role to the Cloud Build service
account.
If you also use Cloud Build to upload artifacts to repositories,
grant the Artifact Registry Writer role to the Cloud Build service
account.
Configure access to dependencies
For standard environment applications, see the App Engine standard environment documentation for
npm and Python configuration instructions.
[[["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-03-06 UTC."],[[["Artifact Registry allows you to store dependencies for your App Engine applications."],["You can declare dependencies within Artifact Registry for both Node.js and Python applications, and then leverage Cloud Build to deploy your application to App Engine."],["For App Engine flexible environment, the default service account has permissions to pull containers from Artifact Registry when they're in the same project, and if using Cloud Build to containerize apps, you need to grant the Cloud Build service account the Artifact Registry Writer role."],["In the App Engine standard environment, the Cloud Build service account handles building and deploying applications, including dependencies from Artifact Registry, and if they're in different projects, you'll need to grant the service account repository access, with options for read-only or writer roles."],["To configure dependency access, you can refer to the App Engine standard environment documentation for npm and Python, and to include dependencies in Cloud Build runs, you can integrate with Cloud Build."]]],[]]