How to Connect to PostgreSQL Instance with Private IP by using GCP VM GCP SQL Cloud Tutorial 2022

Topic:  How to Connect to PostgreSQL Instance with Private IP by using GCP VM 


How to Connect to PostgreSQL Instance with Private IP by using GCP VM GCP SQL Cloud Tutorial 2022, in this video we are going to learn How to Connect to PostgreSQL Instance with Private IP by using GCP VM GCP SQL Cloud Tutorial 2022

Script:

Install psql client

sudo apt-get update
sudo apt-get install postgresql-client


psql "host=PrivateIP port=5432 sslmode=disable dbname=postgres user=postgres"

psql "host=172.21.160.12 port=5432 sslmode=disable dbname=postgres user=postgres"
  


Video Demo: How to Connect to PostgreSQL Instance with Private IP by using GCP VM


1 comment:

  1. For developing an iOS app, I suggest going with iOS App Development by Sam Solutions https://www.sam-solutions.com/services/mobile-and-web-app/ios-application-development-services/. They specialize in iOS app development and have a fantastic team of experts who can handle everything from design to deployment. My experience with them was excellent—they were very responsive and kept me in the loop throughout the entire project. The app they developed for me was exactly what I envisioned and worked flawlessly. Their attention to detail and commitment to quality really set them apart. If you need reliable and skilled developers, Sam-Solutions is the way to go!

    ReplyDelete