Getting Started with RDS Proxy

Getting Started with RDS Proxy
Getting Started with RDS Proxy

CLOUD LABS

Getting Started with RDS Proxy

In this Cloud Lab, you’ll learn to use Amazon RDS Proxy for improved scalability and fault tolerance for Amazon RDS database instances.

9 Tasks

intermediate

2hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

Hands-on experience creating an RDS database instance
Hands-on experience creating an RDS Proxy
The ability to connect to the database directly and through RDS Proxy with Lambda functions
Thorough understanding of the importance and advantages of Amazon RDS Proxy

Technologies
AWS logoAWS
RDS
RDS Proxy
Aurora logoAurora
Secrets Manager
Lambda logoLambda
Cloud Lab Overview

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:

The complete architecture diagram
The complete architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
2.Deploy and Connect to an RDS Instance
Create a VPC
Create an RDS DB Instance
Connect with the DB Instance
3.Deploy and Use RDS Proxy
Create an RDS Proxy
Connect with the DB Instance through Proxy
Compare the Performance of Both Types of Connections
4.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Trusted by 1.4 million developers working at companies including

Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg
Don’t take our word for it. See what our developers have to say.

Your method is simple, straight to the point and I can practice with it everywhere, even from my phone, that's something I have never had in other learning platforms.

Felipe Matheus
TestimonialsImg

I highly recommend Educative. The courses are well organized and easy to understand.

Adina Ong
TestimonialsImg

I prefer Educative courses because they have a nice mix of text & images. I find that with full video courses, it can often be too easy to go into passive learning mode.

Clifford Fajardo
TestimonialsImg

Get access to Educative Cloud Labs

Course Footer Image
Course Footer Image