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 instance requires instructions how to make Flask web pages available externally #25

Closed md6nguyen closed 7 years ago

md6nguyen commented 7 years ago

For EC2 instance, I cannot view Flask web pages even when I add port 5000 to the Security Group. There should be instruction in EC2 set up on how to view Flask pages, maybe using ssh tunnels?

rjurney commented 7 years ago

Thank you, yes I have been testing an ssh tunnel command and will get back to you with something that works!

rjurney commented 7 years ago

@md6nguyen Working on this now!

rjurney commented 7 years ago

@md6nguyen I have completely rewritten the EC2 scripts. They are now much easier to use, have multi-region support, and I have battle tested them. There are also instructions in the message you see when you ssh into the machine, and we print ssh instructions once we instantiate a new instance. Check it out!

Please re-open if you have problems :)

md6nguyen commented 7 years ago

I just tried it out and it worked great 👍 Thanks!