Questions tagged [amazon-rds-proxy]
89 questions
0
votes
0 answers
PGSQL: Long Connection Time to Postgres on Amazon RDS
I'm experiencing some long connection time to RDS Proxy (from 70ms to 100ms). I have found out that this is inherent to the connection as spring is logging when connection is performed and we have a notion of the time taken therefore.
I know that…

Francisco Spaeth
- 23,493
- 7
- 67
- 106
0
votes
1 answer
How to Access RDS Proxy from a Different AWS Region?
I have a RDS database and a RDS proxy in one region.
However, I also have a lambda function in a different region that need to connect to the RDS proxy in the first region.
I know that the RDS proxy can't be publicly accessible and need to be within…

Anatol
- 3,720
- 2
- 20
- 40
0
votes
1 answer
Lambda RDS Proxy connection from different VPC
I have two AWS accounts with VPCs connected with peer connections. I have RDS Proxy on account 1 and Lambda in the private, isolated subnet on account 2.
I cannot figure out how to connect to RDS Proxy. I was trying all possible VPC endpoints and…

Alexander Matrosov
- 953
- 1
- 11
- 33
0
votes
1 answer
TypeORM AWS RDS Proxy Integration
I am trying to use RDS proxy with TypeORM in a nestjs application. RDS Proxy uses IAM authentication, because of which I am getting authentication error after 15 minutes. Please let me know if there is a way to make typeorm refresh the token before…

Anil Bhaskaran
- 495
- 1
- 8
- 23
0
votes
1 answer
AWS RDS Proxy CPU consumption when initiating new connections
I am using RDS Proxy in front of Aurora MySQL writer(db.r3.large), and I started doing some performance testing.
My test consist on making 500 requests per minute and check how the Proxy and Aurora performs.
What I observed is that Aurora instance…

Marcos Mussio
- 61
- 1
- 7
0
votes
0 answers
Creating RDS Proxy and RDS Cluster with CDK fails the first time
I'm trying to create a DB stack, it has and RDS Cluster, and RDS Proxy and some other stuff.
When I first run cdk deploy always fails half way with the following message:
Embedded stack…

Higher
- 1
- 1
- 2
0
votes
1 answer
Lambda opening RDS proxy connections
I am integrating lambda(Python) with RDS proxy, and for some of the examples on the web, I can see people initiating the connection outside the handler, and never closing it.
On the other hand, I have seen examples on which people initiate the…

Marcos Mussio
- 61
- 1
- 7
0
votes
2 answers
AWS RDS proxy target group - Session Pinning Filter not working
I am seeing this behaviour where the AWS RDS Proxy TargetGroup is set to take 75% of the available connections. As per documentation, RDS proxy should only take up these connections as required and not try to take them all.
What I am actually…

FrailWords
- 886
- 7
- 19
0
votes
0 answers
AWS RDS Proxy Connection from Java Spring Boot
We are using Java Spring Boot 2.3 alongside Postgresql as our database.
For better availability, we want to implement Multi A-Z and RDS Proxy for Postgresql.
In application.properties file, we are using the following properties for normal connection…

alext
- 678
- 1
- 11
- 25
0
votes
1 answer
AWS Lambda and RDS Aurora Integration - How to handle open connections?
I have an API gateway in order to expose services, using lambda integration(Python 3.6) and I need to integrate lambda with RDS Aurora MySQL.
As far as I know, lambdas are stateless, that means I cannot save the status of all the open connections…

Marcos Mussio
- 61
- 1
- 7
-1
votes
0 answers
What causes SocketException with Entity Framework Core, npgsql and RDS proxy?
We're currently using .NET Core 7 with Npgsql.EntityFrameworkCore.PostgreSQL 7.0.4.
We're using AWS RDS Proxy in front of RDS Aurora Postgres. Our proxy has an idle connection timeout of 30 minutes. The proxy manages its own connection pool.
In the…

alex
- 444
- 1
- 5
- 17
-1
votes
1 answer
Does Serverless-Offline allow you to locally test lambdas that interact with AWS services that are only accessible from the same VPC?
I have an RDS db and an RDS Proxy handling my connections to it. RDS Proxy is only accessible from within the same VPC. I want to be able to locally test a Lambda I've written to connect to it. If I use serverless-offline will the fact I'm running…

SebJS74
- 21
- 3
-1
votes
1 answer
AWS RDS Proxy connection
I have written a golang aws lambda application and used sqlx for database connection .
I am having problem as the number of db connection is going up too quickly and exhausting the total number connection.
After doing some read, I came across aws…

Prasenjit
- 418
- 3
- 7
- 20
-2
votes
2 answers
Why can I not select my RDS database when trying to set up a RDS proxy?
I am facing an issue while setup the RDS proxy. I have set up RDS Mysql t3.small but when I am going to ad rds instance in RSS proxy target section it doesn't show there though rds instance is available.
anyone facing issue like this.
Please guide…

Hardik Patel
- 127
- 2
- 9