Thursday, 9 April 2020

GCP SQL (Postgres) integration with spring boot

here we will see how to connect to a  postgres instance in GCP , using spring boot

add these dependencies in the pom.xml










and add the following properties in application.properties file





and one more thing we have to install SDK and authenticate your account

https://cloud.google.com/sdk/gcloud/reference/auth/login. ,  follow this link to authenticate. now we are connected to GCP    





No comments:

Post a Comment