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.
- 2.
- 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.
- 5.You can also terminate the portal initiated on step 2 (ctrl+c).
Last modified 1mo ago