I had that problem, I just installed a virtual machine (Ubuntu) and everything worked meaning, when you open terminal in Ubuntu, do pip install aws-cli, the rest of the commands work. Are you running windows 8/8.1?
Threads are actually “bosom friends”. We do lot of mistakes (eventhough we follow the exact same thing/instructions, we tend to run the same command multiple times [eg. setup_t2.sh]) , and we get in to issues. And our bosom friends are there to help us
Did you find a solution. Please help me.
I ran the command “bash setup_p2.sh”. And it executed perfectly. But I’m not able to connect to that instance shown in the second picture below.
Can somebody help me out with this.
Found the solution. openssh was not installed during the installation of the cygwin64 setup. Reinstalled with “openssh net” as ‘keep’ option instead of ‘skip’.
I have the same issue.
Generally it started with “Premission denied (publickey)” when I try to connect by ssh
along with the error of Failed to add host to the list of known hosts
There’s no file of “known_hosts” in .ssh
*I’ve run chmod 400 on the .pem file as requested before the ssh
Please give the details of the installation … are you installing the Fast AI part1 2017 or older one… now faster is providing good ami to get installed all these things by default in AWS environment.
please share the details steps.
Thanks for sharing, I searching for this type of solution in my aws training, anyway i found the nice information
When I type bash setup_p2.sh
the following error shows
$ bash setup_p2.sh
setup_p2.sh: line 13: /home/Hareesh Gara/.ssh/aws-key.pem: No such file or directory
chmod: cannot access ‘/home/Hareesh Gara/.ssh/aws-key.pem’: No such file or directory
An error occurred (InvalidAMIID.NotFound) when calling the RunInstances operation: The image id ‘[ami-bc508adc]’ does not exist
Waiting for instance start…
aiter InstanceRunning failed: Max attempts exceeded
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws: error: argument --instance-id: expected one argument
Connect: ssh -i /home/Hareesh Gara/.ssh/aws-key.pem ubuntu@None
What should I do? Could you please help me
Please check if you are in the correct region. I think most of the fastai ami’s i’ve used are in us-west-2 region.
Thank you very much. It’s correct.
Can you send me your scripts so that i can test it on my pc? I know a lot of people are facing this problem and would like to solve it as well.
Did you get any solution for this? I would need to copy the AMI to Frankfurt region