Here's an example of setting up a basic point to point VPN using SSH tunnels.
First you need a server in the cloud that isn't behind a NAT.
Ensure that the host and server has port 22 open and is running sshd
.
If you're using AWS, make sure to check your security groups.