You can use these instructions to establish an SSH tunnel connection to a VMware SQL with MySQL for Tanzu Application Service service instance from outside a deployment.

In general, the preferred method to connect to a service instance from outside your deployment is through service-gateway access. For information, see Creating a service instance with Service-Gateway access.

Overview on using SSH to connect outside a deployment

You might want to use an SSH tunnel in the following cases:

  • Connecting from a local workstation. For more information, see VMware SQL with MySQL for TAS Tools.
  • Connecting from outside where your VMware SQL with MySQL for TAS service instance is located.
  • Connecting from a legacy app that is not in your TAS for VMs deployment.
  • Taking a manual backup to be stored locally. For more information, see Backing up and restoring with mysqldump.

Any app deployed within your deployment can resolve BOSH DNS hostnames and forward traffic to MySQL service instances using an SSH tunnel.

Prerequisite

To connect using an SSH tunnel, you must have SSH access to app containers. For more information, see Configuring SSH access for TAS for VMs.

Procedure

To connect to a MySQL instance using an SSH tunnel, follow the procedures in Accessing Services with SSH.

check-circle-line exclamation-circle-line close-line
Scroll to top icon