Creating a Google Cloud Platform storage connection
Create a connection to a Google Cloud Platform (GCP) S3 storage connection so that Cognos Analytics users can save their reports on the cloud.
For more information about GCP storage connections, see Cloud Storage Overview (https://cloud.google.com/storage/docs).
Step 1: Create a Google Cloud Platform account
- Go to the Google Cloud Platform page (https://console.cloud.google.com).
- Follow the instructions to create a GCP account.
Step 2: Create a project
- Go to the Project selector page (https://console.cloud.google.com/projectselector2)
- Click CREATE PROJECT.
- Enter a project name and then click CREATE.
Step 3: Create a storage service account
- In the Navigation menu, select Storage to go to your Storage browser page (https://console.cloud.google.com/storage/browser)
- .Click Enable Billing, if you haven't already enabled billing.
- Click CREATE SERVICE ACCOUNT.
- Enter a service account name and description.Note: The Service account ID field is populated automatically.
- Click CREATE.
- Grant the service account access to your project.
- Grant users access to the service account.
- Click DONE.
- Enter a service account name and description.
Step 4: Create an HMAC key
Create an HMAC key for your service account.- In the Google Cloud console, go to the Cloud Storage Buckets page.
- Click Settings.
- Select the Interoperability tab.
- In the Request endpoint section, copy and save in a text file the value in the Storage
URI field.Note: You will use this value when you create the storage connection in Cognos Analytics.
- Click + Create a key for a service account.
- Select the service account you want the HMAC key to be associated with.
- Click Create key.
- Copy and save in the text file the values of these two fields:
- Access key
- Secret
Note: You will use these values when you create the storage connection in Cognos Analytics.
Property in GCP service credentials | Related property when you configure Cognos Analytics |
---|---|
Access key |
Access key ID |
Secret |
Secret access key |
Storage URI |
Service endpoint |
Step 5: Create a bucket
Follow the steps in Creating storage buckets. |
Tips for Cognos Analytics administrators:
- When you select from the Location list, make a note of the region. You must select this same value later when you configure Cognos Analytics to add a location to your connection.
- In the Access control field, choose Uniform, so that all content in the bucket has the same permissions.
-
In the Google-managed key, and then click CREATE.
field, select