# database

## Using AKS and SOCKS to connect to a private Azure DB

2023-05-22 by Dave Gallant
aks aws azure bastion cloud‑sql‑proxy database eks k8s kubectl‑plugin‑socks5‑proxy proxy socat socks

I ran into a roadblock recently where I wanted to be able to conveniently connect to a managed postgres database within Azure that was not running on public subnets. And by conveniently, I mean that I’d rather not have to spin up an ephemeral virtual machine running in the same network and proxy the connection, and I’d like to use a local client (preferably with a GUI). After several web searches, it became evident that Azure does not readily provide much tooling to support this.

Read more >