Files
nexus/wiki/concepts/Pay-as-you-go.md
2026-04-22 04:03:04 +08:00

56 lines
2.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: "Pay-as-you-go"
type: concept
tags: [cloud-computing, billing, economics]
date: 2025-03-02
---
# Pay-as-you-go
**Pay-as-you-go**(按使用量付费)是云计算的核心经济模型,用户仅为实际使用的资源付费,无需长期承诺或前期投入。
## Definition
按需计费模式,允许用户根据实际资源消耗(计算、存储、网络)进行付费,无需预留容量或签订长期合同。
## Key Characteristics
- **无前期成本**:无需购买硬件或签订长期合同
- **弹性计费**:资源使用量决定费用,粒度可到秒/分钟
- **按需扩缩**:流量高峰时扩容,低谷时缩减
- **成本可见性**:实时监控和成本分摊
## Cost Optimization Strategies
| Strategy | Description | Savings |
|----------|-------------|---------|
| **Reserved Instances/Spot** | 预留或抢占式实例 | 30-70% vs On-demand |
| **Auto Scaling** | 根据负载自动调整容量 | 避免过度配置 |
| **Serverless** | 按函数执行计费 | 仅在函数运行时计费 |
| **Savings Plans** | 承诺使用量换取折扣 | 20-40% 折扣 |
## Cloud Myths Context
Pay-as-you-go 是反驳"云太贵"误解的核心证据:
- **传统采购**CapEx 模式,前期大量投入,利用率低时浪费
- **云按需付费**OpEx 模式,按需使用,成本与业务对齐
- 消除本地硬件采购、维护和升级的隐性成本
## Challenges
- **Egress 费用**:数据流出云端时的高额流量费
- **意外计费**:缺乏监控导致超预期费用
- **长期成本**:稳定负载下预留实例的复杂性
- **复杂性**:多种计费模式的优化需要专业知识
## Related Concepts
- [[Cost-Optimization]] — 云成本优化
- [[cloud-computing]] — 云计算
- [[Scalability]] — 可扩展性
- [[FinOps]] — 云财务管理
## Sources
- [[The Myths and Misconceptions About Cloud Computing (LinkedIn)|sources/the-myths-and-misconceptions-about-cloud-computing-linkedin]]