deploy

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Deploy on AWS

部署到AWS

Take any application and deploy it to AWS with minimal user decisions.
支持拿任意应用以最少的用户决策将其部署到AWS。

Philosophy

设计理念

Minimize cognitive burden. User has code, wants it on AWS. Pick the most straightforward services. Don't ask questions with obvious answers.
最大限度降低认知负担。 用户已有代码,想要部署到AWS上。选择最直接的服务,不要询问答案显而易见的问题。

Workflow

工作流程

  1. Analyze - Scan codebase for framework, database, dependencies
  2. Recommend - Select AWS services, concisely explain rationale
  3. Estimate - Show monthly cost before proceeding
  4. Generate - Write IaC code with security defaults applied
  5. Deploy - Run security checks, then execute with user confirmation
  1. 分析 - 扫描代码库的框架、数据库、依赖项
  2. 推荐 - 选定AWS服务,简洁说明选择逻辑
  3. 估算 - 操作执行前展示月度成本
  4. 生成 - 编写应用了安全默认配置的IaC代码
  5. 部署 - 运行安全检查,经用户确认后执行部署

Defaults

默认配置

See defaults.md for the complete service selection matrix.
Core principle: Default to dev-sized (cost-conscious: small instance sizes, minimal redundancy, and non-HA/single-AZ defaults) unless user says "production-ready".
查看defaults.md获取完整的服务选择矩阵。
核心原则:默认使用开发级配置(成本友好:小型实例规格、最小冗余、非高可用/单可用区默认配置),除非用户明确要求「生产就绪」。

MCP Servers

MCP 服务器

awsknowledge

awsknowledge

Consult for architecture decisions. Use when choosing between AWS services or validating that a service fits the use case. Helps answer "what's the right AWS service for X?"
Key topics:
general
for architecture,
amplify_docs
for static sites/SPAs,
cdk_docs
and
cdk_constructs
for IaC patterns.
用于架构决策咨询。在AWS服务之间做选择或验证某服务是否适配使用场景时调用,可帮助回答「X场景最合适的AWS服务是什么?」这类问题。
核心主题:架构相关使用
general
,静态站点/SPAs相关使用
amplify_docs
,IaC模式相关使用
cdk_docs
cdk_constructs

awspricing

awspricing

Get cost estimates. Always present costs before generating IaC so user can adjust before committing. See cost-estimation.md for query patterns.
用于获取成本估算。生成IaC前务必先展示成本,方便用户在确认投入前调整配置。查询模式可查看cost-estimation.md

awsiac

awsiac

Consult for IaC best practices. Use when writing CDK/CloudFormation/Terraform to ensure patterns follow AWS recommendations.
用于IaC最佳实践咨询。编写CDK/CloudFormation/Terraform代码时调用,确保模式符合AWS官方推荐。

Principles

原则

  • Concisely explain why each service was chosen
  • Always show cost estimate before generating code
  • Apply security defaults automatically (encryption, private subnets, least privilege)
  • Run IaC security scans (cfn-nag, checkov) before deployment
  • Don't ask "Lambda or Fargate?" - just pick the obvious one
  • If genuinely ambiguous, then ask
  • 简洁说明每个服务的选择原因
  • 生成代码前务必展示成本估算
  • 自动应用安全默认配置(加密、私有子网、最小权限)
  • 部署前运行IaC安全扫描(cfn-nag、checkov)
  • 不要问「Lambda还是Fargate?」 - 直接选择最合适的即可
  • 如确实存在歧义,再向用户询问

References

参考文档

  • Service defaults
  • Security defaults
  • Cost estimation patterns
  • 服务默认配置
  • 安全默认配置
  • 成本估算模式