Connect to remote services

Open tunnels from your local machine to a remote service
When working with remote environments, it is often useful to create a tunnel from your local machine to the services which are running in the remote cluster. The tunnel can help you to easily interact with the remote services, for example to run database queries or execute database migration, etc.
In most cases, you would use this feature to connect to services you are not developing, such as infrastructure services, databases, and queues.
  1. 1.
    Verify you are authenticated and have the right working environment
  2. 2.
    Execute veloctl env portal (docs) and keep the process running in the background
  3. 3.
    Open another terminal and execute veloctl env portal connect -s <SERVICE_NAME>. The command output will contain the port and needed credentials (docs)
  4. 4.
    To disconnect, execute veloctl env portal disconnect (docs)
  5. 5.
    You can also terminate the portal initiated on step 2 (ctrl+c).