Skip to main content
RDS Proxy is a fully managed, highly available database proxy for Amazon RDS (including Aurora) that helps applications scale more reliably by pooling and reusing database connections. When many application instances open and close direct connections to the same RDS database, the database must repeatedly establish and tear down sessions. That connection churn increases CPU and memory utilization and can degrade query performance. This is especially problematic for rapidly scaling compute patterns such as AWS Lambda, where each concurrent invocation may open its own connection and quickly exhaust the database’s connection capacity. RDS Proxy solves this by maintaining a pool of established connections to the database and sharing those connections among application clients. Clients obtain pooled connections from the proxy; the proxy multiplexes many client requests over a smaller set of database connections. The result is lower latency for new requests, fewer concurrent connections on the database, and more stable CPU/memory usage.
A diagram showing multiple applications on the left connecting to an RDS Proxy in the center that manages several pooled connections. The proxy forwards those connections to an RDS database instance on the right.
Key technical behaviors:
  • Connection pooling: RDS Proxy keeps warm, reusable connections to the DB so client requests avoid full session handshakes.
  • Multiplexing: Many clients can share fewer backend DB connections, reducing total concurrent DB connections.
  • Seamless client integration: Applications continue to use standard DB drivers; the proxy sits between the app and the RDS endpoint.
  • Authentication: RDS Proxy integrates with AWS Secrets Manager to manage credentials securely.
Resiliency during failover RDS Proxy improves application availability during RDS failovers. If a primary instance fails and Aurora or RDS promotes a new primary, the proxy can reroute active client traffic to the new primary with minimal disruption. This reduces application errors and shortens failover impact on end users.
A diagram titled "RDS Proxy in Failover" showing multiple application clients connecting to an RDS Proxy, which forwards traffic to a primary RDS instance. If the primary fails, the proxy directs traffic to a secondary RDS instance (failover).
Benefits summary
A presentation slide with a teal left panel labeled "Summary" and three colored bullet points on the right. The bullets summarize Amazon RDS Proxy benefits: a fully managed database proxy, efficient connection pooling, and fewer open connections to save CPU and memory.
When to choose RDS Proxy
  • Use RDS Proxy when connection management is the bottleneck (high connection churn, frequent reconnects, or many short-lived connections).
  • Ideal for serverless architectures (Lambda, Fargate) where concurrency directly correlates to connection growth.
  • Consider for applications that require fast failover recovery and secure credential handling.
Additional considerations
  • RDS Proxy is a managed service; review pricing and connection limits per proxy.
  • Some advanced DB features or session-specific behaviors may require testing to ensure compatibility behind a proxy.
Exam tip: If an RDS instance shows high CPU specifically due to a large number of client connections (for example, many concurrent Lambda invocations each opening its own connection), the recommended solution on exams is usually to use Amazon RDS Proxy to pool and multiplex connections.
Links and references

Watch Video