Deploy a Claude Code Cloud VM
Launch a hardened Ubuntu VM with Claude Code pre-installed, Agent Keeper security hooks pre-wired, and web terminal access — ready for your team in minutes.
What You Get
- ✓Claude Code CLI pre-installed globally with your Anthropic API key configured
- ✓Runtime Shield enforces security policies on every prompt and tool call via four hooks (UserPromptSubmit, PreToolUse, PostToolUse, SessionStart)
- ✓Web terminalvia console proxy — no SSH keys, no VPN, just click “Terminal”
- ✓Sandboxed user — Claude Code runs as a restricted
claudeuser with limited sudo - ✓Security scanningon schedule — continuous compliance monitoring in the dashboard
- ✓Full hardening — UFW firewall, fail2ban, SSH key-only, kernel hardening, disabled services
Prerequisites
Create an Agent Keeper account
Sign up at www.agentkeeper.dev/signup if you don't have an account yet.
Upgrade to Pro
Cloud VM deployment requires a paid plan (Pro, Team, or Enterprise). Go to Settings and click Upgrade to Pro.
Have your Anthropic API key ready
Claude Code VMs need an Anthropic API key. Get one from console.anthropic.com.
Deploy the VM
Open the deploy wizard
Navigate to Hosts → Deploy or click the + Add Bot button and select Deploy Claude Code VM.
Select "Claude Code" then "Cloud VM"
In the deploy wizard, choose Claude Code as your deployment type, then select Cloud VM(not “Connect Workstations”).
Configure the instance
Choose a name, region, and instance size. Claude Code VMs require at least 4GB RAM (Medium plan, $40/mo). Paste your Anthropic API key.
~/workspace/CLAUDE.md on the VM and Claude Code reads it automatically for project context.Review and deploy
Review your configuration. Claude Code VMs include:
- Runtime Shield always enabled
- Sandboxed user with restricted permissions
- SSH hardened (key-only, no root password)
- UFW firewall, fail2ban, kernel hardening
- Agent Keeper security scans on schedule
- Web terminal via console proxy (ttyd)
Click Deploy. The dashboard shows real-time progress through each provisioning step (usually 3-5 minutes).
Use Your Claude Code VM
Open the web terminal
Once the status shows Ready, click the Terminal button on the instance detail page. A browser-based terminal opens with full access to your VM as the claude user.
Start using Claude Code
In the terminal, navigate to the workspace and start Claude Code:
cd ~/workspace claude
Claude Code is pre-configured with your Anthropic API key and four Agent Keeper security hooks. Every prompt and tool call is evaluated by the Runtime Shield before execution. All prompts are logged to the threat feed.
Monitor from the dashboard
Your Claude Code VM reports scans automatically and shield events appear in real-time. The host detail page shows:
- Overview— security score, shield status, scan history
- Checks— detailed pass/fail results from each scan
- Monitoring— shield events, blocked threats, audit trail
~/workspace via the web terminal. Claude Code will pick up the CLAUDE.md file and any .claude/settings.json in the repo root.