Enable billing and APIs

Last reviewed 2023-03-14 UTC

You must have the Billing Account Administrator role (roles/billing.admin) and complete a series of one-time tasks per project and VPC network to create a connection from the user's environment to the Cloud Volumes Service. For more information, see Pricing.

  1. In the Google Cloud console, on the project selector page, select or create a Google Cloud project.

    Go to the project selector page

  2. Make sure that billing is enabled for your project. Learn how to confirm that billing is enabled for your project.

  3. In the Google Cloud console, open Cloud Shell.

    Open Cloud Shell
  4. In Cloud Shell, run the following command to determine whether the Service Networking API, Service Management API, and the NetApp Cloud Volumes API are enabled in your project:

    gcloud --project=my-cvs-prj services list

    If the APIs are not listed in the output, then they are not enabled.

  5. If the Service Networking API and the Service Management API are not already enabled, then run the corresponding commands in Cloud Shell to enable them:

        gcloud --project=my-cvs-prj services enable servicenetworking.googleapis.com
        gcloud --project=my-cvs-prj services enable servicemanagement.googleapis.com
  6. If the NetApp Cloud Volumes API isn't already enabled, run the following command in Cloud Shell to enable it:

        gcloud --project=my-cvs-prj services enable cloudvolumesgcp-api.netapp.com
  7. For more information, see Service Networking API, Service Management API and NetApp Cloud Volumes API.

  8. Grant the Cloud Volumes Service IAM role to your designated volume administrators.

What's next