aws-well-architected-review
它能做什么
这个工具会分析你的 AWS 云基础设施是如何搭建的,并对照安全性、可靠性和成本方面的最佳实践进行比较。它会指出薄弱环节,并给出改进建议。
适用场景
- ✓开始一个新的 AWS 项目时。
- ✓想检查现有应用是否遵循最佳实践时。
- ✓在安全或合规审计之前。
技能链接
https://github.com/github/awesome-copilot/blob/main/skills/aws-well-architected-review/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“分析一下我的 AWS 基础设施,告诉我哪些地方可以改进。”
每周 5 个新技能,1 分钟读完。
工作原理
这个工具会读取你的基础设施配置文件(比如 Terraform 或 CloudFormation),并检查你正在使用的 AWS 服务。它会把这些配置与 AWS 最佳实践指南进行对比,然后列出发现的问题。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
AWS Well-Architected Review
This workflow performs a structured AWS Well-Architected Framework (WAF) review against your workload's IaC files and deployed infrastructure. It identifies risks across all 6 WAF pillars and creates GitHub issues to track remediation.
Prerequisites
- AWS CLI configured and authenticated
- IaC files present in the repository (Terraform, CloudFormation, CDK, or SAM)
- GitHub MCP server configured and authenticated
Workflow Steps
Step 1: Load Well-Architected Framework Reference
Fetch current AWS WAF best practices:
https://docs.aws.amazon.com/wellarchitected/latest/framework/welcome.html- Pillar-specific lenses relevant to the workload type (Serverless, SaaS, etc.)
Step 2: Discover IaC & Architecture
Scan the repository for IaC files:
- Terraform:
**/*.tf - CloudFormation/SAM:
**/*.yaml,**/*.json(CFn templates) - CDK:
lib/**/*.ts,bin/**/*.ts,cdk.json
Identify key AWS services in use (compute, data, networking, security, observability) and generate a Mermaid architecture diagram.
Step 3: Pillar-by-Pillar Review
Pillar 1: Operational Excellence
- All infrastructure defined as IaC (no manual console changes)
- Consistent tagging strategy applied across all resources
- CloudWatch alarms defined for key metrics
- Automated deployment pipeline present (no manual deployments)
- CloudTrail enabled for audit logging
- Runbooks or operational documentation present
Pillar 2: Security
- IAM roles use least-privilege policies (no
*actions without justification) - No hardcoded credentials in IaC or code
- Secrets managed via Secrets Manager or SSM Parameter Store
- S3 buckets have public access blocked and server-side encryption enabled
- Sensitive resources placed in private subnets
- Security groups restrict inbound to minimum required ports/CIDRs
- KMS encryption enabled for sensitive data stores (RDS, EBS, S3, SQS, DynamoDB)
- SSL/TLS enforced on all endpoints (
enforceSSL: true) - GuardDuty enabled (
aws guardduty list-detectors) - AWS WAF configured on public-facing APIs and CloudFront distributions
- MFA delete enabled on critical S3 buckets
Pillar 3: Reliability
- Multi-AZ deployments for production databases (RDS Multi-AZ, DynamoDB Global Tables)
- Auto Scaling configured with appropriate policies for EC2/ECS
- S3 versioning and lifecycle policies configured
- RDS automated backups enabled with appropriate retention period
- DynamoDB Point-in-Time Recovery (PITR) enabled
- Dead Letter Queues (DLQ) configured for Lambda, SQS, SNS
- Route 53 health checks configured for DNS failover
- Lambda reserved concurrency set to prevent noisy-neighbor throttling
Pillar 4: Performance Efficiency
- Right-sized instance types (Lambda memory, EC2 type, RDS class)
- Graviton/ARM instances used where available (Lambda
arm64, EC2 Graviton) - Caching implemented (ElastiCache, DAX, CloudFront, API Gateway caching)
- CloudFront used for global static content delivery
- Aurora Serverless or DynamoDB On-Demand for variable load patterns
- Lambda Provisioned Concurrency for latency-critical synchronous paths
Pillar 5: Cost Optimization
- EC2 Reserved Instances or Savings Plans for steady-state workloads
- S3 lifecycle policies moving data to cheaper storage tiers
- Lambda
arm64architecture adopted (20% cost reduction) - VPC Endpoints for S3/DynamoDB to avoid NAT Gateway charges
- gp2 EBS volumes migrated to gp3 (same performance, 20% cheaper)
- Development/test environments have auto-shutdown schedules
- AWS Budgets and Cost Anomaly Detection configured
- Unattached EBS volumes and idle EC2 instances identified
Pillar 6: Sustainability
- Graviton/ARM instances selected where available
- Serverless/managed services preferred over always-on EC2
- S3 lifecycle policies reduce unnecessary long-term data storage
- Auto Scaling configured to avoid over-provisioning
- Region selection considers AWS renewable energy commitments
Step 4: Risk Classification
For each finding, classify:
- High Risk: Security vulnerability, single point of failure, no backup/recovery
- Medium Risk: Suboptimal reliability, cost inefficiency, performance concern
- Low Risk: Best practice deviation, minor optimization opportunity
Step 5: User Confirmation
…
常见问题
AWS Well-Architected 的“支柱”是什么?
指的是 6 个主要的最佳实践领域:卓越运营、安全性、可靠性、性能效率、成本优化和可持续性。
什么是“IaC 文件”?
这是用代码来描述基础设施的文件(Infrastructure as Code,基础设施即代码),比如 Terraform、CloudFormation 或 CDK。它可以让你管理和自动化云资源的创建。
工具会如何处理发现的问题?
它会自动在 GitHub 上创建 issue(任务),方便你跟踪并解决每一个问题。
详情
作者的原始描述
Perform an AWS Well-Architected Framework review of the current workload IaC and architecture, generating findings and GitHub issues for improvements.
repo: github/awesome-copilot
热度
- GitHub 星标
- 40k
- 排名
- #7076
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
acquire-codebase-knowledge
40k帮你的智能体理解并编写现有代码项目的文档。它有助于新成员快速上手,或者快速了解项目架构。
acreadiness-assess
40k让你的智能体评估一个项目对 AI 的准备程度,并生成报告。它有助于了解项目在使用 AI 工具方面的准备情况。
acreadiness-generate-instructions
40k帮你的智能体根据评估结果编写 AI 工具的指令文件。它有助于改善 AI 与代码的交互方式,并弥补已发现的不足。
acreadiness-policy
40k让你的智能体协助制定或应用 AI 项目评估的政策。它有助于规范项目的评估方式,并确保合规。