Tunneling to Private Instances and Ports
Unikraft Cloud (UKC) supports the ability to tunnel to private instances or ports via the kraft cloud tunnel
command.
At its most basic, you can create such tunnel with:
This command will forward the local port 8080 to the tcp port 8080 of the private instance my-instance
.
In many cases, you’ll probably want to explicitly set the local port to use;
you can do so with:
This command is the same as the previous one but sets the local port to be 8443.
Learn More
- The
kraft cloud
CLI reference, and in particular the tunnel sub-command