Configuring aws for course

Hi,
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@54.175.101.64 -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 54.175.101.64 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, id_rsa.pub and known_hosts.

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

Thanks,
Arun

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 id_rsa.pub u will have to login as ssh ubuntu@54.175.101.64 -L:8888:localhost:8888.
Otherwise just copy id_rsa.pub and upload it to aws console and recreate ur instance then login as mentioned above.

1 Like

Thanks ! It worked.