Is there a way to setup a DbProxy infront of the R...
# help
r
Is there a way to setup a DbProxy infront of the RDS serverless aurora? https://docs.aws.amazon.com/cdk/api/v1/docs/@aws-cdk_aws-rds.DatabaseProxy.html The
ProxyTarget.fromCluster()
is looking for an
IDatabaseCluster
object. I can't seem to get that from the serverless stack resources.
or is there a way to access the underlying cdk resources?
f
Hey @Ryan Barnes, you can’t RDS Proxy with Serverless Aurora
r
ohhhh
does Serverless Aurora just manage connections under the hood?
We recommend using RDS Data Api with Serverless Aurora v1
U don’t need to manage connections, and ur Lambdas don’t need to be deployed inside a VPC
r
yeah, my stack isn't entirely happy lambdas managed by sst.
I've got some custom messy ec2 instances to deal with.
But those might be good without a proxy.
f
I see. U should be able to use Lambda with Data Api, and EC2 instances connect directly to RDS
managing connection pools is a headache in Lambda
r
yeah... I don't want to do that.