Configuring aws for course

(Arun Vellat Sadashivan) #1

I am currently trying to configure AWS to start working on this course. I’m following the instructions by Reshama, with steps for setting up aws for the 2018 course. I tried logging in with
ssh -i aws_fastai_gpu.pem ubuntu@ -L8888:localhost:8888 .

However, the output I got was:
Warning: Identity file aws_fastai_gpu.pem not accessible: No such file or directory.
ssh: connect to host port 22: Operation timed out

It turns out that there is no file called aws_fastai_gpu.pem in the .ssh directory.I am on Mac - I had to a create a .ssh folder within /Users/arunvs/ and the only contents of the directory after running sshgen are id_rsa, and known_hosts.

I am not sure how to resolve this issue about logging in. Your help will be much appreciated.


(Vishal Pandey) #2

Which key did you provide to aws while creating ur instance…?
Was it aws_fastai_gpu or id_rsa… Just check ur AWS console.
If u did provide u will have to login as ssh ubuntu@ -L:8888:localhost:8888.
Otherwise just copy and upload it to aws console and recreate ur instance then login as mentioned above.

(Arun Vellat Sadashivan) #3

Thanks ! It worked.