Provider Connections
Before onboarding your cloud accounts to CloudPi, you must complete the provider-specific connection setup. This ensures the necessary permissions, billing exports, and credentials are properly configured in your cloud environment.
Overview
Each cloud provider requires specific configurations to enable CloudPi to access billing data, metrics, and resources. Complete the relevant provider connection setup before proceeding with cloud onboarding.
| Provider | Key Requirements | Setup Guide |
|---|---|---|
| AWS | IAM Role, CUR Export, Cost Allocation Tags | Connect AWS |
| Azure | App Registration, Cost Export, Storage Access | Connect Azure |
| GCP | Service Account, BigQuery Export, IAM Roles | Connect GCP |
Connect AWS
Connect AWS to CloudPi to ingest Cost and Usage Report (CUR) data and enable detailed cost reporting, allocation, and optimization.
Prerequisites
Before starting AWS onboarding, ensure you have the following:
- AWS Billing Access - Permission to create IAM roles and manage CUR exports
- CUR Configuration - Cost and Usage Report enabled with resource IDs and a supported format (Parquet recommended)
- Cost Allocation Tags - Tags activated in AWS for proper cost categorization
Configuration Workflow
- Configure the AWS Cost and Usage Report (CUR)
- Activate cost allocation tags
- Create a cross-account IAM role for CloudPi
- Grant CloudPi access to the CUR S3 bucket
- Add AWS details in CloudPi
- Validate ingestion and backfill historical data if needed
Step 1 - Configure the AWS CUR
- Open Billing and Cost Management in AWS
- Create a new Cost and Usage Report
- Enable Include resource IDs
- Set Time granularity to Hourly
- Enable Refresh automatically
- Choose Parquet format and deliver to an S3 bucket
Step 2 - Activate Cost Allocation Tags
- In AWS, navigate to Cost Allocation Tags
- Activate the tags required for reporting and cost assignment
Step 3 - Create a Cross-Account IAM Role
- Use the CloudPi-provided template or IAM instructions
- Use the External ID provided by CloudPi
- Apply least-privilege permissions required for CUR access
Step 4 - Grant CloudPi Access to the CUR Bucket
- Update the S3 bucket policy to allow the CloudPi role to read CUR files
- Ensure the role has permission to list and read report objects
Step 5 - Connect in CloudPi
- Go to Integrations or Cloud Onboarding
- Select AWS and enter:
- Account ID
- Role ARN
- External ID
- CUR bucket name and report prefix
Step 6 - Validate and Backfill
- Confirm the integration status is Connected
- Validate data in Billing Hub and Cost Assignment
- If historical filtering is required, backfill prior CUR data
For detailed instructions, see Connect AWS.
Connect Azure
Connect Azure to CloudPi to ingest cost exports and enable detailed billing analysis and reporting.
Prerequisites
Before starting Azure onboarding, ensure you have the following:
- Azure Billing Access - Permission to create app registrations and service principals
- Cost Management Exports - Ability to create or manage Cost Management exports and storage access
- Billing Account Type - Identify your billing account type (CSP, EA, MCA, or standard)
Configuration Workflow
- Create a service principal (app registration)
- Grant reader permissions at the appropriate scope
- Create a Cost Management export
- Grant CloudPi read-only access to the export storage
- Add Azure credentials and export details in CloudPi
- Validate ingestion and backfill if needed
Step 1 - Create a Service Principal
- Create an App Registration in Microsoft Entra ID
- Generate a Client Secret
- Record Tenant ID and Client ID
Step 2 - Grant Reader Permissions
Assign the Reader role to the service principal at the billing scope or subscription scope required for the export.
Step 3 - Create the Billing Export
- Open Cost Management > Exports
- Create a new export to a storage account
- Confirm export frequency and format meet CloudPi requirements
Step 4 - Grant Storage Access
Grant the service principal read-only access to the storage container holding the export data.
Step 5 - Connect in CloudPi
- Go to Integrations or Cloud Onboarding
- Select Azure and enter:
- Tenant ID
- Client ID
- Client Secret
- Billing account and export storage details
Step 6 - Validate and Backfill
- Confirm the integration status is Connected
- Validate data in Billing Hub
- If historical data is required, enable export backfill if available
For detailed instructions, see Connect Azure.
Connect GCP
Connect Google Cloud to CloudPi to ingest BigQuery billing exports and enable cost analysis and reporting.
Prerequisites
Before starting GCP onboarding, ensure you have the following:
BigQuery Billing Export Enabled
GCP billing export must be enabled to a BigQuery dataset containing detailed billing data.
IAM Permissions to Configure Access
Permissions to:
- Create a service account
- Assign IAM roles on the billing project
- Grant access to the BigQuery billing dataset
GCP Service Account with Credentials
- A customer-created GCP service account with the required IAM roles assigned
- A service account key file (credentials.json) generated from this account, which will be provided to CloudPi for authentication
Configuration Workflow
- Enable BigQuery billing export
- Grant CloudPi access to the billing project
- Grant CloudPi access to the BigQuery dataset
- (Optional) Grant viewer access for active resources
- Add GCP details in CloudPi
- Validate ingestion and backfill if needed
Step 1 - Enable BigQuery Billing Export
- Open Billing in GCP
- Enable detailed billing export to a BigQuery dataset
- Confirm dataset and project IDs
Step 2 - Grant Project-Level Access
Grant the CloudPi service account BigQuery Job User on the billing project.
Step 3 - Grant Dataset Access
Grant the CloudPi service account BigQuery Data Viewer on the billing dataset.
Step 4 - Optional: Active Resource Access
If you want active resource visibility, grant the Viewer role on the relevant projects.
Step 5 - Connect in CloudPi
- Go to Integrations or Cloud Onboarding
- Select GCP and enter:
- Billing project ID
- Dataset name
- Service account details (if required)
Step 6 - Validate and Backfill
- Confirm the integration status is Connected
- Validate data in Billing Hub and Dashboards
- If historical filtering is required, backfill older exports when available
For detailed instructions, see Connect GCP.
Troubleshooting
If data does not appear after completing the connection setup:
AWS: - Verify CUR delivery to S3 - Confirm tag activation - Recheck IAM role trust and bucket policies
Azure: - Verify the export is running and storage access is correct - Confirm the reader role is applied at the correct scope
GCP: - Verify billing export is active - Confirm dataset permissions for the CloudPi service account
For assistance, contact support@cloudpi.ai.