Dev Boxes · Hardened for AI agents
Run Claude Code or Codex on a dev box with no root and no cloud keys
Idlefy creates it in your own AWS account and leaves it stopped. Only SSH is open from outside. Lease it, let the agent work, and the box stops itself when the lease ends. Built from open source. Free plan included.
Last updated: November 26, 2026
“Ubuntu 24.04 — Hardened for AI agents” is an operating-system option for Idlefy Dev Boxes: a personal cloud machine in your own AWS account, built so a coding agent can work on it unattended.
Claude Code and Codex are preinstalled and run as the ubuntu user;
you sign in with your own Claude account or API key, or your own OpenAI account. That user can use
sudo for exactly two commands —
tailscale login, to join your tailnet, and
idlefy-share, to publish one local port for a demo — and nothing
else. There are no AWS credentials to find: the machine carries no cloud role, and the instance metadata
service is not reachable by ubuntu or its containers. From the
internet, only SSH is accepted; your tailnet reaches the box after
tailscale login. SSH is key-only, with root login off and
fail2ban on. Docker is rootless,
so root inside a container is still ubuntu outside it. Security
updates install daily.
Like every Idlefy dev box it is stopped until you lease it, stops itself when the lease ends, and Idlefy never logs in to it. The image is built from the open-source idlefy/vm-platform-aws configuration (Apache-2.0) with its solo profile.
What an agent can reach on this box — and what it can't
- Runs as
ubuntu;sudofor two commands only (tailscale login,idlefy-share) - It cannot install system packages, change the firewall, add users or read root-owned files. Project dependencies go in Docker.
- No cloud role on the instance; instance metadata not reachable by
ubuntuor its containers - Nothing on the box leads to your AWS account unless you copy keys there.
- From the internet, only SSH is accepted; your tailnet reaches the box after
tailscale login. SSH: from your IP only by default, key-only, root login off, fail2ban - Nothing the agent starts accepts connections from the internet unless it is published with
idlefy-share(a command the agent can run too) or tunnelled out over an outbound connection. - Rootless Docker
- A container that gets root gets
ubuntu, not the host. - Daily unattended security updates
- Nobody has to patch it.
- Stopped until leased; stops itself at lease end
- A run you forgot does not bill for a week.
- Idlefy never has access inside
- Only your public SSH keys go on the box.
- Outbound connections are open
- The agent reaches the model API, git and package registries, and can send whatever it can read anywhere.
- The home directory is the agent's
- It can read, change or delete everything there, including the GitHub token you log in with.
What the agent can reach is what you put in its home directory: the repository, the GitHub token you log in with, anything you copy there. Keep that to the one project, use a GitHub token limited to that repository, and push your work — the box is disposable; what a token opens is not.
Checked on a real box: sudo as
ubuntu is refused for everything except
tailscale login and
idlefy-share; the instance metadata service is not reachable by
ubuntu or its containers; rootless Docker runs; from outside, only
SSH answers.
Give the agent a machine, not your laptop.
Most advice about running coding agents unattended ends with “and watch the logs”. A solo developer does not have a security team to watch them. This box takes the other road: root and cloud keys are not available to the user the agent runs as, so the box does not depend on anyone reading a log. It is a full machine in your own AWS account, not a container someone else hosts. Nothing ships logs off the box and there is no runtime detection on this image; the team version below has both.
It turns itself off
A dev box is created stopped. You lease it for the hours you need — an afternoon, a day — and it starts. When the lease ends the box stops: its EBS disk and everything on it stay, and the next lease picks up where you left off. An agent box you forgot on Friday is stopped on Friday. A stopped box bills only for its disk (and a fixed address, if you chose one).
Model usage is billed by your own Claude or OpenAI account; when the lease ends the box stops, and the agent's run with it. A short project? Set a lifetime and the box deletes itself when it is done.
What's preinstalled
Claude Code
and
Codex
are ready for the ubuntu user; you sign in with your own account.
- Claude Code
- Codex
- Node.js
- kubectl
- helm
- werf
- gh
- uv
- yq
- ripgrep
- zsh
- Tailscale
- rootless Docker
Project dependencies go in Docker; a new box starts from the current image build.
The same image, for a team
The box is built from idlefy/vm-platform-aws, the Apache-2.0 configuration a 20-developer team runs on. The team version adds what a team needs and a solo developer does not: an audit trail that leaves the machine, a signed policy every VM verifies, per-machine AWS access with a permissions boundary. Read how that team got there: Dev VMs instead of laptops.
How to get one
- Sign up — the Free plan is enough.
- The organization owner, once: turns Dev Boxes on, connects AWS keylessly, chooses the regions, machine types and largest disk people may pick, accepts the Dev Boxes terms, and creates the provisioning CloudFormation stack in your AWS console. Existing customers update that stack to the current version first; the wizard shows the option disabled until they do.
- Create the box: an x86 size (with or without an NVIDIA GPU), the operating system “Ubuntu 24.04 — Hardened for AI agents”, and your SSH key.
-
Lease it, connect with
ssh ubuntu@…, runclaudeorcodex, and sign in with your own account.
The option is offered in the regions where Idlefy publishes the image — today us-east-1, us-east-2, us-west-2, eu-central-1, eu-west-1, eu-west-2, eu-north-1, ap-south-1, ap-northeast-1 and ap-southeast-1; elsewhere the wizard shows it as unavailable. If your organization keeps an image allowlist, the owner adds it there.
AWS bills your account; a stopped box bills only for its disk (and a fixed address, if you chose one) — see instance costs.
Questions
Can I run Claude Code with --dangerously-skip-permissions on it?
Yes. The flag changes what Claude Code asks you before it acts, not what the ubuntu user may do on this box. The controls — no root, no cloud credentials and only SSH open from outside — hold in whichever mode the agent runs. What is at stake is the home directory: the repository, the GitHub token, anything you copy there. So the question becomes how much you put there; keep it to one project.
What can the agent still reach?
Everything in the home directory of the ubuntu user: the repository, the GitHub token you log in with, and anything you copy there. It also has outbound internet, including the model API, git and package registries. It can delete the working tree, push wherever that token allows and spend your model tokens. Use a token limited to one repository and push your work often.
How do I get root on the box?
Sign in as the user admin through EC2 Instance Connect from the AWS CLI, with your own AWS permissions. The admin user can use sudo; the ubuntu user, which the agent runs as, cannot beyond its two commands. Direct root sign-in over SSH is refused, so a change that needs root is a step you take yourself, on purpose, from your own AWS access.
Is there a GPU or Arm version?
For an NVIDIA GPU, yes: the same image. The option “Ubuntu 24.04 — Hardened for AI agents” is offered for x86 sizes, with or without an NVIDIA GPU. On a size with an NVIDIA GPU it already carries the NVIDIA driver and the NVIDIA Container Toolkit, so the ubuntu user, which has no root, can use the GPU, and containers get it with Docker’s --gpus all. CUDA and ML frameworks come with the containers you run. Arm sizes and sizes with another maker’s GPU use the standard images.
I added an access rule for port 3000 — why can’t I reach it?
The image accepts only SSH from outside. The access rule you added is written to the security group, but the box itself drops the connection before it reaches your app. To open the app from your own devices, join the box to your tailnet with sudo tailscale login. To show it to someone else, publish that one port with sudo idlefy-share 3000.
Does Idlefy have access to the box?
No. Idlefy starts, stops and deletes the dev box from outside, through the AWS APIs in your own account. It never logs in to the machine: only your public SSH keys go on it, and there is no Idlefy agent on the image. What runs on the box is what you and your coding agent start there, signed in with your own accounts.
What does the Free plan include?
The Idlefy Free plan includes one VM, and a dev box takes that slot: one dev box, leased up to 24 hours at a time, with no credit card. The hardened option is offered on every plan. The machine runs in your own AWS account and AWS bills it there; Idlefy adds no separate dev-box fee.
Give the agent its own machine
Idlefy Free plan: one dev box, no credit card. It runs in your AWS account, and AWS bills it there.
Create a free dev boxAsk Claude Code or Cursor to create and lease it for you through the Idlefy MCP server, included in every plan.
Shared dev and staging machines? See auto-shutdown for dev environments, or compare plans on the pricing page.