Skip to main content

Cloud linking

Connect a cloud account to your Ductape workspace once. Reference it by tag on any product component. Ductape imports or provisions the resource, stores credentials as workspace secrets, and refreshes them at runtime.

Supported providers: AWS, GCP, Azure, MongoDB Atlas, Neo4j Aura.

How it works

StepWhat you doDocs
1. ConnectCreate a workspace cloud connection, add provider credentials, validateCloud connections
2. LinkSet cloud: '<tag>' and a resource name on a component envLink components
3. RunUse ductape.databases.connect(), ductape.storage.upload(), etc. — credentials resolve automaticallyComponent docs below

Connection tags

Every connection has a stable tag (for example prod_aws, prod_gcp). Use that tag everywhere — never an internal connection ID.

// On a database env
{ slug: 'prd', cloud: 'prod_aws', instance: 'my-app-db', region: 'us-east-1' }

// On low-level cloud APIs
await ductape.cloud.resources.list({ cloud: 'prod_aws', service: 's3', region: 'us-east-1' });
ComponentAWSGCPAzureAtlasAura
StorageS3GCSBlob
Message brokersSQSPub/SubService Bus
DatabasesRDS (PostgreSQL)Cloud SQLPostgreSQL FlexibleMongoDB cluster
GraphsNeptuneSpanner GraphCosmos GremlinAura instance
VectorsOpenSearchVertex Vector SearchAI Search

Provider setup and IAM/RBAC checklists live on each provider page.

Workbench or SDK

Both paths do the same thing:

  • Workbench — Cloud sidebar → add connection → link from the component editor when you save.
  • SDKconnections.createconnections.complete → create/update component with cloud on the env.

Next

  1. Set up a cloud connection
  2. Link your first component
  3. AWS networking — only if you use RDS or Neptune