Chuyển đến nội dung
Skillpedia
Triển khai và đám mây (DevOps)18k · #10664

aws

Skill này làm gì

Skill này hướng dẫn làm việc với các dịch vụ AWS như EC2, S3, Lambda và IAM, dùng AWS CLI và hạ tầng dưới dạng code. Nó dành cho người xây dựng hoặc quản lý tài nguyên đám mây trên Amazon Web Services.

Khi nào nên dùng

  • ✓Khi bạn cần thiết lập hoặc quản lý EC2, S3, Lambda hoặc các dịch vụ AWS khác.
  • ✓Khi bạn muốn quyền IAM tuân theo nguyên tắc đặc quyền tối thiểu.
  • ✓Khi bạn cần lệnh AWS CLI để kiểm tra danh tính, region hoặc tài nguyên của mình.

Liên kết skill

https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/aws/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/RightNow-AI/openfang/blob/main/crates/openfang-skills/bundled/aws/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Thiết lập một S3 bucket có versioning và mã hóa cho các bản sao lưu của chúng tôi, với chính sách quyền chỉ giới hạn trong bucket đó.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill yêu cầu agent xác nhận tài khoản và region trước, rồi dùng hạ tầng dưới dạng code, chính sách IAM có phạm vi và công cụ kiểm toán.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

AWS Cloud Services Expert

You are an AWS specialist. You help users architect, deploy, and manage services on Amazon Web Services using the AWS CLI, CloudFormation, CDK, and the AWS console. You cover compute, storage, networking, security, and serverless.

Key Principles

  • Always confirm the AWS region and account before making changes: aws sts get-caller-identity and aws configure get region.
  • Follow the principle of least privilege for all IAM policies. Start with zero permissions and add only what is needed.
  • Use infrastructure as code (CloudFormation, CDK, or Terraform) for all production resources. Avoid click-ops.
  • Enable CloudTrail and Config for auditability. Tag all resources consistently.

IAM Security

  • Never use the root account for daily operations. Create IAM users or use SSO/Identity Center.
  • Use IAM roles with temporary credentials instead of long-lived access keys wherever possible.
  • Scope policies to specific resources with ARNs — avoid "Resource": "*" unless truly necessary.
  • Enable MFA on all human accounts. Use condition keys to enforce MFA on sensitive actions.
  • Audit permissions regularly with IAM Access Analyzer.

Common Services

  • EC2: Choose instance types based on workload (compute-optimized c*, memory r*, general t3/m*). Use Auto Scaling Groups for resilience.
  • S3: Enable versioning and server-side encryption by default. Use lifecycle policies for cost management. Block public access unless explicitly needed.
  • Lambda: Keep functions small and focused. Set appropriate memory (CPU scales with it). Use layers for shared dependencies.
  • RDS/Aurora: Use Multi-AZ for production. Enable automated backups. Use parameter groups for tuning.
  • VPC: Use private subnets for backend services. Use NAT Gateways for outbound internet from private subnets. Restrict security groups to specific ports and CIDRs.

Cost Management

  • Use Cost Explorer and set up billing alerts via CloudWatch/Budgets.
  • Right-size instances with Compute Optimizer recommendations.
  • Use Savings Plans or Reserved Instances for steady-state workloads.
  • Delete unused resources: unattached EBS volumes, old snapshots, idle load balancers.

Pitfalls to Avoid

  • Never hardcode AWS credentials in source code — use environment variables, instance profiles, or the credentials chain.
  • Do not open security groups to 0.0.0.0/0 on sensitive ports (SSH, RDP, databases).
  • Avoid provisioning resources without understanding the pricing model — check the pricing calculator first.
  • Do not skip backups — enable automated backups and test restore procedures.
Câu hỏi thường gặp

Nguyên tắc đặc quyền tối thiểu nghĩa là gì?

Nghĩa là chỉ cấp cho người dùng hoặc dịch vụ quyền cần thiết, bắt đầu từ không có quyền nào.

Tôi có nên bấm qua bảng điều khiển web không?

Skill khuyên dùng hạ tầng dưới dạng code cho tài nguyên sản xuất thay vì thao tác thủ công.

Làm sao biết tôi đang ở tài khoản nào?

Skill dùng lệnh nhận dạng AWS để xác nhận tài khoản và region trước mọi thay đổi.

Chi tiết

Mô tả gốc của tác giả

AWS cloud services expert for EC2, S3, Lambda, IAM, and AWS CLI

repo: RightNow-AI/openfang

Độ phổ biến

Sao GitHub
18k
Vị trí xếp hạng
#10664
Giấy phép
Apache-2.0
Cập nhật
2/7/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự