AWS aurora serverless v1 v2

Ngchiwa Ng
2 min readJan 17, 2023

--

In this article, we will talk about

  • AWS RDS serverless v1 architecture
  • AWS RDS serverless v2 enhancement
  • Consider v1 to v2

AWS RDS serverless v1 architecture

Figure 1: Shows how Aurora manages the warm pool of resources in an AWS Region to minimize scaling time. When Aurora Serverless adds new resources to the Aurora DB cluster, it uses the router fleet to switch active client connections to the new resources.

Source: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless.how-it-works.html

Ref: https://www.sqlshack.com/implement-an-amazon-aurora-serverless-cluster/

AWS RDS serverless v2 enhancement

Main change :

  • scale in vertical(not get new instance from warm pool) — thats why scale very fast

Ref: https://www.youtube.com/watch?v=_2o7vVAxst0

Consider v1 to v2

Pros

  • can integrate to AWS RDS proxy
  • fast in vertical scaling
  • replica adoption

Ref: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.html#aurora-serverless-v2.advantages

Cons

  • upgrade v1 to v2 in detail
    - not easy upgrade v2 from v1(many process , create snapshot, restore to new instance…)
    - hard to handover traffic/sync data without downtime
  • Pricing
    - v2 price increase 2 times, it is very expensive(compare with v1)

--

--

Ngchiwa Ng
Ngchiwa Ng

Written by Ngchiwa Ng

Backend/iOS Engineer, rock the world

No responses yet