Deployment Overview
The Nova Act CLI provides two deployment workflows:- Quick Deploy: Deploy any Python script immediately without configuration
- Named Workflow: Create a persistent workflow for repeated deployments
Quick Deploy Workflow
The fastest way to deploy a workflow to AWS AgentCore.Deploy to AWS
Deploy with a single command:The CLI will:
- Auto-generate a workflow name (e.g.,
workflow-20251130-120945) - Detect
main.pyas the entry point - Build a Docker container
- Push to ECR
- Create IAM role
- Deploy to AgentCore Runtime
Quick deploy creates a persistent workflow. The workflow remains in your configuration and can be managed with
list, show, update, and delete commands.Named Workflow Deployment
Recommended for workflows you’ll deploy repeatedly.Create Workflow Configuration
Register a named workflow:This creates:
- WorkflowDefinition in AWS Nova Act service
- S3 bucket for artifacts (unless
--skip-s3-creation) - Local configuration entry
Deploy Your Code
Deploy to the named workflow:Benefits of named workflows:
- Easier to remember and reference
- Visible in AWS Console with your chosen name
- Better for team collaboration
- Simpler re-deployment
Entry Point Detection
The CLI uses intelligent entry point resolution:Default Entry Point
If no--entry-point is specified, the CLI looks for main.py:
Custom Entry Point
Specify a different entry point file:Entry Point Requirements
Required Function Signature
Required Function Signature
Your entry point file must contain a
main() function with at least one parameter:Skip Validation
For advanced use cases, bypass entry point validation:IAM Role Management
Automatic Role Creation (Default)
The CLI automatically creates an execution role:- Bedrock AgentCore operations
- ECR image access
- CloudWatch Logs
- X-Ray tracing
- S3 access (nova-act-* buckets)
Using Existing Role
Provide a pre-existing IAM role:Required Permissions for Custom Role
Required Permissions for Custom Role
Your custom execution role must have:
ECR Repository Management
Default Repository
The CLI uses a shared repository across workflows:Custom Repository
Use a pre-existing ECR repository:The custom repository must exist before deployment. The CLI will not create it.
Build Configuration
Build Directory
Control where build artifacts are stored:Build Artifact Structure
Build Artifact Structure
The build directory contains:
Skip Building
Reuse an existing Docker image:Build Cleanup
Build artifacts are persistent by default:S3 Bucket Configuration
Nova Act workflows use S3 for artifact storage.Default Behavior
The CLI auto-creates a bucket:nova-act-123456789012-us-east-1
Custom Bucket
Use an existing S3 bucket:The custom bucket must:
- Exist before deployment
- Be in the same region as the workflow
- Have appropriate permissions for the execution role
Skip S3 Creation
Deploy without S3 bucket:Multi-Region Deployment
Deploy workflows to different AWS regions:Region Isolation
Workflows are isolated per region:AWS Console Integration
After deployment, the CLI provides direct console links:- Workflow Console: Nova Act WorkflowDefinition details
- Agent Console: Bedrock AgentCore Runtime configuration
- CloudWatch Logs: Execution logs and traces
- ECR: Container images
Deployment Best Practices
Use Named Workflows for Production
Use Named Workflows for Production
Create named workflows for anything beyond quick testing:
Version Your Dependencies
Version Your Dependencies
Use a The CLI automatically includes this in the container build.
requirements.txt file to pin dependencies:requirements.txt
Test Locally First
Test Locally First
Test your workflow locally before deploying:
Use Environment Variables
Use Environment Variables
Pass configuration via environment variables instead of hardcoding:Run with environment variables:
main.py
Monitor CloudWatch Logs
Monitor CloudWatch Logs
Always check logs after deployment:Or view in AWS Console via the provided links.
Troubleshooting Deployment Issues
Docker Not Running
Docker Not Running
Error:Solution:
AWS Credentials Not Configured
AWS Credentials Not Configured
Error:Solution:Or set environment variables:
ECR Permission Denied
ECR Permission Denied
Error:Solution 1: Add ECR permissions to your IAM user/roleSolution 2: Use existing ECR repository:
Entry Point Validation Failed
Entry Point Validation Failed
Error:Solution 1: Add required function:Solution 2: Skip validation (advanced):
ECR Login Timeout
ECR Login Timeout
Issue: ECR authentication fails or times outSolution:
Next Steps
Run Workflows
Execute your deployed workflows
Configuration
Configure profiles and environment variables
Commands Reference
Explore all CLI commands
Troubleshooting
Solve common issues