DigitalOcean MicroVMs Limits
Last verified 19 Nov 2026
DigitalOcean MicroVMs are lightweight virtual machines that run a container image in an isolated kernel, pause automatically when idle, and resume on the next request with memory, files, and processes intact.
Sizes
MicroVMs are available in the following sizes. In the API and doctl, memory is set in MiB.
| vCPUs | Memory | Memory (MiB) | Disk |
|---|---|---|---|
| 1 | 2 GiB | 2048 | 50 GiB |
| 2 | 4 GiB | 4096 | 80 GiB |
| 8 | 16 GiB | 16384 | 320 GiB |
| 16 | 32 GiB | 32768 | 400 GiB |
Some sizes are not available on every plan. In the Control Panel, an unavailable size is marked Not available on your current plan. To see the sizes available to your team, run doctl compute microvm options or send a GET request to /v2/microvms/options.
Limits
- MicroVMs are available only in MKC1.
- MicroVMs run only
linux/amd64container images that follow the Open Container Initiative (OCI) image format. - MicroVMs do not support Docker-in-Docker images.
- Your team has a limit on the total number of MicroVMs. The limit counts both running and paused MicroVMs. To see it, run
doctl compute microvm options. - After creation, you can change only a MicroVM’s name, tags, idle timeout, project, URLs, and which telemetry Insights stores. You cannot change its image, size, disk, environment variables, ports, networking, region, auto-resume setting, or outbound traffic rules.
- You cannot turn auto-pause off. The maximum idle timeout depends on your account and is between 1 and 4 hours. To see yours, check
account_limits.max_idle_timeout_secondsin the output ofdoctl compute microvm optionsorGET /v2/microvms/options. - MicroVMs do not have swap. A MicroVM cannot use more memory than its size provides.
- You can declare up to five ports, including the HTTP port. A port other than the HTTP port is reachable only through a URL you add for that port.
- A MicroVM can have up to 10 URLs, including its default URL. The hostname of a removed URL is not reused.
- A MicroVM can have up to 10 active access tokens. A token’s name can be up to 64 characters and must be unique on the MicroVM.
- Accounts in a free trial cannot add URLs, manage access tokens, or upload and download files.
- MicroVM names must be unique among your team’s MicroVMs in the region.
- A MicroVM created from a checkpoint must use the checkpoint’s region and size, and inherits its environment variables and outbound traffic rules.
- MicroVMs do not support IPv6, Cloud Firewalls, or a public IP address on the MicroVM.
Outbound Traffic Limits
- You can restrict outbound traffic only for MicroVMs with public networking.
- An outbound policy can have up to 50 rules and up to 16 credentials.
- Rules match a hostname or an exact IPv4 address. You cannot use CIDR ranges or limit a rule to a port.
- A MicroVM with an outbound policy can reach allowed destinations only through HTTP and HTTPS. Other protocols, such as SSH, database connections, and raw TCP or UDP, fail.
- Credentials apply to exact hostnames only. You cannot use wildcards or IP addresses for a credential’s host.
- You can add credentials only when you create a MicroVM from a container image. A MicroVM created from a checkpoint inherits the checkpoint’s credentials.
- A credential’s secret can be up to 8192 characters.
File Transfer Limits
- A file you upload or download can be up to 64 MiB.
- An upload must include a
Content-Lengthheader. The parent directory must already exist. - A transfer that runs longer than 10 minutes fails.
- A MicroVM can serve four downloads at once.
- You can transfer only regular files, not directories or devices. An upload cannot replace a symbolic link. Target the file it points to instead.
Command and Console Limits
- A command has 40 seconds to finish.
- A command’s combined
stdoutandstderrare limited to 4 MiB. Longer output is cut off, and the response includes"truncated": true.doctlprints a warning when this happens. - A command request body can be up to 1 MiB.
- A MicroVM can have four consoles open at a time. A console closes after 4 hours, or after 30 minutes with no input from the client. Output from the MicroVM does not keep a console open.
- A console message can be up to 1 MiB. A larger message, such as a large paste, closes the console with WebSocket code 1009.
- Console
rowsandcolsmust each be between 1 and 65535. - Commands and consoles accept your team’s API tokens, but not MicroVM access tokens.