サービス · Database · CLF-C02 の発展
Amazon Aurora Serverless v2
Aurora that adjusts its capacity by itself, in small steps, and can pause when idle.
このレッスンはまだ翻訳されていないため、英語で表示しています。
クラウドプラクティショナーで学んだこと
- Aurora Serverless adjusts capacity by itself for workloads that change a lot or are hard to predict.
- Aurora is relational and compatible with MySQL and PostgreSQL.
Capacity
- Provisioned
- Fixed instance size
- Serverless v2
- Min to max ACUs, 0.5 steps
You pay for
- Provisioned
- Instance hours
- Serverless v2
- ACU seconds used
Best for
- Provisioned
- Steady, predictable load
- Serverless v2
- Spiky, dev and test, new apps
Idle cost
- Provisioned
- Full instance price
- Serverless v2
- Zero compute at 0 ACUs
| Compare | Provisioned | Serverless v2 |
|---|---|---|
| Capacity | Fixed instance size | Min to max ACUs, 0.5 steps |
| You pay for | Instance hours | ACU seconds used |
| Best for | Steady, predictable load | Spiky, dev and test, new apps |
| Idle cost | Full instance price | Zero compute at 0 ACUs |
1 / 2
Capacity
- Provisioned
- Fixed instance size
- Serverless v2
- Min to max ACUs, 0.5 steps
You pay for
- Provisioned
- Instance hours
- Serverless v2
- ACU seconds used
Best for
- Provisioned
- Steady, predictable load
- Serverless v2
- Spiky, dev and test, new apps
| Compare | Provisioned | Serverless v2 |
|---|---|---|
| Capacity | Fixed instance size | Min to max ACUs, 0.5 steps |
| You pay for | Instance hours | ACU seconds used |
| Best for | Steady, predictable load | Spiky, dev and test, new apps |
2 / 2
Idle cost
- Provisioned
- Full instance price
- Serverless v2
- Zero compute at 0 ACUs
| Compare | Provisioned | Serverless v2 |
|---|---|---|
| Idle cost | Full instance price | Zero compute at 0 ACUs |
概要
Aurora Serverless v2 measures capacity in Aurora Capacity Units (ACUs). One ACU is about 2 GiB of memory with matching CPU and networking. You set a minimum and a maximum, and Aurora scales the instance between them in steps as small as 0.5 ACU, without dropping connections. You pay for the ACUs used, by the second.
It is part of a normal Aurora cluster. You can mix provisioned and serverless instances, for example a provisioned writer and serverless readers. With a minimum of 0 ACUs, an idle database pauses after a time you choose (5 minutes up to one day) and you pay no compute while it is paused. The next connection resumes it, in about 15 seconds.
覚えること
- Best for spiky or unknown load, dev and test, new applications and many small tenants.
- Scales in 0.5 ACU steps while queries run. One ACU is about 2 GiB of memory.
- Minimum 0 ACUs: pauses when idle, resumes in about 15 seconds. Storage is still charged.
- Auto-pause does not work with an RDS Proxy attached, or on the primary cluster of a Global Database.
覚えること
- A steady, busy database is usually cheaper on provisioned instances with reserved pricing.
試験では
- “Unpredictable or spiky workload, pay only for what is used” points to Aurora Serverless v2.
- “Development database used only a few hours a day, lowest cost” points to Aurora Serverless v2 with a minimum of 0 ACUs.
- “Steady 24/7 load” points to provisioned Aurora, with Reserved Instances.
混同しやすいもの
Amazon AuroraA cloud-built MySQL- and PostgreSQL-compatible database with shared storage, fast failover and up to 15 replicas.
Amazon Relational Database Service (Amazon RDS)Managed MySQL, PostgreSQL, MariaDB, Oracle, SQL Server and Db2: choose the engine, the instance class and the storage type.
Amazon DynamoDBServerless key-value and document database. Design the key well and choose the capacity mode.