Create a MicroVM
pydo.microvms
Generated on 13 Nov 2026
from pydo version
v0.46.0
DigitalOcean MicroVMs
are lightweight virtual machines that run a linux/amd64 container image
in an isolated kernel.
A MicroVM pauses automatically when it is idle and
resumes on the next HTTP request, command, or console session, with its
memory, files, and processes intact. By sending requests to the
/v2/microvms endpoints, you can create, list, update, pause, resume,
and delete MicroVMs, run commands and open a console in them, upload and
download files, add and remove ingress URLs, create access tokens scoped
to one MicroVM, and create checkpoints to start new MicroVMs from a
saved state.
Each MicroVM serves its HTTP port at
https://{microvm_id}.{region}.microvm.ondigitalocean.com. Requests to
that endpoint require a token with the microvm:access scope.
Delete a MicroVM
Open a console in a MicroVM
Download a file from a MicroVM
List MicroVM options
Retrieve a MicroVM
List all MicroVMs
Pause a MicroVM
Resume a MicroVM
Run a command in a MicroVM
Update a MicroVM
Upload a file to a MicroVM