Design A Multi-Tenant GPU VM Provisioning Control Plane

Last updated: November 29, 2026

Quick Overview

Design the control plane behind a GPU cloud API that lets customers create, resize and delete GPU VMs and clusters across several data centers, with placement, quota, networking setup and billing hooks.

Crusoe
System Design
Software Engineer
Crusoe
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the control plane behind a GPU cloud API that lets customers create, resize and delete GPU VMs and clusters across several data centers, with placement, quota, networking setup and billing hooks.

This is the core of Crusoe Cloud: a customer clicks create on an 8x B200 VM or a 512-GPU cluster, and the platform must place it, wire up VPC and InfiniBand partitions, and start metering without double-booking hardware. The interviewer checks state machine design, idempotent APIs, consistency of the capacity inventory, and how failures mid-provision are cleaned up.

What the Interviewer Expects
  • Separates a regional API and desired-state store from per-site agents that act on hardware
  • Models resources with explicit state machines and reconcile loops
  • Keeps capacity inventory strongly consistent so GPUs are never double-allocated
  • Makes create calls idempotent and handles partial failures with rollback or retry
  • Covers quota, tenancy isolation (VPC, InfiniBand partition keys) and billing start and stop events
  • Discusses blast radius and control plane outages not affecting running VMs
Key Topics to Cover
Control plane
Reconciliation loops
Idempotency
Capacity inventory
Multi-tenancy
Failure recovery
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you reserve 512 GPUs on one InfiniBand fabric atomically?
  • A site loses connectivity to the regional control plane. What still works?
  • How would you roll out a new hypervisor version across a fleet with running customer VMs?
  • How do you make billing exactly match what was provisioned?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: create, describe, stop, delete GPU VMs and clusters; choose region and GPU type; attach storage and networks; quotas per project; emit billing events. Non-functional: no double allocation,...

High-Level Design

Regional API service (authn, quota, validation) writes desired state to a strongly consistent store (Postgres or etcd-backed) and returns an operation id. A placement service owns the capacity invento...


Submit Your Answer
Markdown supported

Related Questions