How do you guys manage IP address access to production / dev databases?
1–6 of 6 posts
Re: How do you guys manage IP address access to production / dev databases?
#2Make the apps/users connect to a VPN (wireguard or openvpn, setup on a seperate EC2/droplet). Then on the database server only allow connections from the internal IP of the VPN server.
Ideally the database is in a private subnet in the VPC (can't accessed directly from the outside at all) and the VPN server is a public subnet with an Elastic (static) IP. That is how to set it up on AWS anyway, I am not sure the DO networking equivalents off the top of my head.
Re: How do you guys manage IP address access to production / dev databases?
#3I would avoid at all costs exposing the database to the public internet, even with IP whitelisting. Make the apps/users connect to a VPN (wireguard or openvpn, setup on a seperate EC2/droplet). Then on the database server only allow connections from the internal IP of the VPN server. Ideally the database is in a private subnet in the VPC (can't accessed directly from the outside at all) and the VPN server is a public…
I was thinking if there was a tool that could proxy connections only to database.
Re: How do you guys manage IP address access to production / dev databases?
#4I would avoid at all costs exposing the database to the public internet, even with IP whitelisting. Make the apps/users connect to a VPN (wireguard or openvpn, setup on a seperate EC2/droplet). Then on the database server only allow connections from the internal IP of the VPN server. Ideally the database is in a private subnet in the VPC (can't accessed directly from the outside at all) and the VPN server is a public…
Is there a simpler solution as compared to using a VPN. As it is work from home right now and internet speed is not that great for few folks in our organisation. I was thinking if there was a tool that could proxy connections only to database.
Re: How do you guys manage IP address access to production / dev databases?
#5I would avoid at all costs exposing the database to the public internet, even with IP whitelisting. Make the apps/users connect to a VPN (wireguard or openvpn, setup on a seperate EC2/droplet). Then on the database server only allow connections from the internal IP of the VPN server. Ideally the database is in a private subnet in the VPC (can't accessed directly from the outside at all) and the VPN server is a public…
Is there a simpler solution as compared to using a VPN. As it is work from home right now and internet speed is not that great for few folks in our organisation. I was thinking if there was a tool that could proxy connections only to database.
Re: How do you guys manage IP address access to production / dev databases?
#6Earlier quoted context omitted.
Is there a simpler solution as compared to using a VPN. As it is work from home right now and internet speed is not that great for few folks in our organisation. I was thinking if there was a tool that could proxy connections only to database.
SSH tunnels work. But you still need to control access to the bastion server / outside host system.