您通过多个界面与 AWS 交互——Management Console(web UI)、CLI(命令行)、SDKs(在代码中)和 Infrastructure as Code 工具。理解这些工具以及何时使用每个工具是实用的基础知识。
与 AWS 交互的主要方式
1. MANAGEMENT CONSOLE — a web UI:
→ point-and-click; great for LEARNING, exploring, one-off tasks, visualizing
→ not repeatable/scriptable; error-prone for repeated/complex setups
2. AWS CLI — command-line interface:
→ scriptable, automatable; good for automation and repeatable tasks
3. SDKs — libraries for your code (Python boto3, JS, Java, Go, etc.):
→ interact with AWS programmatically FROM your application
4. INFRASTRUCTURE AS CODE (IaC) — CloudFormation, Terraform, CDK:
→ define infrastructure declaratively in code (the BEST for production — see below)
