Hello Nels, We’re writing to inform you about an important change that will impact your App Engine app. The older App Engine projects could be using Google Container Registry to store container images created from the deployed source code. Google Container Registry is being discontinued and will be replaced by Artifact Registry. This means if you have content in Google Container Registry, you need to follow the instructions below to allow App Engine to automatically migrate your deployment flows. We’ve provided additional information below to guide you through this change. What you need to knowWhen deploying App Engine, Cloud Build transforms source code into container images which may be stored in Google Container Registry. Artifact Registry is the next-generation service for storing container images, offering improved regionalized storage and security features. Going forward, Artifact Registry will be the container repository used by App Engine. After a successful App Engine application deployment: - The App Engine standard environment doesn’t require pulling from the container repository
- The App Engine flexible environment pulls from the container repository on each instance startup
Upcoming changes: Starting March 5, 2025: - New deployments will start using Artifact Registry instead of Google Container Registry for storing application images.
After March 18, 2025: - Google Container Registry will begin shut down, preventing App Engine flexible environment instances from starting.
What you need to doIf your project already uses Artifact Registry for gcr.io urls, either because you have run the automated migration tooling, or because it was created after May 2024, you can ignore the following instructions for that project. For projects which are not yet migrated you will need to follow these steps to enable App Engine to automatically migrate your deployment flows. App Engine standard environment users: - For standard deployments to work correctly with Artifact Registry:
- New deployments will be able to use Artifact Registry, if any of the following roles are present in the service account associated with deployments:
If none of these roles are present, grant the Artifact Registry Writer role (roles/artifactregistry.writer ) to your deploying service account. Potential Impact: If the preceding steps aren't completed before the Google Container Registry shuts down, you won't be able to deploy new versions of your App Engine standard application. Existing App Engine standard applications will continue to run. App Engine flexible environment users: For flexible deployments to Artifact Registry to work correctly: - New deployments will go to the Artifact Registry if any of the following roles are present in the service account associated with deployments:
Potential Impact: If the preceding actions are not completed before the Google Container Registry shutdown, deploying App Engine flexible applications, scaling instances, and restarting instances will fail. We’re here to helpIf you have any questions or require assistance, please contact Google Cloud Support. Thanks for choosing App Engine. |
No comments:
Post a Comment