How do I connect to my database?
Databases in LATAM are private, without internet access, so it is necessary to configure a bastion that serves as a proxy to connect to the database
If the database was created from the ANDES Bootstrap application, it is not necessary to configure a bastion, as this is already configured
Connect through the bastion
-
The user should go to ANDES to Instances VM > Google Compute Engines
-
Deploy in the GCP project VMs
-
In the bastion press the ⚡️ icon and select Start Instance
-
then from your PC execute
gcloud compute ssh --zone "<zone>" "bastion name" --tunnel-through-iap --project "<gcp project id>"
- Finally with the bastion turned on you can configure the database connection, usually it is localhost with a variable port