No bastion? No problem. Sometimes the best database client is just a pod that cleans up after itself.
| |
Once inside the pod:
| |
Why this works:
- Pod runs inside EKS cluster network
- Can reach RDS via security group rules
- No need for bastion host or port forwarding
- Auto-cleanup (
--rmflag removes pod on exit)
Usage:
- First command creates temporary interactive pod
- Second command connects to RDS from within the pod
- Exit the shell to auto-delete the pod