Sandboxes
Small Linux containers you start and delete from code, billed per second while they run.
403 sandboxes_not_enabled. Ask for access in a ticket.What a sandbox is
A sandbox is an unprivileged Linux container (LXC) that runs for as long as you need it: seconds for a test, hours for a job, days for a tool. You create it with one API call or in the panel under Sandboxes, log in with your SSH key as root and delete it when you are done. You pay for the seconds it ran, nothing for the time it is stopped.
Typical uses: running untrusted or generated code, CI jobs, short-lived workers behind an AI agent or router, throwaway test machines.
Sizes and prices
| Size | vCPU | RAM | Disk | Per second | Per hour |
|---|---|---|---|---|---|
512 | 1 shared | 512 MB | 5 GB | €0.00000078 | €0.0028 |
1024 | 1 shared | 1 GB | 5 GB | €0.0000010 | €0.0037 |
2048 | 2 shared | 2 GB | 5 GB | €0.0000020 | €0.0074 |
- Per second, with a minimum of 60 seconds once a sandbox has run. A sandbox that never started is free.
- Stopped costs nothing. Only run time counts.
- The exact hourly rates are in
sizes[].perHourofGET /api/pat/v1/sandboxes; the table rounds to two significant digits. - Up to 20 sandboxes at a time per account.
Operating systems
Pass the id as template. Without one you get Debian 13.
| Template id | System |
|---|---|
debian-13 | Debian 13 |
debian-12 | Debian 12 |
ubuntu-24.04 | Ubuntu 24.04 |
ubuntu-22.04 | Ubuntu 22.04 |
alpine-3.24 | Alpine 3.24 |
almalinux-10 | AlmaLinux 10 |
rockylinux-10 | Rocky Linux 10 |
fedora-44 | Fedora 44 |
opensuse-16.0 | openSUSE Leap 16.0 |
Login is by SSH key only, as root. There is no password. The list in templates of the list call is always the current one.
Network and limits
| Details | |
|---|---|
| IPv6 | A public /64 per sandbox; the sandbox has ::1 in it and is reachable from the internet on that address |
| IPv4 | Outbound only, through NAT on a shared address. No inbound IPv4. |
| Bandwidth | 100 Mbit/s per network interface |
| Connections | Outbound IPv4: at most 2048 open and 100 new connections per second per sandbox |
| Port 25 | Blocked, no mail sending |
| Containers inside | No nesting, so Docker and similar tools do not run in a sandbox |
Lifecycle and billing
- Create. The sandbox is created and started; billing starts when it runs. You need at least €1 of balance that is not already reserved by other sandboxes.
- Run. What a sandbox has cost so far is reserved on your balance. You can see it as Reserved and it cannot be spent on anything else.
- Stop. A stopped sandbox keeps its disk and costs nothing. Start it again whenever you like, within 24 hours.
- Delete. The whole run time is charged in one booking and the sandbox is removed with its disk.
- 24 hours after a stop a sandbox is deleted and charged automatically.
- TTL: give
ttlin seconds (60 s to 30 days) when you create it, and the sandbox is deleted and charged when the time is up, running or stopped. - Running out of money: when your unreserved balance would last less than 30 more seconds, your running sandboxes are stopped, not deleted, and you get a notification. Top up and start them again.
- Powering a sandbox off from inside (
poweroff) stops billing the same way. - A create that fails is never charged. It shows as
failedin the list for 24 hours.
API
Use a personal access token from Profile → API (see API tokens) as Authorization: Bearer inpat_.... The base URL is https://instantnode.eu/api/pat/v1/sandboxes. Every response is JSON with an ok field; errors come with an error code. The full schema is in the API reference under Sandboxes.
| Method | Path | Does |
|---|---|---|
| GET | /v1/sandboxes | Sizes, prices, templates, balance, reserved, runway and your sandboxes |
| POST | /v1/sandboxes | Create and start a sandbox |
| GET | /v1/sandboxes/{id} | One sandbox with run time and cost so far |
| POST | /v1/sandboxes/{id}/start | Start a stopped sandbox |
| POST | /v1/sandboxes/{id}/stop | Stop it; billing pauses |
| DELETE | /v1/sandboxes/{id} | Charge the run time and remove it |
Create
size and sshKey are required, template, name (lower case letters, digits and dashes) and ttl are optional. The call returns once the sandbox runs, usually within a minute, so give your client a timeout of a few minutes.
export INN_TOKEN=inpat_...
curl -s https://instantnode.eu/api/pat/v1/sandboxes \
-H "Authorization: Bearer $INN_TOKEN" \
-H "Content-Type: application/json" \
-d '{"size": 1024, "template": "debian-13", "name": "build-1", "ttl": 3600,
"sshKey": "ssh-ed25519 AAAAC3Nza... you@laptop"}'
{
"ok": true,
"sandbox": {
"id": "5b0e7c1a-3f2d-4a8e-9c61-2d7f4b9e1a03",
"name": "build-1",
"status": "running",
"size": 1024, "cpu": 1, "ramMb": 1024, "diskGb": 5,
"template": "debian-13",
"ipv6": "2a14:7581:9f00:f012::1",
"ssh": "ssh root@2a14:7581:9f00:f012::1",
"perHour": 0.00368333,
"seconds": 0, "cost": 0,
"ttlAt": "2026-11-24T15:02:11.000Z",
"deleteAt": null
}
}
Then log in with ssh root@<ipv6>.
List and get
curl -s https://instantnode.eu/api/pat/v1/sandboxes -H "Authorization: Bearer $INN_TOKEN"
SBX=5b0e7c1a-3f2d-4a8e-9c61-2d7f4b9e1a03
curl -s https://instantnode.eu/api/pat/v1/sandboxes/$SBX \
-H "Authorization: Bearer $INN_TOKEN"
The list also returns balance, reserved, available, burnPerHour and runwaySeconds, the time until your running sandboxes would be stopped for lack of balance.
Stop and start
curl -s -X POST https://instantnode.eu/api/pat/v1/sandboxes/$SBX/stop \
-H "Authorization: Bearer $INN_TOKEN"
curl -s -X POST https://instantnode.eu/api/pat/v1/sandboxes/$SBX/start \
-H "Authorization: Bearer $INN_TOKEN"
A stopped sandbox has deleteAt set, 24 hours after the stop. Stopping a stopped sandbox or starting a running one just returns it.
Delete
curl -s -X DELETE https://instantnode.eu/api/pat/v1/sandboxes/$SBX \
-H "Authorization: Bearer $INN_TOKEN"
{
"ok": true,
"id": "5b0e7c1a-3f2d-4a8e-9c61-2d7f4b9e1a03",
"seconds": 754,
"charged": 0.00077148
}
seconds is the billed run time, charged the amount taken from your balance in euros.
Errors
| HTTP | error | Meaning |
|---|---|---|
| 400 | invalid_size, invalid_template, invalid_ssh_key, invalid_ttl, invalid_name | Check the request body |
| 402 | insufficient_balance | Less than €1 unreserved balance (minBalance) |
| 403 | sandboxes_not_enabled | Your account has no beta access |
| 403 | account_suspended | The account is suspended |
| 404 | sandbox_not_found | Wrong id, or already deleted |
| 409 | sandbox_limit | You already have your maximum (limit) |
| 409 | sandbox_busy | Still being created or deleted, try again shortly |
| 429 | rate_limited | More than 60 creates in 10 minutes |
| 502 | sandbox_create_failed, sandbox_action_failed | Creating, starting or stopping failed on our side; nothing is charged for a failed create |
| 503 | no_capacity, sandboxes_unavailable | No room right now, try again later |
Can I keep a sandbox for weeks?
Yes, as long as it runs and your balance covers it. A stopped sandbox is deleted after 24 hours, so stop only what you will start again soon. For a server that runs all month a VPS is cheaper.
Can I get a public IPv4 address?
No. Sandboxes reach IPv4 services through NAT, but they are reachable from outside over IPv6 only.
Is there a backup or snapshot?
No. Treat a sandbox as disposable and keep anything you need elsewhere.
These docs describe the panel as it works today. Something here does not match what you see? Tell us in a ticket.