Cloud Connect

Discover and inventory cloud resources across your entire cloud account without installing any agents.

Cloud Connect is an agentless, organization-level integration that gives Cast AI read-only visibility into your cloud account. Instead of connecting clusters one by one, Cloud Connect discovers your Kubernetes clusters, virtual machines, and other cloud resources in a single setup — and keeps that inventory up to date with hourly syncs. The exact resources discovered depend on your cloud provider and the permission scope you choose.

Cloud Connect creates IAM trust relationships in your cloud account (IAM roles, service accounts, or app registrations). Cast AI uses these trust relationships to issue short-lived credentials on demand — no long-lived secrets are stored.

How Cloud Connect works

Setting up Cloud Connect involves three steps:

  1. Select your provider and permission scope. Choose which cloud provider to integrate and which permission scope matches your security requirements.
  2. Create IAM resources. Run the generated setup script (or apply the equivalent configuration via the Cast AI API) to create the necessary IAM roles, service accounts, or app registrations in your cloud account.
  3. Automatic sync begins. Cast AI starts discovering your cloud resources using short-lived credentials issued through the IAM trust relationship. Discovered clusters appear with a Discovered status in the console.

After the initial setup, Cast AI syncs resources automatically every 60 minutes.

You can set up Cloud Connect in several ways:

  • Cast AI console — guided flow with a generated setup script. See Connect using the Cast AI console.
  • Terraform — declarative modules for AWS and GCP.
  • Cast AI API — direct API calls for programmatic setup.

Supported providers

Cloud Connect supports AWS, GCP, and Azure. Each provider differs in the scopes available and the resource types that get synced.

ProviderScopesResources synced
AWSAccount, OrganizationEKS clusters, EC2 instances, RDS databases, load balancers, Elastic IPs, Savings Plans, Reserved Instances, Capacity Reservations. Optionally: SageMaker, Bedrock, and other AI/ML services; CUR bucket data.
GCPProject, OrganizationGKE clusters, Compute Engine VMs, persistent disks, Cloud SQL instances, CUDs, Flex CUDs, Capacity Reservations.
AzureSubscriptionAKS clusters, virtual machines, VM scale sets, Reserved Instances, Savings Plans.

Organization-level scopes (AWS Organization and GCP Organization) let you discover resources across all accounts or projects in your organization from a single integration. Azure supports subscription-level scoping only.

Permission scopes

When you set up Cloud Connect, you choose a permission scope that controls how much read access Cast AI gets. All scopes are read-only — Cloud Connect never modifies your resources.

ScopeWhat it coversAvailable for
Full AccessBroad read-only access across all servicesAWS, GCP, Azure
Minimal PermissionsTargeted access to core compute, Kubernetes, and database servicesAWS, GCP, Azure
CommitmentsAccess to commitment and savings data (Reserved Instances, Savings Plans, CUDs)AWS, GCP, Azure
AI ServicesList and describe permissions for AI/ML services (Bedrock, SageMaker, Comprehend, and others)AWS
CUR BucketAccess to Cost and Usage Report S3 bucketAWS (account scope only)

You can combine multiple scopes during setup. For the full IAM policies, roles, and permissions for each scope, see Permissions for Cloud Connect.

What happens to discovered clusters

Clusters found by Cloud Connect appear in the Cast AI console with a Discovered status. For each discovered cluster, you can see basic metadata and optimization potential — without installing any components.

To start optimizing a discovered cluster, select it in the console and click Connect. This starts the standard connection flow described in Connect using the Cast AI console.

Cloud Connect and commitments

Cloud Connect also serves as the sync mechanism for cloud commitment data. When configured with the Commitments permission scope, Cast AI automatically imports and refreshes your Reserved Instances, Savings Plans, CUDs, and Flex CUDs every 60 minutes.

This enables the Cast AI autoscaler to factor your existing commitments into node provisioning decisions. For details, see Commitments.

Related resources


Did this page help you?