- Newest
- Most votes
- Most comments
Hello.
AWS recommends using RDS Proxy in production environments.
For example, when creating an API using Lambda that generates a large number of connections in a short period of time, RDS Proxy should be useful because a large number of connections will occur.
On the other hand, for Lambdas that are executed infrequently, such as once every hour, I think it is better to connect directly to RDS.
https://docs.aws.amazon.com/lambda/latest/dg/services-rds.html
You can connect a Lambda function to an Amazon Relational Database Service (Amazon RDS) database directly and through an Amazon RDS Proxy. Direct connections are useful in simple scenarios, and proxies are recommended for production. A database proxy manages a pool of shared database connections which enables your function to reach high concurrency levels without exhausting database connections.
Relevant content
- asked 2 years ago
- asked 9 months ago
- AWS OFFICIALUpdated 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a month ago