Skip to main content
Version: Studio 2.2.32

What runs in your account (Studio)

A Studio deployment is five CloudFormation stacks in one of your AWS accounts, plus a handful of resources the engine and Studio itself create at runtime. This page walks the components from the front door inward and ends with a resource inventory derived from the templates.

Who this is for​

Security engineers reviewing the footprint, and cloud engineers who need to know what a deployment costs and why. The end-user view of the same features starts with the tour of Studio.

Before you start​

Stack names are alphaagent-<deployment id>-<suffix>. Resource names use the project prefix alphaagent and, for buckets, your account id and region. Everything below is created with CAPABILITY_NAMED_IAM, so the role names are fixed and predictable.

The network​

The core stack creates a dedicated VPC in the range you chose for the deployment, with two private subnets across two availability zones. Tasks, the load balancer and sandboxes run in the private subnets. Outbound internet traffic, which carries the licence heartbeat to the Console, agent web search and calls to your data sources outside AWS, leaves one of two ways, chosen when the deployment was created:

  • Through AlphaAgent's NAT gateway. The core stack adds two public /28 subnets holding one NAT gateway with an Elastic IP, and an internet gateway. Nothing else sits in the public subnets.
  • Through your Transit Gateway and your firewall. The VPC has no internet gateway, NAT gateway, Elastic IP or public subnet. The private network stack routes 0.0.0.0/0 to your Transit Gateway and adds six interface endpoints (Lambda, EventBridge, SNS, CloudWatch, Bedrock and Session Manager messages) so AWS calls stay on AWS.

The private network stack (-private-network) connects the VPC to your network. The job first requests a Transit Gateway attachment of the two private subnets through the EC2 API and waits for your network team to accept it; the stack then adds one route per user access range and per internal service range to your Transit Gateway, the load balancer's HTTPS and HTTP ingress from each user access range, and sandbox egress to each approved internal range on each approved port. With outbound traffic through your Transit Gateway it also routes every other address in 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 and 100.64.0.0/10 to a network interface that is never attached, so a private range you did not list is dropped inside the VPC instead of reaching your network. Routes name the Transit Gateway, not the attachment, so a replacement attachment brings them back with no stack change. Your side of the attachment is on Private network access.

Ten VPC endpoints keep AWS traffic inside the VPC: gateway endpoints for S3 and DynamoDB, and interface endpoints for Secrets Manager, STS, ECR (API and Docker registry), CloudWatch Logs, SQS, Systems Manager and Bedrock Runtime. Model calls never leave the VPC for the public internet.

Five security groups separate the load balancer, the tasks, the sandbox Lambda functions, Redis and the EFS mount targets. The load balancer's admits HTTPS and HTTP from the VPC range, and the private network stack adds your user access ranges. The sandbox security group allows outbound TCP 443, plus the approved ports to the approved internal ranges.

How requests reach Studio​

  • Your network. Users and API callers in a user access range reach the app domain through your private DNS zone (associated with the deployment's VPC) and your Transit Gateway. Nothing about the deployment is reachable from the internet.
  • Existing public deployments. A deployment created before private network access keeps its CloudFront front door: a distribution whose alias is your app domain (TLS 1.2 minimum, HTTP redirected to HTTPS, certificate requested in us-east-1), one small nodejs24.x Lambda@Edge origin-response function in us-east-1, and an origin lock: a 24-byte secret, alphaagent-<deployment id>-edge-origin, that CloudFront adds as the X-AlphaAgent-Edge header and every listener rule requires, so a request that bypasses CloudFront gets a fixed 403. Its load balancer is internet-facing.
  • The load balancer is internal, in the private subnets. It listens on 443 with the certificate you supply in the deployment region (security policy ELBSecurityPolicy-TLS13-1-2-2021-06) and redirects 80 to 443. Every rule except one adds an authenticate-cognito action in front of the target: an unauthenticated browser is sent to sign in. The exception is /api/v1, the programmatic API, which the workflow service protects with API keys instead; see Programmatic access.
  • Optional WAF. When the deployment has an API allow-list, set in Organisations on its Configuration tab or in its configuration template (not on the stack), the deployment's stack creates a regional Web ACL with one rule that blocks /api/v1 from any source outside the allow-list. Every other path passes. With no allow-list, no WAF resources are created. Setting it needs the account role's EnableApiWafPermissions opt-in (Deployment detail).
  • Cognito. One user pool per deployment, with a SAML identity provider named AlphaAgentSSO that federates to your Entra ID tenant. Password sign-in is not offered to users; see Identity and access.

Services​

All services are ARM64 Fargate tasks in one ECS cluster, reached through the load balancer and, between themselves, through Service Connect.

ServiceRole in the deployment
agent-managementAgents, kernels (execution environments), active configurations, the Libraries browse and pull path, the Agent Store client, provisioning of sandbox Lambda functions
agent-runtimeRuns conversations and Flow runs, the licence activation and heartbeat, the usage outbox drainer, PII redaction
chatConversations, messages and summaries
data-connectorConnector definitions, credential storage, connection tests and connector guides
workflowFlow definitions, versions, runs and schedules; the programmatic API at /api/v1
knowledge-baseIntelligence Graph document processing and version builds
knowledge-base-mcpIntelligence Graph retrieval for agents
code-interpreterThe coder that writes and runs code, and the dispatch of each execution to a sandbox
web-browser-searchWeb search (a bundled SearXNG) and page browsing (headless Chromium)
notification-serviceInbox cards and banners
neo4jThe self-hosted graph store, single node, data on EFS

A twelfth task definition, kg-transfer, has no service: the Organisations engine starts it on demand to export or import an Intelligence Graph version during a Library transfer.

Sizing is one SizingProfile per deployment; the console offers xs, small, standard, large and xlarge (the template also accepts a reduced value the console does not offer). Services are grouped Heavy (agent-runtime, knowledge-base), Mid (knowledge-base-mcp, neo4j) and Light (everything else), and each group gets a vCPU and memory pair from the profile. At standard the Heavy pair is 16 vCPU and 64 GB, the Fargate per-task CPU ceiling; large and xlarge add memory only.

Sandboxes​

Agent code runs in AWS Lambda, not in the ECS tasks. agent-management creates one Lambda function per kernel, named alphaagent-env-<environment id>, from the kernel's container image in the alphaagent-envs ECR repository, inside the VPC on the sandbox security group. Each execution is one invocation. Per-invocation credentials are narrowed to the invoking user's workspace prefix and the invoking agent's connector secret; the mechanics are on Sandbox isolation.

Data stores​

  • DynamoDB: 39 tables, all on-demand capacity, grouped by service: agents, kernels and active configurations; chat conversations, messages and summaries; Flow definitions, versions, executions and schedules; execution runs, run events and run boards; connectors and agent-connector links; Intelligence Graphs, documents, jobs and build state; notifications and activity; API keys; share requests; the metering outbox; the Folio file index (<prefix>-folio, one global secondary index, point-in-time recovery on, short-lived working items removed by DynamoDB time to live). Stateful tables carry DeletionPolicy: Retain.
  • S3: seven buckets from the core stack, each with SSE-S3 (AES-256) default encryption, versioning and all public access blocked: workspaces (every user's files, run inputs and outputs), kb-artifacts (uploaded documents), kb-processing and kb-dgl-training (Intelligence Graph build state), chat-overflow (large payloads and the staged sandbox handler), code-scripts, and frontend (the Studio web app). The engine also creates alphaagent-deploy-<account>-<region> on first use to hold CloudFormation templates.
  • Neo4j on EFS: one encrypted EFS file system with elastic throughput and AWS Backup enabled, two mount targets, and two access points (/data and /logs) for the Neo4j task.
  • Redis: one ElastiCache replication group (default node type cache.t4g.medium) with at-rest and in-transit encryption, used for sessions and runtime cache.
  • Secrets Manager: 18 secret shells from the core stack (one -config secret per service plus common configuration, the licence bootstrap and persisted licence secret, Neo4j credentials, and the PII hash key), populated at install. Studio adds the data-connector credential secret, one connector-credential secret per agent, and the prompt key after activation.
  • SQS: four queue pairs (main plus dead-letter) for Intelligence Graph processing, notification events, Flow schedules and Folio index events. One EventBridge rule sends the workspaces bucket's object created, deleted and tagged events under users/ and team/ to the Folio index queue, which keeps Folio's index current for files Studio's services do not write themselves; further EventBridge rules are created per Flow schedule at runtime.
  • CloudWatch: one log group per service (/alphaagent/services/<service>), retention set in Organisations as CloudWatch log retention (30 days unless set), plus alarms on the task-definition stack. The alarms send to the deployment's Alarm topic, an Amazon SNS topic in the deployment's account and region that you choose in Organisations; the alarms cover Intelligence Graph jobs, the self-hosted graph store (only with a self-hosted graph store) and requests the Studio public API rejects for bad or revoked API keys. With no topic set, the alarms show in CloudWatch only.
    • Coder workspace alarms. Three more alarms watch the coder's own workspaces. Each is a warning, not an outage: analyses still run, but people may wait for a workspace to start.

      • alphaagent-<environment>-coder-workspaces-quota-short: ready workspaces have been held back for about 30 minutes because the account's Fargate vCPU quota is short. Raise the Fargate On-Demand vCPU quota in Service Quotas, or keep fewer workspaces ready.
      • alphaagent-<environment>-coder-workspaces-addresses-short: ready workspaces have been held back for about 30 minutes because the private subnets are short of free IP addresses. Free addresses in the deployment's private subnets, or keep fewer workspaces ready.
      • alphaagent-<environment>-coder-workspaces-starts-paused: new workspaces have been paused or held back for about 40 minutes, because starts failed again and again, an update has not finished, or Fargate usage could not be read.

      Every condition must hold for the whole time, checked in 10-minute periods, so a passing burst or a normal update never raises one, and one clear period ends it.

    • Coder workspace metrics. Studio publishes the counts behind these alarms every 5 minutes, in the CloudWatch namespace AlphaAgent/CoderWorkspaces with the dimension DeploymentId, so you can build your own dashboards and alarms: Running (workspaces running or starting), Ready, Wanted (the number kept ready, with auto worked out), HeldBack (in all, and by Reason: quota, addresses, max_tasks, usage_unreadable, settling or paused), StartsPaused (1 while new starts are paused or held back) and CostPerHourUSD (the running workspaces' cost, when Studio can price it). Nothing is sent while the coder's own workspace is off and none runs.

Steps: read the inventory from your own account​

  1. Open CloudFormation in the deployment region, select the -core stack and open Resources. Compare the list with the table below.
  2. Repeat for -stateless, -private-network, -compute and -taskdef.
  3. In VPC, open Transit gateway attachments: one attachment tagged alphaagent:deployment with your deployment's id, state Available. A deployment created before private network access has an -edge stack in us-east-1 instead (an IAM role, a Lambda function and a published version).
  4. In Lambda (deployment region), filter functions by alphaagent-env-. One per kernel your users have created.
  5. In S3, filter buckets by alphaagent-. Seven from the stack plus the deploy bucket, and the optional staging bucket from the account template.

What you should see​

The table below is generated from the templates and the deployment inventory; a build check regenerates it so it cannot drift from the fixture. Counts are per deployment.

StackResource typeCountPurposeCost driver
coreAWS::EC2::VPC1Dedicated network for the deploymentNo charge
coreAWS::EC2::Subnet4Two private subnets across two availability zones, in the range you chose; with AlphaAgent's NAT gateway also two public /28 subnets for itNo charge
coreAWS::EC2::RouteTable / Route / SubnetRouteTableAssociation / InternetGateway / VPCGatewayAttachment10Private routing; public routing and the internet gateway only with AlphaAgent's NAT gatewayNo charge
coreAWS::EC2::NatGateway1Outbound internet for the private subnets, only with outbound traffic through AlphaAgent's NAT gatewayHourly plus per GB processed
coreAWS::EC2::EIP1Address of the NAT gateway, only with the NAT gatewayHourly while the NAT gateway exists
coreAWS::EC2::SecurityGroup5Load balancer, tasks, sandboxes, Redis, EFSNo charge
coreAWS::EC2::VPCEndpoint10Gateway: S3, DynamoDB. Interface: Secrets Manager, STS, ECR API, ECR registry, CloudWatch Logs, SQS, Systems Manager, Bedrock RuntimeInterface endpoints hourly per availability zone plus per GB; gateway endpoints no charge
coreAWS::DynamoDB::Table39Agents, kernels, chat, Flows, runs and events, connectors, Intelligence Graphs, notifications, API keys, share requests, the metering outbox, the Folio file indexOn-demand reads and writes, storage; point-in-time recovery on 15 tables
coreAWS::S3::Bucket7workspaces, kb-artifacts, kb-processing, kb-dgl-training, chat-overflow, code-scripts, frontendStorage per GB-month and requests; versioning keeps prior versions until a lifecycle rule expires them
coreAWS::SQS::Queue8Intelligence Graph processing, notification events, Flow schedules, Folio index events, each with a dead-letter queuePer million requests
coreAWS::SecretsManager::Secret19Per-service and common configuration, licence bootstrap and persisted secret, Neo4j credentials, PII hash key, trusted certificate authoritiesPer secret per month plus API calls
coreAWS::ECR::Repository3alphaagent/studio (also the release's SearXNG, Neo4j and, coder workspace images), alphaagent-envs, alphaagent/web-browser-searchStorage per GB-month
coreAWS::ElastiCache::ReplicationGroup1Sessions and runtime cache; at-rest and in-transit encryptionNode hours (default cache.t4g.medium)
coreAWS::EFS::FileSystem / MountTarget / AccessPoint5Neo4j data and logs, encrypted, elastic throughput, AWS Backup enabledStorage per GB-month, throughput per GB, backup storage
coreAWS::Cognito::UserPool / UserPoolClient / UserPoolDomain3Studio sign-in, federated to your identity providerMonthly active users above the free tier
coreAWS::IAM::Role2Sandbox Lambda execution role and sandbox scoped roleNo charge
coreAWS::Events::Rule2kb-artifacts object-created to the processing queue; workspaces object created, deleted and tagged (users/ and team/) to the Folio index queuePer million events
coreAWS::SNS::Topic / Subscription2Notification eventsPer million requests
coreAWS::SSM::Parameter2Deployment parametersNo charge
coreAWS::Logs::LogGroup10One per service; retention is the deployment's CloudWatch log retention, 30 days unless set in OrganisationsIngestion per GB, storage per GB-month
statelessAWS::ElasticLoadBalancingV2::LoadBalancer1Internal, in the private subnets; HTTPS 443 with your certificate, 80 redirects to 443 (internet-facing only on deployments created before private network access)Hourly plus LCU hours
statelessAWS::ElasticLoadBalancingV2::Listener / ListenerRule / TargetGroup28Routing to the eleven services; authenticate-cognito on every rule except /api/v1; origin-lock header required behind CloudFrontNo charge
statelessAWS::EC2::SecurityGroup1Load balancer: HTTPS and HTTP from the VPC rangeNo charge
statelessAWS::Lambda::Function1Serves the Studio web app (python3.12), with its role and permissionPer request and GB-second
statelessAWS::CloudFront::Distribution1Only on deployments created before private network access: the front door, alias your app domain, TLS 1.2 minimum, adds the origin-lock headerPer request and per GB transferred, only when present
statelessAWS::WAFv2::IPSet / WebACL / WebACLAssociation3Blocks /api/v1 from sources outside your allow-list; created only when the deployment has an API allow-listWeb ACL and rule per month plus per million requests, only when created
statelessAWS::Logs::LogGroup1SPA server, 30 daysIngestion and storage
private-networkAWS::EC2::Route1 per rangeEach user access range and internal service range to your Transit Gateway; with Transit Gateway egress also 0.0.0.0/0, and the route that drops unlisted private rangesNo charge
private-networkAWS::EC2::SecurityGroupIngress2 per user rangeHTTPS and HTTP from each user access rangeNo charge
private-networkAWS::EC2::SecurityGroupEgress1 per range and portAgent code to each approved internal range on each approved portNo charge
private-networkAWS::EC2::VPCEndpoint / SecurityGroup7Lambda, EventBridge, SNS, CloudWatch, Bedrock, Session Manager messages, and their security group, only with outbound traffic through your Transit GatewayInterface endpoints hourly per availability zone plus per GB, only when created
private-networkAWS::EC2::PrefixList / NetworkInterface / SecurityGroup3A prefix list of the private blocks and a never-attached network interface, so unlisted private ranges are dropped in the VPCNo charge
computeAWS::ServiceDiscovery::HttpNamespace1Service Connect between tasksNo charge
computeAWS::ECS::Cluster / ClusterCapacityProviderAssociations2The Fargate clusterNo charge for the cluster itself
computeAWS::IAM::Role2Task execution role; task role with Bedrock invoke and Marketplace subscribe, and a deny on invoking any global. inference profileNo charge
taskdefAWS::ECS::TaskDefinition12Eleven services plus the on-demand kg-transfer task; all ARM64 FargateNo charge
taskdefAWS::ECS::Service11The running servicesFargate vCPU-hours and GB-hours per the sizing profile
taskdefAWS::CloudWatch::Alarm9Service health, metering and coder workspace alarmsPer alarm per month
taskdefAWS::Logs::MetricFilter2Bedrock invocation countsNo charge
taskdefAWS::Logs::LogGroup3kg-transfer, SearXNG, Neo4j; 30 daysIngestion and storage
edgeAWS::IAM::Role1Lambda@Edge execution roleNo charge
edgeAWS::Lambda::Function1Origin-response function attached to the distribution (nodejs24.x)Per Lambda@Edge request and GB-second
edgeAWS::Lambda::Version1Published version the distribution referencesNo charge
account templateAWS::IAM::Role1AlphaAgentOrgTarget-<suffix>, assumable only by your Organisations account with the External IDNo charge
account templateAWS::IAM::ManagedPolicy4Guardrails, stacks and compute, data and storage, application and probe (plus WAF when enabled)No charge
account templateAWS::S3::Bucket1alphaagent-org-staging-<account>-<region> for Library transfers; objects expire after 7 daysStorage per GB-month while a transfer is staged

For what these cost at each sizing profile, see Infrastructure sizing and costs.

Limits​

  • A private deployment uses no other region: a service control policy may deny us-east-1, CloudFront and Lambda@Edge. Only an existing public deployment's edge stack lives in us-east-1; see SCPs and guardrails.
  • One VPC per deployment counts against the account's quotas, and with the NAT gateway one NAT gateway and one Elastic IP; the Organisations preflight checks the headroom.
  • The VPC range is fixed when the deployment is created; its two private subnets need room for what each release runs there, and an update checks that first.
  • The Heavy tier tops out at 16 vCPU per task; larger profiles add memory only.
  • Every image runs from your account's ECR, including the web search (SearXNG) and graph database (Neo4j, with APOC) images the release ships: nothing is pulled from a public registry at task start.

If something goes wrong​

  • A -core stack resource is missing from your account: the deployment's job in the Organisations console names the failed step and the CloudFormation failure reason. See Jobs, progress and failures.
  • The app domain does not answer: check your private DNS record points at the internal load balancer, the zone is associated with the deployment's VPC, your address is in a user access range, and the Overview's Network check is healthy (Troubleshooting the install).
  • An existing public deployment's load balancer answers 403 to every request: you are reaching it directly rather than through CloudFront. Point your DNS at the distribution.