Setting up and adding GCP accounts to Cloud Manager
If you want to enable data tiering on a Cloud Volumes ONTAP system, you need to provide Cloud Manager with a storage access key for a service account that has Storage Admin permissions. Cloud Manager uses the access keys to set up and manage a Cloud Storage bucket for data tiering.
Setting up a service account and access keys for Google Cloud Storage
A service account enables Cloud Manager to authenticate and access Cloud Storage buckets used for data tiering. The keys are required so that Google Cloud Storage knows who is making the request.
-
Open the GCP IAM console and create a service account that has the Storage Admin role.
-
Go to GCP Storage Settings.
-
If you're prompted, select a project.
-
Click the Interoperability tab.
-
If you haven't already done so, click Enable interoperability access.
-
Under Access keys for service accounts, click Create a key for a service account.
-
Select the service account that you created in step 1.
-
Click Create Key.
-
Copy the access key and secret.
You'll need to enter this information in Cloud Manager when you add the GCP account for data tiering.
Adding a GCP account to Cloud Manager
Now that you have an access key for a service account, you can add it to Cloud Manager.
-
In the upper right of the Cloud Manager console, click the Settings icon, and select Cloud Provider & Support Accounts.
-
Click Add New Account and select GCP.
-
Enter the access key and secret for the service account.
The keys enable Cloud Manager to set up a Cloud Storage bucket for data tiering.
-
Confirm that the policy requirements have been met and then click Create Account.
You can now enable data tiering on individual volumes when you create, modify, or replicate them. For details, see Tiering inactive data to low-cost object storage.
But before you do, be sure that the subnet in which Cloud Volumes ONTAP resides is configured for Private Google Access. For instructions, refer to Google Cloud Documentation: Configuring Private Google Access.