49 lines
2.0 KiB
Markdown
49 lines
2.0 KiB
Markdown
---
|
||
title: "Amazon Aurora"
|
||
type: entity
|
||
tags:
|
||
- AWS
|
||
- Database
|
||
- Cloud-Native
|
||
- Relational Database
|
||
sources:
|
||
- ctp-topic-66-exposing-the-differences-between-postgresql-rds-and-aurora
|
||
last_updated: 2026-04-23
|
||
---
|
||
|
||
## Overview
|
||
Amazon Aurora 是 AWS 提供的云原生关系型数据库,采用 6 副本跨 3 可用区(AZ)的共享集群卷架构,相比传统 RDS 提供更高的性能、可用性和自动扩展能力。
|
||
|
||
## Core Architecture
|
||
- **Shared Cluster Volume**:跨 3 AZ 的 6 块 EBS 卷组成的共享存储,写入时自动复制到所有副本
|
||
- **无需数据复制**:新增读副本时直接连接同一集群卷,无需重新复制数据
|
||
- **Writer/Reader Endpoints**:独立的写入端点和读取端点,支持自动负载均衡
|
||
|
||
## Key Advantages
|
||
- **RTO 30 秒**:AZ 故障时恢复时间目标仅 30 秒
|
||
- **自动扩缩容**:Aurora Serverless v2 支持按需自动扩缩(实例类型/版本/区域有限制)
|
||
- **Aurora Global**:跨区域复制方案,支持托管式切换和故障转移
|
||
- **Blue-Green Deployment**:Aurora MySQL 支持 Blue-Green 大版本升级(PostgreSQL 不支持)
|
||
|
||
## Key Limitations
|
||
- 最小规格和成本高于 RDS
|
||
- Serverless v2 对实例类型、版本和区域有限制
|
||
- 按 IO 收费,高 IO 场景成本可能较高
|
||
- PostgreSQL 不支持 Blue-Green 部署
|
||
|
||
## Cost Considerations
|
||
Aurora 按 IO 计数收费,IO 理论上无上限(AWS 鼓励提供尽可能高的 IO 以增加收入)。适合超过 10-20 TB 的数据库或对 IO 性能有严格要求的场景。
|
||
|
||
## Related Entities
|
||
- [[Amazon RDS]]:传统关系型数据库托管服务
|
||
- [[AWS]]:云服务提供商
|
||
- [[EBS]]:Elastic Block Store,Aurora 的底层存储
|
||
- [[ctp-topic-51-architecting-with-aws-purpose-built-databases]]:AWS 专用数据库架构
|
||
- [[ctp-topic-66-exposing-the-differences-between-postgresql-rds-and-aurora]]:RDS vs Aurora 详细对比
|
||
|
||
## Aliases
|
||
- Aurora
|
||
- Aurora PostgreSQL
|
||
- Aurora MySQL
|
||
- Amazon Aurora Database
|