InterviewHubPRO
Section Overview
Q47

Question 47 of 65

Part 4: Storage, Content Delivery & Databases (36 - 50)

72%
AWS Cloud Architecture•Part 4: Storage, Content Delivery & Databases (36 - 50)

Aurora Serverless v2.

In Simple Words: Scales database compute capacity up and down instantly in fractions of an Aurora Capacity Unit (ACU) within milliseconds in response to real-time traffic spikes, without dropping database connections.

hcl
resource "aws_rds_cluster" "aurora_serverless" {
  cluster_identifier = "serverless-cluster"
  engine             = "aurora-postgresql"
  serverlessv2_scaling_configuration {
    min_capacity = 0.5  # Scales down to save cost during night
    max_capacity = 16.0 # Scales up for peak bursts
  }
}