Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

cloudmonkey

bởi kiranchavala

DevOps & Cloud
450Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Manage Apache CloudStack infrastructure using the cloudmonkey (cmk) CLI — list/start/stop/destroy VMs, manage.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: stop the VM named web-prod-01

AGENT
  1. 1

    Run cmk list virtualmachines name=web-prod-01 to find the VM UUID

  2. 2

    Extract the UUID from the output

  3. 3

    Confirm the stop operation with the user

  4. 4

    Run cmk stop virtualmachine id=<uuid> to stop the VM

  5. 5

    Verify with cmk list virtualmachines id=<uuid> that state is Stopped

ĐẦU RA

VM web-prod-01 is stopped

Yêu cầu

  • Apache CloudStack account with API credentials
  • cmk configured with server URL and API key in ~/.cmk/config

Cài đặt

clawhub install kiranchavala/cloudmonkey

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết