found this today when i was looking to decrease ou...
# prisma-data-platform
a
found this today when i was looking to decrease our cold boot times - looks pretty slick, can't wait to pay you for a production version
๐Ÿ™Œ 1
a
Hello @Adam Kaczmarek, thanks for the nice words. Have you been able to test the data proxy yet? We would really love to hear your feedback.
a
I did give it a shot and it seemed to work as expected ๐Ÿ™‚
๐ŸŽ‰ 1
a
Glad to hear!
If you come up with any feedback please donโ€™t hesitate to reach out!
a
no issues with it from my perspective other than documenting a setup that allows for both local / vercel preview / vercel prod without too much manual tweaking
a
Did you figure out easily how to use the env vars to enable / disable the data proxy engine type or did it take longer than it could have been to find out about that?
a
yeah, I figured it out, just would be good to have an opinionated approach in the vercel demo example
m
I really need to decrease my lambda cold starts as well. Just wish I could use it with Aurora Serverless
๐Ÿ’ฏ 2
m
@Mischa same here. My attempt to install pgbouncer on an EC2 went nowhere.
m
Iโ€™m wondering if I should switch to Aurora Postgres (not serverless) and use data proxy with that? is that supported?
a
Yes, Aurora (not serverless) databases can be exposed via public IP, thus they should be compatible with the Data Proxy already. The main reason Aurora Serverless is not compatible is because it can only be connected from the private network inside the VPC. For instructions on how to setup a public Aurora instance, see https://aws.amazon.com/premiumsupport/knowledge-center/aurora-private-public-endpoints/ For those who are still interested in keeping their instance protected from public internet, we are about to land a static egress IP feature. This enables users to explicitly allow traffic from our set of public IPs and reject connections from the rest of the public network.
m
thanks, I'm getting desperate for solutions to my cold start issue so I may try switching from aurora serverless to plain aurora to use this.
a
If you do so, please let me know how it goes. We are happy to help. Also, know that compatibility with Aurora Serverless is in our radar and we hope to be able to work on that in the coming months.
m
it would be marvelous if I could include a CDK construct in my stack that deploys some data proxy function into my VPC and provides a DATABASE_URL