Google Cloud · Containers

Artifact Registry

A private registry for container images and language packages, with vulnerability scanning and IAM-controlled access.

On the Google Cloud Associate Cloud Engineer exam listAutomation

What it is and what problem it solves

Artifact Registry stores container images (Docker and OCI) and packages for Maven, npm, Python, Go, apt and yum in repositories that are regional or multi-regional. Access is controlled with IAM per repository. Remote repositories cache upstream registries such as Docker Hub, and virtual repositories combine several behind one URL. It replaced Container Registry, which is retired.

When to use it

  • Storing images built by Cloud Build or other CI for GKE, Cloud Run and Compute Engine.
  • Private language packages shared across teams.
  • Caching public dependencies to avoid upstream rate limits and outages.
  • Scanning images for known vulnerabilities before deployment.

When to avoid it

  • General file or artifact storage that isn't a package format: Cloud Storage.
  • Public distribution to the whole internet at large scale without considering egress costs.

Cost model

What you pay for

  • Storage per GB-month beyond a free amount.
  • Network egress for pulls across regions or to the internet.
  • Vulnerability scanning per image scanned.

Where it is cost-efficient

Repositories in the same region as the clusters and services that pull from them.

Where costs grow

Thousands of old image versions never cleaned up; cross-region pulls.

Cost controls and common surprises

Cleanup policies that delete untagged or old versions, and regional repositories close to runtimes.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

IAM per repository, encryption at rest (CMEK optional), Artifact Analysis vulnerability scanning.

What you configure

Grant writer roles only to CI identities, reader roles to runtimes; pin deployments to digests; use Binary Authorization to require attested images.

Exam cues and common confusions

  • Where to store container images today: Artifact Registry (Container Registry is retired).
  • GKE can't pull an image: give the node or workload identity Artifact Registry Reader on the repository.
  • Scan images for vulnerabilities: Artifact Analysis.

Related

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Google. Google Cloud and service names are trademarks of Google LLC.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake