Setup Commands
Test connectivity
Check Orka Engine version
Verify Python version
One-Liner Examples
Install/Upgrade Orka Engine
Plan Deployment (Dry Run)
Deploy VM
Plan Deletion (Dry Run)
Delete VM
Stop VM
Start VM
Delete Single VM
List All VMs
List VMs by Name
Pull Image to All Hosts
Create and Push Custom Image
Create Image with OS Upgrade
Android Virtual Devices
Install Android SDK on Hosts
Install SDK Platforms and System Images
Create an AVD (Plan First)
Create an AVD
Manage AVD State
List AVDs
Delete AVD by Index
Uninstall SDK Platform
Common Variable Combinations
Deploy with Custom CPU and Memory
Deploy with Network Interface
Deploy to Specific Host
Image Creation with Auth
Insecure Registry
Image Naming Patterns
MacStadium Public Images
- Sonoma:
ghcr.io/macstadium/orka-images/sonoma:latest - Ventura:
ghcr.io/macstadium/orka-images/ventura:latest - Monterey:
ghcr.io/macstadium/orka-images/monterey:latest
Private Registry Format
- Full path:
registry.example.com/organization/repository:tag - With port:
registry.example.com:5000/orka/image:v1.0
VM Naming Convention
VMs are identified individually by name. Use clear, descriptive names:-
dev-desktop-01,dev-desktop-02 -
prod-build-runner,prod-build-runner-2 -
ci-macOS-sonoma
{vm_name}-avd-0, {vm_name}-avd-1, etc.
Ansible Shortcuts
Run on Single Host
Dry Run (Check Mode)
Verbose Output
Run Specific Tags
Skip Tags
Step Through Tasks
Best Practices Checklist
Planning & Safety
-
Always use
--tags planbefore production deployments -
Test playbooks on single host first with
--limit - Review deployment plan output before executing
- Verify capacity before large deployments
Naming & Organization
-
Use clear, descriptive VM names (e.g.,
prod-desktop-01,build-runner-sonoma) -
Version your images with tags (
:v1.0,:v2.0, not:latestin prod) - Document VM purposes in inventory comments
Capacity Management
-
Set appropriate
max_vms_per_hostlimits - Monitor disk space on hosts regularly
- Keep Orka Engine updated across all hosts
- Track VM distribution across hosts
Image Management
-
Place custom configuration scripts in
/scriptsdirectory - Test image builds in dev before production
- Keep base images cached on all hosts
- Implement regular image rebuild schedule
Security & Operations
- Store credentials securely (Ansible Vault)
- Maintain inventory file accuracy
- Use SSH keys (not passwords) for host access
- Rotate credentials regularly
- Review deployment logs for errors
State & Tracking
- Let Ansible manage VMs (use playbooks, not manual creation)
-
Use
list.ymlto verify state before changes - Keep group vars consistent across environments
Support Resources
- Documentation : MacStadium
- Support Portal : support@macstadium.com
-
CLI Reference:
orka-engine --help -
VM Commands:
orka-engine vm --help -
Image Commands:
orka-engine image --help - Project README : Check your repository’s README.md for architecture details

