Mental model: Devboxes (workspaces) → save/branch → share
Morph Cloud can be understood at two levels:
- Devboxes (recommended): the user-facing object for building and sharing cloud development environments.
- Instances (primitives): the underlying VM objects for power users who want fine-grained control over VMs and direct manipulation of snapshots/branches.
Devboxes vs Instances
| If you want… | Start with… | Why |
|---|---|---|
| Day-to-day development (VSCode/Cursor, SSH, tmux agents) | Devboxes | Devboxes are designed to be programmable workspaces for humans and CLI agents. |
| Fast prototyping (preview a web app/API, then share it) | Devboxes | Expose an interactive preview URL and optionally disable auto-sleep to behave like a persistent VPS. |
| Sharing & collaboration inside an org | Devboxes | Share devboxes live via URL with your organization; create multiple orgs as needed. |
| RL environments, test-time scaling, or bespoke VM orchestration | Instances | Instances + snapshots are the lowest-level building blocks for advanced workflows. |
Level 1 (recommended): Devboxes
Devboxes are persistent cloud workspaces that can be automated and shared.
- Templates: reusable blueprints for dev environments (base snapshot + build steps + integrations).
- Devboxes: running workspaces created from a template (or from a snapshot).
- Automation & interaction: SSH, HTTP exposure (preview URLs), and tmux sessions for CLI agents.
- Save / branch / share: checkpoint state into snapshots, create many parallel workspaces, and share via URLs within your organization.
Common Devboxes flows
- Develop: template → devbox → VSCode/Cursor/SSH → tmux automation
- Prototype: devbox → expose-http → preview URL → iterate
- Collaborate: devbox → share URL (org) → teammates join
- Parallel workspaces: devbox → save snapshot → start many devboxes from the checkpoint
Level 2 (primitives): images → snapshots → instances → branches
The primitives model is still important—it’s just not the default mental model for most users.
Morph Cloud primitives revolve around four concepts:
- Images: reusable base OS filesystems (e.g.
morphvm-minimal). - Snapshots: immutable, bootable copies of an image (or of a running instance).
- Instances: running VMs started from a snapshot.
- Branches: near-instant copies of an instance state that let you parallelize work.
When to use what
- Use an image when you want a standard starting point.
- Create a snapshot when you want a reproducible environment you can boot repeatedly.
- Run an instance when you need a live VM to execute commands, SSH, or expose services.
- Create a branch when you want multiple parallel futures from the same state.
Common flows
“Boot and run”
image → snapshot → instance → exec/ssh/http
“Checkpoint and fork”
instance → snapshot (checkpoint) → branch (parallel copies)
Related docs
- Devboxes: Getting started
- Primitives: Images
- Primitives: Snapshots
- Primitives: Branching