- 12 Mar 2024
- 3 Minutes to read
- Print
Configure Cloud Storage Bucket for Reporting
- Updated on 12 Mar 2024
- 3 Minutes to read
- Print
To integrate SaaSify with GCP Marketplace for reporting, you need to ensure that the below steps are completed :
Create a Cloud Storage Bucket in GCP (Optional)
Assign permissions to the Cloud Storage Bucket in GCP.
Add the Cloud Storage Bucket as Destination in GCP Producer Portal
Roles required:
Storage Admin
Editor permission on the project level
Create a Cloud Storage Bucket (Optional)
Note: Only required, if you need to create a new Bucket for reporting purpose.
You need to be a Storage Admin to create a Cloud Storage Bucket in GCP. You can refer to the steps mentioned in the following link to create a Cloud Storage Bucket: https://cloud.google.com/storage/docs/creating-buckets#create_a_new_bucket
If you already have a Cloud Storage Bucket and would like to use the same for reporting, then you can proceed directly to the below section.
Assigning permissions to the Cloud Storage Bucket
Once you have the Cloud Storage Bucket created, now you need to assign the permission required to integrate SaaSify with GCP Marketplace for reporting. Follow the below steps to assign the permission:
Navigate to GCP Console - Buckets
Select the correct marketplace project in the project list
Select the newly created or existing Cloud Storage Bucket from the Buckets list
Navigate to the Permissions section
Click on Grant Access. It will allow us to Add principals and Assign roles to the principals
Enter the New principals as previously copied Service Account under Add principals
The Service Account will be in the following format: saasify-marketplace-service@<project name>.iam.gserviceaccount.com
Under Assign roles, click on the Select a role dropdown
In the Select a role dropdown, search for “Storage Object Viewer” and select the same
Click on Save.
Adding Cloud Storage Bucket as Destination for Reporting
As the above steps are now completed, you need to have the Cloud Storage bucket set up as the destination to start receiving the reporting. You must be a owner for the destination.
When you set up your destination, your Cloud Storage Administrator must ensure that the destinations can be shared with the google.com and system.gserviceaccount.com domains.
When you add your report destination, the following accounts are added as editors or storage object administrators, as applicable:
The cloud-marketplace-stats@system.gserviceaccount.com service account, which uploads reports to the bucket.
The gcp-marketplace-business-operations@google.com Google group, to debug and troubleshoot issues that you might have with reports.
Follow the steps below to set up the reporting in GCP Producer Portal:
Navigate to the GCP Producer Portal - Reports
Under Configure Reports, Click on Add A Destination
In the New Destination, select Google Cloud Storage as the Destination location
Click on Browse in Select a bucket
Select the newly created or existing bucket (that you would like to use for reporting) from the Buckets list in Select folder
Click on Select
Under Reports to export, you can enable the below reports:
Usage and disbursement
Detailed disbursement (New)
Customer incremental insights (New and improved Customer insights)
Customer insights (Legacy)
Click on Done.
This will set up the Cloud Storage Bucket for reporting in GCP Marketplace.
References:
https://cloud.google.com/storage/docs/creating-buckets#create_a_new_bucket
https://cloud.google.com/marketplace/docs/partners/reports/set-up-reports