Hello. I just came across your post about Cloudfla...
# prisma-data-platform
c
Hello. I just came across your post about Cloudflare Worker support with Data Proxy. I have been looking for something that will work for a while now. None of the other "serverless" databases offer this type of proxy other than FaunaDB Question: I am trying to setup a connection string to an existing database but I have an issue with IP Whitelist. Any suggestions?
a
Hello @Chris B we don’t yet support connecting the data proxy to a database via static IP. The database needs to be accept requests from any address for now. I’d love to learn more about your use case. If you have some time, I’d be happy to do a call with you: https://calendly.com/alberto-prisma/45-min-zoom-call Otherwise please feel free to share all relevant details in written form via this read or DM. Thanks!
c
Hello @Alberto Perdomo basically I am looking for Cloudflare Worker to DB. However CF can not use a TCP connection to a database so looking at various alternatives. Everyone only has part of the solution.
Having a production database with open access isn'tr really an option.
CockroachDB is working on something I believe but requires Prisma. Of course if you are going to provide the same data proxy it would be even better
a
Thanks for the additional context @Chris B
Having a production database with open access isn’t really an option.
OK, good to know. We are probably working on static egress IPs very soon, which you could then explicitly allow traffic from. Would that work for you? After re-reading, it seems that you are still looking for a suitable DB. Is that correct? Are you looking at globally distributed DBs only or single region too? Beside CockroachDB, which other DBs are you considering?
c
Anything that will work with Cloudflare Workers
Planetscale, etc
Yes a range of IP's will work too
👍 1