Skip to content

Google Cloud runners

Google Cloud runners run your organization's jobs in a dedicated project in your Google Cloud account. Google bills your account for the hosts, networking, and storage. Onboarding is initially available to organizations enabled by Avrea.

You need an Avrea organization admin, a dedicated billing-enabled Google Cloud project, and permission to apply its infrastructure. Avrea manages the runner hosts. The initial offering supports Linux x86-64 N2 hosts with fixed desired capacity. Standard and Spot pools can run together; Google can interrupt Spot hosts.

  1. Open Settings → BYOC. Under Google Cloud, enter the project ID, choose an available profile and zone, and choose a private subnet range that does not overlap your networks. Select Prepare project setup. This does not launch a host.

  2. Download the infrastructure archive and project inputs. Verify the archive checksum shown in the console, extract it, and save terraform.tfvars.json inside the extracted directory. Follow its README to configure private, durable OpenTofu state. Review the infrastructure plan before applying it.

    The configuration creates a private network, outbound connectivity, runner identities, and separate buckets for caches, Git, images, snapshots, and artifacts. These resources can incur Google Cloud charges before you start a runner. Keep OpenTofu state and saved plans in your account.

  3. After the apply completes, export the designated output:

    Terminal window
    tofu output -json avrea_onboarding > avrea-onboarding.json

    Import this file in the same Avrea setup. Do not upload state, saved plans, or credentials. Avrea checks the project identity and bucket access before marking the project connected.

If a check fails, confirm that the infrastructure apply completed and that you imported the output from this setup. Correct the output and import it again, or select Retry setup after correcting access. A saved project ID and profile cannot be changed. Contact Avrea if you need to correct those inputs or if Avrea reports that your cloud identity allocation is full. Each organization can have three setups in progress or connected at once. Failed and disconnected setups free a slot. A setup that is ready for infrastructure holds its slot for seven days. After that, you can still use its package and import the outputs when a slot is available. Retrying or reconnecting also requires an available slot.

Create a pool with a supported machine type, Standard or Spot provisioning, and desired host count. Set maximum host and vCPU limits. Draft pools do not launch hosts. A connection can have up to ten pools, including drafts and pools that are draining. Drain an unused draft to free its slot. Give its replacement a new name.

Each new pool uses the current host image for its profile. When Avrea rotates that image, qualify and activate a replacement pool before draining the old one. Existing pools keep their qualified image.

Approve the cost of a temporary qualification host and select Qualify pool. Avrea starts the probe, checks that its runner services are ready, and deletes it. Wait until qualification passes and cleanup is confirmed. A qualification is valid for 24 hours; run it again if activation reports that it has expired.

Approve this organization-wide change and select Activate pool. You can add and qualify more pools for other supported machine types or provisioning models.

  • Save capacity changes the desired host count within the pool's limits. Reducing capacity lets current work finish before hosts are deleted.
  • Drain pool stops new work in that pool and deletes hosts after current jobs finish. Wait for zero remaining hosts, including qualification probes.
  • Disconnect project is available after all pools have stopped and their hosts are gone. It stops Avrea from using the connection and preserves your buckets and data. It does not restore shared runner placement.

To reconnect a project you disconnected, restore its infrastructure using your saved OpenTofu package and select Reconnect project. Avrea verifies the original project and storage access again. Create and qualify a new pool before activating runners. Contact Avrea if an operator disabled the connection.

After disconnecting, use your saved infrastructure package and state to review access removal and resource cleanup. Do not revoke access while Avrea still needs to delete hosts. Preserve any data you need before removing storage; the package does not force-delete nonempty buckets.