Enable and disable the service Stay organized with collections Save and categorize content based on your preferences.
This page describes the steps to enable and disable Artifact Registry.
If you use Container Registry, you can enable Artifact Registry in the sameproject. Each service operates independently.SeePricing for information about charges for Artifact Registry.
See the Artifact Analysis documentation for information about enablingArtifact Analysis APIs andpricing for vulnerability scanning.
Enabling service
- Sign in to your Google Cloud account. If you're new to Google Cloud, create an account to evaluate how our products perform in real-world scenarios. New customers also get $300 in free credits to run, test, and deploy workloads.
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Note: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
- Create a project: To create a project, you need the Project Creator role (
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission.Learn how to grant roles.
Verify that billing is enabled for your Google Cloud project.
In the Google Cloud console, on the project selector page, select or create a Google Cloud project.
Note: If you don't plan to keep the resources that you create in this procedure, create a project instead of selecting an existing project. After you finish these steps, you can delete the project, removing all resources associated with the project.Roles required to select or create a project
- Select a project: Selecting a project doesn't require a specific IAM role—you can select any project that you've been granted a role on.
- Create a project: To create a project, you need the Project Creator role (
roles/resourcemanager.projectCreator), which contains theresourcemanager.projects.createpermission.Learn how to grant roles.
Verify that billing is enabled for your Google Cloud project.
- Install and initializeGoogle Cloud CLI if it is not already installed. For an existing installation, update components of the Google Cloud CLI with the command:
gcloud components update.To check your version of the gcloud CLI, run the command:
Note: On Ubuntu, use theDebian package to install gcloud CLI. The gcloud CLI snap package does not includegcloud version
kubectlor extensions to authenticate with Artifact Registry using the gcloud CLI. - Enable the API fromGoogle Cloud console or with the following
gcloudcommand:gcloud services enable artifactregistry.googleapis.com
Disabling service
Before you disable the Artifact Registry API, ensure that any artifactsthat you want to keep are available in another location. It is recommended thatyoudelete repositories before disabling the API.
When you disable the Artifact Registry API, the following conditions apply:
- Repositories and artifacts in repositories become inaccessible.
- Data might be deleted within 7 days after the API is disabled.
To disable the API from the Google Cloud console:
console
- Go to theAPI Overview page for Artifact Registry.
- Select the project where the API is enabled.
- ClickManage.
- ClickDisable API.
gcloud
Run the following command to disable the API for your current project:
gcloudservicesdisableartifactregistry.googleapis.comWhat's next
- Configureaccess permissions for repositories
- Configure authentication to repositories:
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-02-19 UTC.