Enable the service

This page describes the steps to enable and disable App Lifecycle Manager.

Enabling service

  1. 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.
  2. In the Google Cloud console, on the project selector page, select or create a Google Cloud 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 the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  3. Verify that billing is enabled for your Google Cloud project.

  4. In the Google Cloud console, on the project selector page, select or create a Google Cloud 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 the resourcemanager.projects.create permission. Learn how to grant roles.

    Go to project selector

  5. Verify that billing is enabled for your Google Cloud project.

  6. Install and initialize Google 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:

    gcloud version
  7. Enable the API from the Google Cloud console or by using gcloud CLI:
    1. In the Google Cloud console, to enable the required APIs, on the Get started tab of the Overview page, click Enable App Lifecycle Manager APIs.
    2. Using gcloud CLI, to enable the required APIs, run the command:

            gcloud services enable saasservicemgmt.googleapis.com
            gcloud services enable artifactregistry.googleapis.com
            gcloud services enable cloudbuild.googleapis.com
            gcloud services enable storage.googleapis.com
            gcloud services enable developerconnect.googleapis.com
            gcloud services enable config.googleapis.com
            gcloud services enable designcenter.googleapis.com
            gcloud services enable apphub.googleapis.com
            gcloud services enable cloudresourcemanager.googleapis.com
            gcloud services enable iam.googleapis.com
            gcloud services enable cloudasset.googleapis.com
            gcloud services enable monitoring.googleapis.com
            gcloud services enable logging.googleapis.com
            gcloud services enable servicehealth.googleapis.com
            

      You need to enable all of these APIs because the services are used by App Lifecycle Manager.

  8. To use App Lifecycle Manager, you also need the correct permissions. See Access control with IAM for more details.

What's next