Skip to main content

Access a GPU Container

Once a GPU Container is in Running status, you can connect to it using the ports you configured at creation time.

HTTP endpoint​

If you added HTTP ports when creating the container:

  1. In the left sidebar, click FPT GPU Cloud → GPU Container.
  2. Click the container name to open the detail page.
  3. Under Access, find the public HTTPS URL for your HTTP port.
  4. Open the URL in a browser or send requests to it from your application.

The URL is available as long as the container is running.

SSH terminal​

If you added TCP port 22 when creating the container:

  1. On the container detail page, find the SSH connection details (hostname and port).
  2. Connect using an SSH client:
ssh -p <port> <username>@<hostname>

Replace <username> with the value of the USERNAME environment variable you set at creation time.

note

If you did not set a USERNAME or PASSWORD environment variable, check the template documentation for the default credentials.

TCP ports​

For any other TCP port you exposed:

  1. On the container detail page, find the host and port mapping for your TCP port.
  2. Use the hostname and mapped port number directly with your application or client.

Troubleshooting​

SymptomLikely causeAction
URL not reachableContainer still startingWait for status to change to Running
Connection refused on HTTP portApplication inside container not listening yetCheck container logs or wait for the service to start
SSH connection refusedPort 22 not added at creationPorts cannot be added after creation — recreate the container with port 22