How could I connect to external database safely?

Currently we are planning to host our api service on Railway. But we do have external data which need to connect to e.g. kafka, and MSSQL. How can we have private connectivity to our in house database?
7 Replies
Percy
Percy2y ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
Brody
Brody2y ago
add the connection details to service variables, and use those environment variables in code
woon9295
woon9295OP2y ago
It might have vulnerability. The connection expose to public, i can't convince to my investor to using Railway as a design of this, i am thinking to use 2 way ssl connection.
Brody
Brody2y ago
okay then tailscale private network
woon9295
woon9295OP2y ago
is tailscale a vpn? how is it work to your Railway platform?
Brody
Brody2y ago
it would be something you would need to add to your app yourself, you can do some research if you are unsure of what it is
woon9295
woon9295OP2y ago
noted. Thanks @Brody
Want results from more Discord servers?
Add your server