Onboarding Archera on GCP | Help Center | Archera

Installation Guide for Archera's GCP Integration via Infrastructure Manager

Archera supports one integration per billing account. If you have multiple billing accounts, you'll need to create multiple integrations — if you have many, reach out to Archera for assistance.

The first step is to create an Archera account if you don't already have one. Visit app.archera.ai/signup, then select GCP as the cloud you'd like to onboard and proceed with this guide.

This guide is also a worksheet. As you work through the steps, jot down the seven values listed below — Organization ID, Project ID, Billing Account ID, Billing Export Project ID, and the three dataset IDs (Billing, Pricing, CUD). You'll enter all of them into the Archera installation form in Step 8. The Summary of values collected table at the end of the guide shows an example of what each one looks like.

Prerequisites

Before you start, please make sure you have:

During this installation, please make sure to write down the following values. You'll enter them into the Archera portal at the final step:

Value Description
Organization ID Your GCP organization identifier
Project ID Hosts required resources and default datasets
Billing Account ID The account this integration is associated with
Billing Export Project ID Project containing the billing, pricing, and CUD exports
Billing Export Dataset ID BigQuery dataset with the Billing export table
Pricing Export Dataset ID BigQuery dataset with the Pricing export (can match billing)
CUD Export Dataset ID BigQuery dataset with the CUD export (must be different)

Installation Steps

1. Start the integration on Archera's website

Open the Archera installation form. Navigate to app.archera.ai → Integration Settings → Google Cloud (GCP) → Create New Installation. Keep this tab open — you'll fill in the form with the values you collect in the following steps.

This step requires an Archera account. Please register at app.archera.ai. Sign up and reach out if you have any questions.

2. Organization & Project IDs

Best practice: Create a new dedicated project for the integration unless you already have pricing, billing, and CUD exports configured (see steps 4–5). We recommend creating a new project (e.g. archera-integration) to host the billing exports and Archera-deployed resources.

Make sure you are in the correct organization and project (use an existing project or create a new one) by clicking on the organization selector in the top left. Write down the Organization ID and Project ID.

3. Billing

Navigate to the Billing dashboard by searching in the top bar or the navigation bar on the left.

4. Billing Account ID

Write down the Billing Account ID of the billing account that you will be installing Archera on. If you do not see this page, you can find it by clicking the Billing account dropdown in the top left and selecting Manage billing accounts. Once you've recorded the ID, click on the correct billing account.

5. Billing Export

Navigate to the Billing Export subsection of the Billing dashboard.

6. Detailed Usage Cost, Pricing, and CUD Exports

Enable Detailed usage cost, Pricing, and Committed Use Discounts exports. Three distinct billing exports are needed for the Archera integration:

All three exports must reside in the same project. Although the exports reside in one project, they provide visibility into all projects and resources running under your billing account. When initially configured, these exports will reside in BigQuery. The Billing and Pricing exports can reside in the same BigQuery dataset, but the CUD export must reside in a separate dataset.

Heads up — backfill takes time. After you enable the exports, GCP can take 24–48 hours to start populating the underlying tables (gcp_billing_export_*, cloud_pricing_export, committed_use_discount_*). If verification fails with a "table not found" error shortly after enabling exports, this is expected — wait for the backfill.

7. Dataset IDs

Copy the Detailed usage cost export dataset ID, the Pricing export dataset ID, and the CUD export dataset ID. For each of the three exports, click the dataset link (e.g. billing_export) under Dataset name in the export settings panel — this opens the dataset details page, where the full dataset ID is shown at the top under the Details tab. Copy the entire dataset ID, e.g. project-001.export_dataset — the dataset ID will contain a project ID prefix.

8. Enter your values and copy the deployment link

Return to the Archera installation form you opened in Step 1. Enter the seven values you collected in Steps 2–7: Organization ID, Project ID, Billing Account ID, Billing Export Project ID, and the three dataset IDs (Billing, Pricing, CUD). Press Continue.

Archera will generate a Terraform deployment link based on your inputs. Copy the link — you'll paste it into GCP Cloud Shell in the next step to deploy the integration.

9. Deploying via Infrastructure Manager

Archera's onboarding process uses the GCP Infrastructure Manager service to deploy the required resources:

For a permission-by-permission breakdown, including the difference between Visibility Only and Full Access mode, see What Permissions Does the GCP Deployment Require?.

Visibility-only mode (optional). By default, the deployment grants Archera full access — read permissions plus the ability to place, modify, and cancel commitment orders on your behalf. If you'd prefer read-only access (Archera surfaces recommendations but never executes purchases), you can run the Terraform in visibility-only mode: download the Terraform source from the GCS URL referenced below (see the Advanced users note at the bottom of this step), set visibility_only = true in locals.tf, then deploy via the Infrastructure Manager console.

The Infrastructure Manager service requires a temporary service account with appropriate permissions to create and apply the required resources. The service account and its permissions will be removed automatically following deployment.

Paste the deployment link you copied in the previous step into GCP Cloud Shell. The link will look something like this:

gsutil cat gs://archera-production-onboarding/HvtzuOrtQ_ei4A519CdMwIb89iT30ci_QzhKEraR9Ps/deploy.sh | bash

If errors occur, copy the script output for Archera support. Retrying the script may overcome transient errors. For more detail, run in debug mode by inserting DEBUG=true into the command:

gsutil cat gs://archera-production-onboarding/.../deploy.sh | DEBUG=true bash

Advanced users may download the deployment script and Terraform source from the GCS gs:// URL for inspection. The Terraform deployment configuration can be run directly in the Infrastructure Manager console using the GCS URL (not including the deploy.sh portion) as the source.

10. Archera — Subscription

Search for "Archera" and subscribe to Archera - Subscription. Be sure to select the correct billing account corresponding to this install.

11. Sign up with Provider

Select "Sign up with provider". You will be redirected and asked to sign into a service called clazar.io — this is Archera's trusted partner for marketplace transactions.

12. Complete Registration with Archera

Fill in the required information to complete your registration with Archera, or log into your existing Archera account.

Summary of values collected

Use this table as a quick reference when filling out Archera's installation form:

Field Example
Organization ID 302636258399
Project ID archera-integration
Billing Account ID 01478A-B65ABA-BCFDED
Billing Export Project ID archera-integration
Billing Export Dataset ID archera-integration.billing_export
Pricing Export Dataset ID archera-integration.billing_export
CUD Export Dataset ID archera-integration.billing_export_cud

Troubleshooting

Pricing or CUD table not found on verification

If verification fails with an error like Table 'cloud_pricing_export' not found in pricing dataset, the export table simply hasn't been backfilled yet. GCP can take 24–48 hours after exports are enabled to start populating these tables. Wait and retry — no configuration change is required.

Infrastructure Manager deployment fails with "blueprint fetch failed"

An error such as blueprint fetch failed: invalid path: stat /workspace/apply/content: no such file or directory is a transient Infrastructure Manager issue. The deployment is idempotent — safely re-run the deploy script. It typically succeeds on the second attempt.

Deployment script URL has expired

The script URL provided by Archera is valid for 7 days. If more time has passed, the URL will return a not-found error. Contact your Archera representative to generate a fresh URL.

"Not Installed" on the Archera GCP integration page

Running the GCP deployment script alone does not register the installation with Archera. You must also complete Step 8 (submitting your values in the Archera installation form) using the values collected in earlier steps. If the GCP integration page still reads Not Installed after running the deployment, Step 8 has likely been missed.

Appendix — APIs enabled and resources deployed

For reference, the deployment script will enable the following GCP APIs in the integration project (if not already enabled):

The Terraform configuration applied by Infrastructure Manager creates: an organization-level IAM role for Archera's application service account, a role binding from that role to Archera's service account, a Cloud Storage bucket for exported billing data, and Storage Transfer Service permissions so that Archera can copy billing, pricing, and CUD data for analysis. The temporary deployment service account created during this process is granted Owner, Role Administrator, Organization Administrator, Organization Role Administrator, and Billing Administrator roles, and is deleted automatically when the deployment completes.