Usage
Options
| Option | Description | Default |
|---|---|---|
-n, --name <name> | Name for the deployment | - |
--project-name <name> | Project name | Directory name |
-p, --port <port> | Port the container listens on | 3000 |
--desired-count <count> | Number of container instances to run (1-10) | 1 |
--cpu <units> | CPU units (256-2048) | 1792 |
--memory <mb> | Memory in MB (512-2048) | 1792 |
-k, --api-key <key> | ElizaOS Cloud API key | - |
-u, --api-url <url> | ElizaOS Cloud API URL | https://www.elizacloud.ai |
-e, --env <KEY=VALUE> | Environment variable (repeatable) | - |
--skip-build | Skip Docker build, use existing image | false |
--image-uri <uri> | Use existing ECR image URI (requires --skip-build) | - |
--platform <platform> | Docker platform for build | Host platform |
Resource Defaults
The default CPU and memory settings (1792 units each) are optimized for AWS t4g.small instances:- CPU: 1792 units = 1.75 vCPU (87.5% of t4g.small’s 2 vCPUs)
- Memory: 1792 MB = 1.75 GiB (87.5% of t4g.small’s 2 GiB)
Examples
Basic Deployment
Resource Configuration
Environment Variables
Advanced Options
Custom API Endpoint
Deployment Output
On successful deployment, the command outputs:- Container ID: Unique identifier for your deployment
- Service ARN: AWS ECS service Amazon Resource Name
- Task Definition ARN: AWS ECS task definition ARN
- Service URL: Public URL to access your agent
Validation
The command validates options before deployment:| Option | Valid Range |
|---|---|
--port | 1-65535 |
--desired-count | 1-10 |
--cpu | 256-2048 |
--memory | 512-2048 |
Authentication
Deployment requires authentication with ElizaOS Cloud:Related Commands
login: Authenticate with ElizaOS Cloudcontainers: Manage deployed containersstart: Run locally before deploying

