Amazon Relational Database Service (RDS) is an AWS service that allows you to set up and operate relational databases in the AWS cloud. It also manages most of the administration tasks for maintaining the database. With RDS, users can focus on their applications and data without worrying about managing database infrastructure.
Amazon RDS Proxy is a fully managed and highly available database proxy for Amazon RDS service. It makes a database instance more scalable in terms of handling a large number of connections. This Cloud Lab aims to equip you with the necessary skills to integrate the Amazon RDS Proxy with the RDS database instance to improve scalability in terms of maintaining connections.
In this Cloud Lab, you’ll first set up necessary resources like the VPC and AWS IAM role. After that, you’ll create an Aurora MySQL database instance. You’ll also create a Lambda function to connect with the database instance. Furthermore, you’ll create an RDS Proxy and connect it to the previously created database instance. You’ll also create a Lambda function to connect to the database through an RDS Proxy. Finally, you’ll compare the performance of connections made directly with the RDS database instance and connections made through the RDS Proxy when many applications try to connect.
The following is the high-level architecture diagram of the infrastructure you’ll create in this Cloud Lab: