概念 · 基于 CLF-C02
Purchasing options compared
Match the purchase option to the shape of the workload, and mix options in one fleet.
本课尚未翻译,暂以英文显示。
你在云从业者中已学过
- On-Demand: pay by the second, no commitment.
- Reserved Instances and Savings Plans: commit for 1 or 3 years for a discount.
- Spot: spare capacity at a deep discount that AWS can take back.
Steady all year
- Option
- Savings Plans or RIs
- Why
- Commitment discount
Spiky or short
- Option
- On-Demand
- Why
- No commitment
Can be interrupted
- Option
- Spot
- Why
- Up to 90% off
Per-core licence
- Option
- Dedicated Hosts
- Why
- Bring your licence
| Workload | Option | Why |
|---|---|---|
| Steady all year | Savings Plans or RIs | Commitment discount |
| Spiky or short | On-Demand | No commitment |
| Can be interrupted | Spot | Up to 90% off |
| Per-core licence | Dedicated Hosts | Bring your licence |
Capacity Reservation
- Holds capacity
- yes
- Discount
- no
Zonal RI
- Holds capacity
- yes
- Discount
- yes
Regional RI
- Holds capacity
- no
- Discount
- yes
Savings Plans
- Holds capacity
- no
- Discount
- yes
| Option | Holds capacity | Discount |
|---|---|---|
| Capacity Reservation | yes | no |
| Zonal RI | yes | yes |
| Regional RI | no | yes |
| Savings Plans | no | yes |
1 / 2
Capacity Reservation
- Holds capacity
- yes
- Discount
- no
Zonal RI
- Holds capacity
- yes
- Discount
- yes
Regional RI
- Holds capacity
- no
- Discount
- yes
| Option | Holds capacity | Discount |
|---|---|---|
| Capacity Reservation | yes | no |
| Zonal RI | yes | yes |
| Regional RI | no | yes |
2 / 2
Savings Plans
- Holds capacity
- no
- Discount
- yes
| Option | Holds capacity | Discount |
|---|---|---|
| Savings Plans | no | yes |
是什么
Look at how steady, how interruptible and how fixed the workload is. A steady base load that runs all year takes Savings Plans or Reserved Instances. Spiky or short-lived load stays On-Demand. Flexible, fault-tolerant jobs such as batch, CI and big data use Spot, at up to 90% off. Software licensed per socket or core can need Dedicated Hosts.
是什么
Discount and capacity are separate things. An On-Demand Capacity Reservation holds capacity in one AZ for as long as you want and gives no discount: you pay the On-Demand rate whether you use it or not. A zonal Reserved Instance gives both capacity and a discount. A regional Reserved Instance and Savings Plans give a discount but no capacity guarantee. To get both with flexibility, combine a Capacity Reservation with a Savings Plan or a regional Reserved Instance.
Mix options in one Auto Scaling group: a base of committed capacity, On-Demand for steady growth, and Spot above it.
要记住
- Steady all year: Savings Plans or Reserved Instances.
- Unknown or short load: On-Demand.
- Flexible, interruptible load: Spot.
- Per-socket or per-core licence: Dedicated Hosts.
- Capacity Reservation: capacity, no discount. Savings Plans: discount, no capacity.
要记住
- Mixed instances Auto Scaling group: On-Demand base, Spot on top.
考试中
- “Steady database server running all year, lowest cost” points to a Reserved Instance or Savings Plan.
- “Must be sure capacity exists in one AZ for an event” points to an On-Demand Capacity Reservation.
- “Stateless batch workers that can restart, lowest cost” points to Spot Instances.
别和这些弄混
- Reserved Instances in depthStandard or Convertible, regional or zonal, and how you pay decide the discount and the flexibility.
- Savings Plans in depthFour plan types: pick by what you want to keep flexible, and read utilization and coverage to size them.
- Spot designDesign for interruption: stateless, checkpointed, and spread across many instance types.
本任务内容 · 4.2
- Purchasing options compared
- Reserved Instances in depth
- Savings Plans in depth
- Spot design
- Dedicated Hosts and tenancy
- Rightsizing
Compute Optimizer
- Scaling and scheduling for cost
- EC2, Lambda and Fargate cost
Organizations
- Horizontal vs vertical scaling
Load Balancing
- Regions and AZs as the HA building block
- Picking compute by workload
- Instance families and sizing
Lambda
Fargate
Outposts
- Hybrid and edge compute options
NLB and GWLB
- Placing resources
- Cost allocation tags
Cost Explorer
Budgets
Cost and Usage Reports
- Multi-account billing
Auto Scaling