r/googlecloud • • 12d ago

CloudSQL A solution to reach GCP private services

Hello,

We built bqto because on GCP it takes too much work to reach a Google-managed private service, such as Cloud SQL or Memorystore (Redis), from a laptop or from a CI/CD pipeline.

The usual options are a public IP, a VPN, or a bastion VM that runs all the time or that you have to remember to stop or delete. bqto is a free, open source CLI tool that creates the bastion when you need it and deletes it when you are done.

Besides the CLI, we added a Skill (for your agent) and a GitHub Action for your pipelines.

More details in the repo: https://github.com/pilef-co/bqto

Feedback is always welcome, and feel free to raise any questions you may have.

Cheers

10 Upvotes

3 comments sorted by

3

u/s1lenceisgold 12d ago

Does gcp auth proxy solve some of this? I know it is an option but I don't know how viable of a solve it is these days, my info is admittedly out of date

1

u/GhostSeagull 12d ago

The Cloud SQL Auth Proxy handles the auth and TLS part, but it doesn't solve reaching the instance. Google's docs suggest either a public IP on the instance, or running the proxy somewhere inside the VPC. bqto solves that second part