rjurney / Agile_Data_Code_2

Code for Agile Data Science 2.0, O'Reilly 2017, Second Edition
http://bit.ly/agile_data_science
MIT License
456 stars 307 forks source link

ec2.sh no hostname created #42

Closed BMamball closed 6 years ago

BMamball commented 7 years ago

No hostname created after running ec2.sh

MiksLynx commented 7 years ago

Same here

josecyc commented 7 years ago

same here, have a solution? and it makes me unable to create a tunnel and see the web apps

rjurney commented 7 years ago

@BMamball @MiksLynx @josecyc Can you please paste the complete output of ec2.sh so I can debug the issue?

0xpantera commented 7 years ago

I am having the same problem. Also, doesn't set aws configure fields. Here is my output: ec2_sh_output.txt

0xpantera commented 6 years ago

Configuring the AWS CLI options solved this issue for me. You will first have to create an IAM user to get the necessary: AWS Access Key ID [None]: accesskey AWS Secret Access Key [None]: secretkey

rjurney commented 6 years ago

You have to setup aws configure yourself. I am not sure how to automate this, but it is a common source of problems :(

rjurney commented 6 years ago

Closing for staleness.

mrminpeng commented 6 years ago

[ec2-user@ip-172-31-36-232 Agile_Data_Code_2]$ ssh -i ./agile_data_science.pem ubuntu@ ssh: Could not resolve hostname : Name or service not known

I got this problem as above, suspect maybe due to no region set in aws configure, but how to fix?

Detecting the default region... The default region is '' Determining the image ID to use according to region... The image for region '' is '' ...