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

awscli

bởi hypertextassassinrajith

DevOps & Cloud
613Lượt tải do clawskills.sh công bố
2Sao
1Lượ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 AWS Lightsail and EC2 instances using AWS CLI.

Mô tả

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

Controls AWS Lightsail instances through structured JSON actions. Supports listing, starting, stopping, and rebooting instances. Instance access is restricted to a configured allowlist.

Restricts instance operations to a safe allowlist, preventing accidental actions on unintended resources.

Khi nào nên dùng

  • Reboot a stuck Lightsail instance without opening the AWS console
  • Start a stopped dev server before a demo
  • Shut down instances at end of day to reduce costs
  • List all running instances to audit current state
  • Automate instance lifecycle from a chat interface

Quy trình ví dụ

ĐẦU VÀO

User asks: 'Reboot the Ubuntu-1 instance'

AGENT
  1. 1

    Validates 'Ubuntu-1' is in the ALLOWED_INSTANCES list

  2. 2

    Constructs JSON payload with action 'reboot' and instance 'Ubuntu-1'

  3. 3

    Sends structured request to the AWS CLI skill

  4. 4

    Receives confirmation of reboot initiation

ĐẦU RA

Ubuntu-1 instance reboot initiated successfully

Yêu cầu

  • AWS CLI installed and configured on the host machine
  • AWS_REGION environment variable
  • ALLOWED_INSTANCES environment variable (comma-separated instance names)
  • AWS IAM credentials with Lightsail permissions

Cài đặt

clawhub install hypertextassassinrajith/awscli

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