In January 2022, we are working on implementing a change to the Container Registry on GitLab.com. The GitLab Container Registry will now interface with the Google Cloud Content Delivery Network CDN to optimize costs and improve performance. When implemented, the system will redirect download requests for blobs stored in the GitLab Container Registry to Google Cloud CDN instead of Google Cloud Storage, as is the case today. We expect GitLab CI users to benefit from faster image downloads for those image layers retrieved from edge caches closest to your location.
Disclaimer This blog contains information related to upcoming products, features, and functionality. It is important to note that the information in this blog post is for informational purposes only. Please do not rely on this information for purchasing or planning purposes. As with all projects, the items mentioned in this blog and linked pages are subject to change or delay. The development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab.
How will this work?
Authorized requests for downloading a blob and checking if a blob exists in the GitLab.com Container Registry will be redirected to the Google Cloud CDN at
cdn.registry.gitlab.com. So far, these requests were redirected to Google Cloud Storage at
The exception is for requests originating from within the Google Cloud Platform. These will continue to be redirected to Cloud Storage.
When will this change occur?
We expect to start the transition in late January 2022. This will be a gradual transition using a percentage-based rollout, so you can expect an increasing number of your requests to be redirected to Google Cloud CDN instead of Google Cloud Storage until all of them are served by the former.
You can follow along with the progress of this initiative and raise any questions in this issue. We will post more detailed timelines in that issue as we refine the rollout plan.
How does this change impact you?
Since most client tools, such as the Docker CLI, handle redirections automatically, this change will be imperceptible for most users on GitLab.com.
However, if you are allow listing
storage.googleapis.com, you will need to add
cdn.registry.gitlab.com to the allow list as well. Please keep both endpoints on your allow list for the time being, as the transition will be gradual. There will be another blog post once the transition is complete.
Cover image by Pat Kay on Unsplash
“GitLab.com Container Registry to use Google Cloud #CDN” – Darren Eastman
Click to tweet