snowex-hackweek / jupyterhub

jupyterhub configuration for snowex hackweek 2021
https://snowex.hackweek.io
MIT License
1 stars 0 forks source link

Remote access to postgres database #3

Closed scottyhq closed 3 years ago

scottyhq commented 3 years ago

A feature request that would be useful is allowing remote access to the database from a machine outside of the jupyterhub cluster VPC. For example, how can we explore this database from QGIS running on a laptop? There are two requirements for this:

  1. The database must be configured to allow access for given user credentials

  2. The EC2 instance with the database must have certain ports open (can be open to any IP, or restricted to certain ranges of IPs) https://github.com/snowex-hackweek/jupyterhub/blob/7adb37f9880808eb01517c4f24a5dafc40638870/terraform/eks/ec2_postgres.tf#L22

cc @lsetiawan @aaarendt @micahjohnson150

micahjohnson150 commented 3 years ago

I add those things on Friday I think so we should be good to go on the DB configuration front.