i’ve been experience the same issue as @xchen repeatedly. i’ve followed @rachel guide to Starting Over. I continue to get the same error.
The authenticity of host ‘ec2-54-70-146-199.us-west-2.compute.amazonaws.com (54.70.146.199)’ can’t be established.
ECDSA key fingerprint is SHA256:lh6WNnKGSI2201kUT/j+uB3B64GAyFrPg3/UqAvRptQ.
Are you sure you want to continue connecting (yes/no)? no
Host key verification failed.
my last attempt, i created a new user id, yet the same error, just a different host name.
I did find a reference via google about Host key verification failed. it was suggested to remove known_hosts in the .ssh directory.
i did not see any change in the error.
cheers
ps i went ahead and created an entirely new AWS account and all. The error still occurs. perhaps it is something on my mac which i didn’t delete or is misconfigured?
An error occurred (AuthFailure) when calling the CreateVpc operation: AWS was not able to validate the provided access credentials
An error occurred (AuthFailure) when calling the CreateTags operation: AWS was not able to validate the provided access credentials
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
An error occurred (AuthFailure) when calling the CreateInternetGateway operation: AWS was not able to validate the provided access credentials
An error occurred (AuthFailure) when calling the CreateTags operation: AWS was not able to validate the provided access credentials
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --internet-gateway-id: expected one argument
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
An error occurred (AuthFailure) when calling the CreateTags operation: AWS was not able to validate the provided access credentials
usage: aws [options] [ …] [parameters]
To see help text, you can run:
aws help
aws help
aws help
aws: error: argument --vpc-id: expected one argument
I have run it successfully few days back, but now it is giving such error. I have completely uninstalled cygwin and deleted all VPC’s except default one, but getting same error.
Short
Yes, there is a workaround. You’ll need to edit the setup_p2.sh file and add “us-east-2” as a supported region.
Long
The setup_p2.sh script contains this safety check because at the time the class material was made public, Amazon did not have p2-type instance support in us-east-2. So this list of 3 valid regions made sense at the time.
So you can either extend the script’s if-elif-elif-else, or remove that code block altogether.
Note that you’ll forever have to suspect what other assumptions are made in the class source code about the region. Is running in us-east-2 that valuable to you? For example, take this warning from another user a few days ago: Setup problems: AWS
The latency between your computer and AWS north american regions won’t be a big factor in the performance of the code, so you might want to restart with the same region suggested by the class material.
Let me take a stab in the dark. I believe your command “cat setup_p2.sh.1” actually succeeds at showing you what is in the “setup_p2.sh.1” file. Based on the chunk I can see, the file contains HTML markup.
That’s a bit surprising because we were hoping to see shell scripting instead. Scrutinizing the HTML, we see a title seemingly inviting one to sign in a Google account.
I would thus suggest that the procedure you used to retrieve the “setup_p2_sh” file failed. Instead of the shell script, it probably contains an HTML version of the error message of that failure. For fun, you could open that file from your browser, it might be easier to read that way.
Either way, I recommend you attempt to retrieve that script again. Good luck.
Hey Arun,
I was literally just amending my previous answer
Based on a warning from another user:
You have to think long and hard as to whether the advantages of running in your preferred region outweight the on-going customization difficulties you will face, such as your present question.
Considering you are here to learn about machine learning, I recommend getting setup in the same region as the rest of the class. There will always be time to become an AWS expert later.
JP
Couldn’t agree more. Do I need to submit another request to Amazon for a p2.xlarge us-west-2 instance limit increase, or is there any way I can transfer my current p2 instance to Oregon?
I apologize for simple questions. I’m new to this topic, I needed a file setup.p2.sh, And I’m just following the video Setup AWS for D.L server. Help me to solve the errors shown on the screens above.