跳转到内容

AWS for FDE(FDE 的亚马逊云入门)

知识库位置:FDE Knowledge Base/03 Engineering/Cloud & DevOps/AWS/AWS-for-FDE.md 定位:Enterprise Field Primer(企业环境入门页) 术语不确定时,请查阅 Glossary(中英文术语表)。

1. Purpose of This Primer(本页定位)

Section titled “1. Purpose of This Primer(本页定位)”

本页不是 AWS Certification Guide(认证考试指南)。

FDE 只需要建立:

Capability-oriented mental model(面向能力的心智模型)。

不要先问:

AWS 有哪个产品?

先问:

我需要什么能力?


2. Core Capability Model(核心能力模型)

Section titled “2. Core Capability Model(核心能力模型)”
Compute(计算)
Storage(存储)
Database(数据库)
Networking(网络)
Identity(身份)
Observability(可观测性)
Containers(容器)
Serverless(无服务器)
Data(数据)
AI(人工智能)

AWS 只是用具体 managed services(托管服务)实现这些能力。


FDE 常遇到三类运行方式:

适合:

  • traditional applications(传统应用)
  • custom runtime(自定义运行时)
  • more OS control(更多操作系统控制)

通常结合:

  • container service(容器服务)
  • Kubernetes(容器编排)

适合:

  • event-driven(事件驱动)
  • short tasks(短任务)
  • variable load(可变负载)

主要区分:

适合:

  • files(文件)
  • documents(文档)
  • logs(日志)
  • raw data(原始数据)

更接近 VM disk(虚拟机磁盘)。

共享文件系统。


不要先从产品名称选。

先从数据模型判断:

Relational?(关系型?)
Key-value?(键值?)
Document?(文档型?)
Cache?(缓存?)
Warehouse?(数据仓库?)

企业客户最容易卡住的部分之一。

关注:

VPC(Virtual Private Cloud,虚拟私有云)
Subnet(子网)
Security Group(安全组)
Load Balancer(负载均衡器)
Private Endpoint(私有端点)
DNS(域名系统)
NAT(Network Address Translation,网络地址转换)
Internet Egress(互联网出口流量)
VPN / Direct Connectivity(虚拟专用网络/专线接入)

FDE 不一定需要设计大型网络,但必须能读懂网络边界。


关注:

  • IAM roles(IAM,Identity and Access Management,身份与访问管理;角色)
  • policies(策略)
  • service identities(服务身份)
  • temporary credentials(临时凭证)

原则:

不要让应用依赖长期硬编码 Access Key(访问密钥)。

优先使用 workload identity / role-based credentials(工作负载身份/基于角色的凭证)。


生产系统应至少覆盖:

  • logs(日志)
  • metrics(指标)
  • alerts(告警)
  • traces where applicable(适用的链路追踪)

云平台原生能力通常可以参与实现。


9. Typical FDE Deployment(典型 FDE 部署)

Section titled “9. Typical FDE Deployment(典型 FDE 部署)”
User(用户)
↓
Load Balancer / Gateway(负载均衡/网关)
↓
Application(应用)
↓
Database(数据库)
↓
Object Storage(对象存储)
↓
External AI / Enterprise Systems(外部 AI/企业系统)

FDE 需要关注:

  • identity(身份)
  • network(网络)
  • secret(密钥)
  • logging(日志)
  • cost(成本)

10. Customer Discovery Questions(客户调研问题)

Section titled “10. Customer Discovery Questions(客户调研问题)”
  • 客户现有 AWS account model(账号模型)是什么?
  • 是否允许新资源?
  • 哪个 region(区域)?
  • 是否要求 private networking(私有网络)?
  • 是否有现成 Kubernetes?
  • 谁管理 IAM?
  • 是否允许 internet egress(互联网出口)?
  • Logging 进入哪个平台?
  • Infrastructure(基础设施)是否必须 IaC(Infrastructure as Code,基础设施即代码)?

11. Common Failure Modes(常见失败模式)

Section titled “11. Common Failure Modes(常见失败模式)”
  • local environment works but private subnet cannot reach dependency(本地能通,私有子网访问不到依赖)
  • overprivileged IAM role(IAM 角色过度授权)
  • hardcoded credential(硬编码凭证)
  • uncontrolled cloud cost(云成本失控)
  • wrong region(区域选错)
  • dev resources manually created and unreproducible(开发资源手工创建、不可复现)

目标:

Level A/B(A 级认知 / B 级操作)

FDE 能:

  • 识别基础资源
  • 部署应用
  • Debug 基础网络/权限问题
  • 理解 IAM / region / VPC
  • 与 Cloud Platform Team(云平台团队)合作