How Figma manages sandboxes at scale
Nimbus is Figma's internal platform for running tens of thousands of sandboxes for AI-generated code across multiple cloud providers.
Nimbus is Figma's internal platform for running tens of thousands of sandboxes for AI-generated code across multiple cloud providers.
Figma's search slowness traced mostly to its own stack, not OpenSearch: OpenSearch's headline 8 ms metric was per-shard time, and only the "took" field in responses reveals overall query latency, which accounted for under 30% of API time.
Figma moved most of its core services from AWS ECS to EKS in under 12 months.
VM-based sandboxing rests on two boundaries: the hypervisor, which is usually strong but exposes a large attack surface, and the VM's own permissions, which must be restricted through network limits, minimal service access and short-lived credentials so a compromised job can't do harm without escaping.
Figma added a write-ahead journal to its in-memory multiplayer service, which previously persisted files only via full checkpoints to S3 every 30–60 seconds.
Four Figma outages over June 6–7, 2022 were caused by Engine CPU saturation on a Cluster-Mode Enabled AWS ElastiCache Redis node, triggered by Pub/Sub traffic flowing over the Redis Cluster Bus.
Figma replaced its SSH bastion hosts with a zero-trust shell access system built on AWS SSO (backed by Okta with WebAuthn and device trust) and AWS Systems Manager Session Manager, so instances need no exposed SSH ports and access uses short-lived, minimally privileged IAM role credentials.
Figma secures internal web apps by putting each behind an AWS Application Load Balancer that authenticates users through Okta via SAML, using a Cognito User Pool as the bridge.