Connecting to a VM
SSH connection
Once you have a cloud VM up and running, you will be able to connect to it with SSH.
The IP address and login to use for the SSH connection are given in the detailed deployment page you can access by clicking on the VM ID.
The instructions given in the connecting to the cluster should be applicable, except for the "which machines should I connect to?" as you can connect to your VM directly.
SSH tunnel
An SSH tunnel allows (among other things) to connect to a service running on your VM even if the port on which this service runs is not open. The connection to the service is made by "tunneling" it through the SSH connection, which is always available.
As an example, suppose you have launched a VM with the IP address 134.214.42.42. You installed a website or web application on it which is running on development mode on port 3000, and you would like to connect to it with the web browser on your laptop.
You can try to open the URL http://134.214.42.42:3000
on your browser, but this will not work as port 3000 is not open and not accessible from outside the VM itself.
The solution is to open an SSH tunnel by running the following command on your laptop:
If you run the command (and let the terminal open), any connection made on the port 3000 of your laptop will be "tunneled" to the port 3000 of your VM. So you should be able to access your web application by opening in your browser: http://localhost:3000