cloudmonkey
由 kiranchavala 提供
DevOps & Cloud简介
Manage Apache CloudStack infrastructure using the cloudmonkey (cmk) CLI — list/start/stop/destroy VMs, manage.
描述
该技能的功能
Manages Apache CloudStack infrastructure through the cloudmonkey (cmk) CLI. Supports VM lifecycle operations, network management, volume and snapshot handling, and direct CloudStack API access.
Direct CLI access to CloudStack APIs covers the full management surface without requiring the web UI or custom scripts.
何时使用
- List and filter running VMs by state or name
- Stop or start VMs in a specific availability zone
- Create a volume snapshot before a risky deployment
- Switch between multiple CloudStack environment profiles
- Discover available API commands for a custom operation
示例工作流
User asks: stop the VM named web-prod-01
- 1
Run
cmk list virtualmachines name=web-prod-01to find the VM UUID - 2
Extract the UUID from the output
- 3
Confirm the stop operation with the user
- 4
Run
cmk stop virtualmachine id=<uuid>to stop the VM - 5
Verify with
cmk list virtualmachines id=<uuid>that state is Stopped
VM web-prod-01 is stopped
前置要求
- Apache CloudStack account with API credentials
- cmk configured with server URL and API key in ~/.cmk/config
安装
clawhub install kiranchavala/cloudmonkey运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。