← 返回
开发者工具 Key 中文

Watadot Aws Ec2

Elastic compute management by Watadot Studio. Deployment, scaling, and state monitoring.
Watadot Studio 弹性计算管理。提供部署、扩缩容和状态监控功能。
ordiy
开发者工具 clawhub v1.0.0 1 版本 100000 Key: 需要
★ 0
Stars
📥 552
下载
💾 5
安装
1
版本
#latest

概述

AWS EC2 Skills

Management and orchestration patterns for Elastic Compute Cloud.

🚀 Core Commands

Instance Discovery

# List running instances with Name and Public IP
aws ec2 describe-instances --filters "Name=instance-state-name,Values=running" --query "Reservations[].Instances[].{Name:Tags[?Key==\`Name\`].Value | [0], IP:PublicIpAddress, ID:InstanceId}" --output table

# Find expensive instances (G or P family)
aws ec2 describe-instances --query "Reservations[].Instances[?contains(InstanceType, 'g') || contains(InstanceType, 'p')].[InstanceId, InstanceType]"

Lifecycle Control

# Start/Stop instances by ID
aws ec2 start-instances --instance-ids <id1> <id2>
aws ec2 stop-instances --instance-ids <id>

# Terminate instance (DANGER)
aws ec2 terminate-instances --instance-ids <id>

Network & Security

# Describe security group rules
aws ec2 describe-security-groups --group-ids <sg-id> --query "SecurityGroups[].IpPermissions"

# Add ingress rule (Port 22 from specific IP)
aws ec2 authorize-security-group-ingress --group-id <sg-id> --protocol tcp --port 22 --cidr <your-ip>/32

🧠 Best Practices

  1. Tag Everything: Use standard tagging (Name, Env, Owner) for billing and discovery.
  2. Instance Profiles: Use IAM Roles instead of storing hard-coded credentials on instances.
  3. Spot Instances: Use Spot for stateless workloads (like Remotion rendering) to save up to 90%.
  4. Security Groups: Default to "Deny All" and only open specific ports for required CIDRs.

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 02:49 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 68 📥 180,469
developer-tools

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 672 📥 324,520
security-compliance

Watadot Aws Iam

ordiy
IAM安全模式(Watadot Studio)。管理用户、角色及策略验证。
★ 0 📥 642