Lab10: Aurora Serverless

Amazon Aurora Serverless is an on-demand, autoscaling configuration for Amazon Aurora. Unlike Aurora provisioned DB clusters for which you manually manage capacity, an Aurora Serverless DB cluster is a DB cluster that scales compute capacity up and down based on your application’s needs. Aurora Serverless provides a relatively simple, cost-effective option for infrequent, intermittent, or unpredictable workloads. It is cost-effective because it automatically starts up, scales compute capacity to match your application’s usage, and shuts down when it’s not in use.

You can access your Aurora Serverless DB cluster using the built-in Data API. Using this API, you can access Aurora Serverless with web services–based applications, including AWS Lambda, AWS AppSync, and AWS Cloud9. The Data API doesn’t require a persistent connection to the DB cluster. Instead, it provides a secure HTTP endpoint and integration with AWS SDKs. You can use the endpoint to run SQL statements without managing connections.

This lab will demonstrate how to create an Amazon Aurora Serverless PostgreSQL DB cluster and interact with it using RDS Data API and Lambda functions. We will also observe how Aurora Serverless scales up and down depending on the workload.


This lab requires the following lab modules to be completed first: