Agent Workspace
A Terraform module for a personal AI agent workspace on AWS, reached through Session Manager with no open ports.
- Kind
- Terraform module
- Status
- Released
- Licence
- Apache-2.0
- Registry
- Terraform Registry
terraform init
terraform applyWhat it does
Agent Workspace (douklar/agent-workspace/aws) provisions an Ubuntu 24.04
EC2 instance with Claude Code, VS Code Server and Tailscale installed, for
running AI coding agents without building the AWS plumbing yourself.
Access goes through AWS Session Manager or Tailscale, with no SSH keys and no inbound ports. A tag-driven scheduler starts and stops the instance on your time windows; API keys live in SSM Parameter Store, outside Terraform state; optional jobs take snapshots, AMIs and security updates.
Source and taking part
The source is on GitHub at douklar/terraform-aws-agent-workspace, under Apache-2.0. Report a problem or ask for a change in its issues; the contributing guide says how to set it up and what a pull request needs.