Questions tagged [amazon-rds-proxy]
89 questions
2
votes
2 answers
Connection denied using RDS proxy user different than master username
I'm trying to set up a RDS proxy to serve mysql databases to my applications.
The most of the apps run with a username and password equals to master username set on RDS database, which have all grants.
I'm trying to access My RDS instance with a…

Diego Viane
- 33
- 3
2
votes
0 answers
Amazon RDS Proxy Closing Connections
I'm using Amazon RDS Proxy for my main database for my node application. I recently noticed that in my server logs I was receiving a lot of fatal PROTOCOL_CONNECTION_LOST errors with my database instance which would cause my server to reboot (using…

ewein
- 2,695
- 6
- 36
- 54
2
votes
1 answer
How to configure Spring Boot HikariPool for use with AWS' RDS Proxy?
I've been trying to get our microservice setup to use the AWS RDS Proxy rather than connecting straight to the cluster for failover reasons. It connects just fine, but after it has been running for a while, there are errors that surface that end up…

tallkid24
- 1,697
- 4
- 16
- 20
2
votes
2 answers
Why can I not connect to an RDS Aurora DB via proxy?
I setup a Postgresql Aurora DB and a Proxy via Terraform (code below), which is apparently running fine. But for some reason I can not connect to the DB through the proxy. The proxy claims that there are lacking credentials for the role, but if I…

SiOx
- 478
- 1
- 6
- 13
2
votes
0 answers
Flask-SQLAlchemy connect to RDS-proxy over IAM
I have an application which needs to connect to and RDS (postgres) proxy with IAM. It makes use of the create_app method.
def create_app():
connex_app = connexion.App(__name__, specification_dir=base_apispec_dir)
…

teuno
- 61
- 1
- 10
2
votes
0 answers
AWS proxy: RDS connection throttling while using sequelize in lambda
I am leveraging the use of AWS services for a functionality
Summary: I have a lambda that accesses a Postgres DB in RDS. Instead of directly connecting to DB, the proxy endpoint is accessed as it is architecturally advised. I have no problem…

neeraj mdas
- 163
- 3
- 15
2
votes
1 answer
Golang AWS SDK and RDS Proxy IAM Auth
I'm developing Go app with AWS SDK v2 for Go.
I want to connect to my RDS DB through RDS Proxy using IAM Role for auth. I've found an examples in SDK docs how to do it in SDK v1, however with SDK v1 I have a problem with assuming correct IAM role…

szymon
- 830
- 1
- 7
- 11
2
votes
0 answers
Lambda - MYSQL -RDS RDS Proxy ETIMEOUT Errors
I have a lambda function that connects to RDS instance using AWS RDS Proxy. I occasionally get timeout errors when connecting to RDS DB instance. I have plenty of connections in the pool. I use rds proxy userid & pass to connect
ERROR:
{
…

Ann
- 217
- 1
- 9
2
votes
2 answers
Terraform use a list of configuration blocks as an argument
The Terraform resource, aws_db_proxy, has a list of auth block(s) as an argument. Below is an example from the terraform documentation.
Each auth block represents a user, and each user needs a secret in Secrets Manager. Our platform has four…

navig8tr
- 1,724
- 8
- 31
- 69
2
votes
1 answer
AWS RDS Proxy unavailalbe - how to debug?
I have created an RDS Proxy using Terraform. However, it does not seem to be working.
My application code cannot connect to the proxy (timeout) and aws rds describe-db-proxy-targets gives the following:
{
"Targets": [
{
…

sdgfsdh
- 33,689
- 26
- 132
- 245
2
votes
1 answer
How to add RDS Proxy to AWS Lambda using AWS CLI
I have few lambdas that are connecting to RDS via RDS Proxy. As part of the deployment I need to add a step to attach RDS Proxy to the lambda. But I am unable to find right CLI command to do that. I did not see any methods in Lambda side or RDS side…

user1868744
- 963
- 1
- 13
- 27
2
votes
0 answers
AWS Lambda RDS Proxy - Not able to select RDS Instance
I am not able to select any RDS instance from my lambda to setup a database proxy.
I already created 3 different types (mysql, mariadb, aurora) and it never shows me a RDS instance to select.
What do I have to do to be able to select a RDS Instance…

Murilo Freire
- 51
- 4
2
votes
1 answer
Does RDS proxy support automatic or transparent read/write splitting
Can we do automatic or transparent read/write splitting using amazon RDS proxy or we need to explicitly give reader and writer point to split that?

SANDHYA SINGH
- 151
- 2
- 8
2
votes
3 answers
AWS Lambda flooding RDS MySQL connections during spikes
I have Django running on AWS Lambda connecting to MySQL on RDS. Everything works great most of the time.
However, if a spike executes 10000 concurrent requests this spawns many Lambda containers and each opens a database connection which will…

pythonjsgeo
- 5,122
- 2
- 34
- 47
1
vote
1 answer
Is it okay to use both connection pools in AWS RDS proxy and mysql connection pool in lambda?
I am now moving my website from EC2 to lambda+RDS and I don't have much experience in RDS. As you know, AWS RDS supports a proxy to provide a connection pool and the lambda MySQL node.js module also supports a connection pool. Is it okay to use both…

ruslan
- 37
- 6