Two paths to cloud AI agents. EC2 for dedicated instances with native install. ECS Fargate for serverless containers. Both managed by Terraform, deployed with one command.
Offload AI workloads to dedicated cloud infrastructure
Choose the right deployment model for your workload
Dedicated Instance
A full VM running your AI agent natively. Node.js, tmux, and AI CLIs installed directly on ARM64 Graviton hardware. Nginx + SSL included.
Long-running agents, persistent workloads, SSH access needed
Serverless Container
Serverless containers on AWS Fargate. AI Maestro auto-builds your Docker image, pushes to ECR, and runs it. No servers to manage.
Burst workloads, cost optimization, zero-maintenance infrastructure
Deploy cloud agents from the dashboard or CLI
Install Terraform and configure AWS credentials:
# Install Terraform
brew install terraform
# Configure AWS
aws configure
Open the agent creation wizard, pick EC2 or ECS, fill in the required fields, and deploy:
Deploy directly from the command line:
# EC2 with SSL
aimaestro-agent.sh create my-api \
--ec2 --domain api.example.com \
--ssl-email admin@example.com \
--key-name my-key
# ECS Fargate (auto-builds image)
aimaestro-agent.sh create worker --ecs
Cloud agents appear in the AI Maestro dashboard alongside local agents. Same terminal access, same messaging, same management. Destroy infrastructure when done.
Terraform manages all infrastructure automatically
Your laptop fan is screaming. Move resource-intensive agents to cloud instances with dedicated CPU and memory. Keep your local machine for what it does best.
Agents that need to run 24/7 monitoring builds, processing data, or responding to messages. EC2 instances keep working when your laptop sleeps.
Need 10 agents for a sprint, then 2 for maintenance? ECS Fargate scales to zero when idle. Pay only for what you use.
Client work that requires network isolation, compliance boundaries, or dedicated infrastructure. Each cloud agent runs in its own VPC.
From your terminal to the cloud in minutes. Terraform handles the infrastructure, AI Maestro handles the agents.