Deployment options

Architecture

BYOC runs on AWS, Google Cloud, and Azure. This page covers the AWS reference architecture. For Google Cloud or Azure details, contact Composio sales.

AWS reference architecture

The AWS reference architecture runs Composio on Amazon EKS with AWS Fargate, in a dedicated AWS account. Security and access describes what Composio can do in that account.

Your applications connect over private HTTPS to a private endpoint in the private subnets of a VPC in your AWS account. The endpoint forwards to Amazon EKS on AWS Fargate, which runs the API, tool runtime, workers, and tool catalog and search. Amazon RDS and Amazon ElastiCache sit in isolated subnets. The services reach Amazon S3, AWS KMS, Secrets Manager, and CloudWatch through VPC endpoints, and reach provider APIs, Composio's release registry, and Temporal Cloud through NAT gateways. Composio's release service uses the requester role to start CodePipeline, which waits for your approver, and CodeBuild applies the release to EKS from inside your VPC.
Composio runs in private subnets in your VPC, and outbound traffic leaves through NAT gateways.
AWS serviceRole in the deployment
Amazon EKS with AWS FargateRuns Composio's services in private subnets. EC2 nodes are an alternative to Fargate.
Amazon RDS for PostgreSQLStores projects, connected accounts, encrypted credentials, logs, and worker state. It runs across Availability Zones.
Amazon ElastiCache for RedisHolds caches, sessions, and OAuth flow state. Redis never holds credentials in plaintext.
Amazon S3Stores files, large results, and release artifacts.
AWS KMS and AWS Secrets ManagerEncrypt the data stores and hold the deployment's generated keys.
Elastic Load Balancing and AWS PrivateLinkGive your applications private HTTPS access.
AWS CloudFormation, AWS CodePipeline, and AWS CodeBuildInstall the bootstrap, and run each approved release inside your VPC.
Amazon CloudWatchKeeps deployment and support session logs.

Network

  • The bootstrap stack can create a VPC from a CIDR range you choose. The VPC spans 2 Availability Zones, with public and private subnets and 2 NAT gateways. You can also deploy into an existing VPC with 6 private subnets across 2 Availability Zones.
  • Services run in private subnets. Databases and caches run in isolated subnets with no route to the internet.
  • The EKS API endpoint is private, and the release pipeline reaches it from inside your VPC.
  • The deployment creates no public ingress.

Private connectivity

Choose a connectivity mode before you install the bootstrap. The default, disabled, creates no endpoint for your applications.

ModeHow your applications connectWhat they can reach
privatelink-apiAWS PrivateLink, on one private hostnameEvery Composio API route, including sessions, MCP, and administration
privatelinkAWS PrivateLinkConnected accounts, tool execution, and toolkit listings
private-albAn internal load balancer, for callers inside the deployment's VPCConnected accounts, tool execution, and toolkit listings

The privatelink and private-alb modes are restricted. Routes not listed in the table return 404. You can create, read, refresh, and check connected accounts, but Connect Link, sessions, MCP, and Proxy Execute aren't available. You also can't manage projects or auth configs through a restricted endpoint, so create them with Composio before your applications use the endpoint.

In the restricted modes, OAuth callbacks arrive through an edge relay. The edge relay is a public HTTPS proxy that you run, and it connects to a separate listener with mutual TLS.

PrivateLink carries the traffic but doesn't authenticate it, so every request still needs a Composio API key. If you use webhook Triggers, providers need a public route to your deployment. Agree that route with Composio during the architecture review.

Outbound traffic

Services reach AWS APIs through VPC endpoints. Everything else leaves through the NAT gateways. Provider APIs and Composio's release registry use HTTPS on port 443, and Temporal Cloud uses gRPC with TLS on port 7233. What leaves your account describes what each one receives.

Private subnets don't restrict outbound traffic on their own. To limit destinations by hostname, use your own egress controls, such as AWS Network Firewall.

What you prepare

  • A dedicated AWS account in a commercial AWS region.
  • A CIDR range for a new VPC that doesn't overlap your other networks, or an existing VPC with 6 private subnets across 2 Availability Zones.
  • An existing IAM role for the person who approves releases and support sessions, and an email address for approval notifications.
  • For PrivateLink, your hostnames, a certificate in AWS Certificate Manager, DNS records, and the AWS accounts allowed to connect.
  • Optionally, your own KMS keys for each data store.

Your onboarding package contains the CloudFormation template, every IAM role with its exact permissions, and step-by-step install instructions.