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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.