To protect Google Cloud Bigtable resources, Commvault requires a Google Cloud service account with the appropriate Identity and Access Management (IAM) permissions. The required permissions vary depending on whether the service account is used for backup operations or restore operations.
Google Cloud IAM permissions determine the actions that Commvault can perform on Google Cloud Bigtable resources. Depending on the operation, different permissions are required for backup and restore workflows.
For information about creating and assigning custom IAM roles in Google Cloud, see the Google Cloud IAM documentation.
Configure IAM Permissions for Google Cloud Bigtable Protection
Before You Begin
-
Open Google Cloud Shell in the Google Cloud console.
-
Sign in to your Google Cloud account, if prompted.
-
Download the following custom role definition files:
Create a Service Account and Custom IAM Roles
-
Set the active Google Cloud project.
gcloud config set project PROJECT_ID -
Create a service account.
gcloud iam service-accounts create SERVICE_ACCOUNT_ID -
Create the Backup custom role.
gcloud iam roles create Commvault_GoogleCloud_BigTableBackupRole \ --project=PROJECT_ID \ --file=Commvault_GoogleCloud_BigTableBackupRole.yaml -
Create the Restore custom role.
gcloud iam roles create Commvault_GoogleCloud_BigTableRestoreRole \ --project=PROJECT_ID \ --file=Commvault_GoogleCloud_BigTableRestoreRole.yaml -
Assign the Backup custom role to the service account.
gcloud projects add-iam-policy-binding PROJECT_ID \ --member="serviceAccount:SERVICE_ACCOUNT_EMAIL_ADDRESS" \ --role="projects/PROJECT_ID/roles/Commvault_GoogleCloud_BigTableBackupRole" -
Assign the Restore custom role to the service account.
gcloud projects add-iam-policy-binding PROJECT_ID \ --member="serviceAccount:SERVICE_ACCOUNT_EMAIL_ADDRESS" \ --role="projects/PROJECT_ID/roles/Commvault_GoogleCloud_BigTableRestoreRole" -
Create a service account key.
gcloud iam service-accounts keys create KEY_FILE_NAME.json \ --iam-account=SERVICE_ACCOUNT_EMAIL_ADDRESS -
Download the service account key.
cloudshell download KEY_FILE_NAME.json
Placeholder Values
| Placeholder | Description |
|---|---|
PROJECT_ID |
The ID of your Google Cloud project. |
SERVICE_ACCOUNT_ID |
The name of the service account to create. |
SERVICE_ACCOUNT_EMAIL_ADDRESS |
The email address of the service account. |
KEY_FILE_NAME |
The name of the JSON key file to create. |