Skip to content

Instantly share code, notes, and snippets.

@eeddaann
Created April 1, 2018 08:20
Show Gist options
  • Save eeddaann/94af63aa5da4c0c825a5b6b53bd84872 to your computer and use it in GitHub Desktop.
Save eeddaann/94af63aa5da4c0c825a5b6b53bd84872 to your computer and use it in GitHub Desktop.

connect to nvidia container from AWS

start the instance

  • Go to ec2 instances console (in our case the region is Ohio)
  • Actions -> Instance State -> Start
  • Wait for the instance to start
  • copy the Public DNS (IPv4) from the instance description

Connect to the instance

to connect with ssh run the following command: ssh -i '/.../tensorrt_test.pem' ubuntu@INSTANCE_PUBLIC_DNS

Connect to tensorrt container

(I already pulled the image with: docker pull nvcr.io/nvidia/tensorrt:17.12) run: nvidia-docker run -it --rm nvcr.io/nvidia/tensorrt:17.12

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment