CLI Commands
Complete reference for OnglX Deploy CLI
OnglX Deploy provides a comprehensive CLI for deploying AI inference APIs and web interfaces to AWS Bedrock. Each command is designed to be intuitive and follows common CLI patterns.
$ onglx-deploy --helpOnglX Deploy - Deploy AI inference APIs to your cloudUsage:onglx-deploy [command]Available Commands:init Initialize a new deploymentadd Add components to deploymentplan Show deployment plandeploy Deploy infrastructurestatus Show deployment statuslogs View deployment logsdestroy Destroy deploymentUse "onglx-deploy [command] --help" for more information.
init
Initialize a new deployment
Create a new OnglX Deploy project with AWS configuration and generate the deployment configuration file.
$ onglx-deploy init --host aws --region us-east-1✓ Initialized deployment: my-project✓ Config: deploy.yml
add
Add components to deployment
Add API and UI components to your deployment configuration with automatic validation.
$ onglx-deploy add api✓ Added api component with OpenAI compatibility$ onglx-deploy add ui✓ Added ui component with OpenWebUI
plan
Show deployment plan
Preview changes and estimated costs before deployment. Shows detailed resource changes.
$ onglx-deploy planResources to be created:+ AWS Lambda Function+ API GatewayEstimated cost: $5.25/month
deploy
Deploy infrastructure
Deploy your AI infrastructure to AWS with automatic rollback on failure and signal handling.
$ onglx-deploy deploy✓ Creating Lambda function✓ Setting up API Gateway✓ Deployment completed!
status
Show deployment status
Check the health and status of your deployed components with detailed endpoint information.
$ onglx-deploy statusComponents:[✓] api/openai: Healthy[✓] ui/openwebui: Healthy
logs
View deployment logs
Stream logs from your deployed components for debugging and monitoring.
$ onglx-deploy logs --follow[api] 2024-01-01T12:00:00Z INFO Request received[ui] 2024-01-01T12:00:01Z INFO User logged in
destroy
Destroy deployment
Safely remove all deployed resources with confirmation prompts and cleanup verification.
$ onglx-deploy destroy⚠️ This will destroy all resources.Do you really want to destroy? Type 'yes': yes✓ Infrastructure destroyed successfully
🚀 Quick Workflow
The typical OnglX Deploy workflow follows these steps:
Initialize
onglx-deploy init
Add Components
onglx-deploy add
Plan & Deploy
onglx-deploy plan/deploy
Monitor
onglx-deploy status/logs