This page is actively maintained by the Grid'5000 team. If you encounter problems, please report them (see the Support page). Additionally, as it is a wiki page, you are free to make minor corrections yourself if needed. If you would like to suggest a more fundamental change, please contact the Grid'5000 team.
This page details some methods to access web content or web services inside Grid'5000. For the Grid'5000 Rest API, see the API all in one Tutorial.
A public directory is automatically created in your home directory in every Grid'5000 site. All files inside that directory are published over HTTP.
- From inside the Grid'5000 network, the content is available at
(mind the ~)
- From anywhere, with basic authentication
sitewith the target Grid'5000 site.
usernamewith your Grid'5000 username.
HTTP reverse proxy
Network connections (tcp, udp, ...) to any Grid'5000 node from outside Grid'5000 are possible using Grid'5000 VPN.
Whenever you need to connect to a web interface or web API served by a Grid'5000 node using HTTP or HTTPS, you can use Grid'5000 reverse proxy.
- The base URL to use is https://
mysite.http.proxy.grid5000.fr/ for HTTP ;
- And https://
mysite.https.proxy.grid5000.fr/ for HTTPS.
If you can't run your service on the standard HTTP port (80) or HTTPS port (443) (because you don't want to run the service as root for instance), you can use a port 8080 or 8443.
- You can then use https://
mysite.http8080.proxy.grid5000.fr/ for HTTP ;
- and https://
mysite.https8443.proxy.grid5000.fr/ for HTTPS.
Please note that the reverse proxy needs authentication using your Grid'5000 credentials.
(Also if you reach the default apache web page instead of your web service, that's probably because you miss-typed the URL :-) ).
Proxying with SSH
Another way to access a web service running inside Grid'5000 (on a node), is to use the OpenSSH forwarding feature, either with local (-L) or remote (-R) port forwarding or (more powerful) with the SOCKS forwarding (-D option). See the SSH page for more details.