简体   繁体   中英

Installing Python and Jupyter on AWS EC2

I am working on a school project along with my team where we have to analyze large data sets using Python. The data is in the form of images (jpeg files). Since the analysis involves images we will be using TensorFlow, OpenCV etc. As the data set is large we are exploring running Python on EC2 and storing the data set on S3. Is there any wiki or guide that can help us with: 1) Set up Python (3.5) on EC2 and connect to S3 bucket where the files are stored. 2) Create a multi-user environment where all the team members (five) can access the server remotely and run tests against the data set/files. My skill level on AWS is basic at best. Greatly appreciate any help with this.

At a high level, you would want to use the AWS CLI, but there are several things that you would need to setup first.

  1. Create an account and enter the IAM console to create your users. I assume you would want to assign them all to the same group and define one permission policy for all of them. You should need access to only EC2 and S3. You will need a complete working knowledge of the IAM service (it is relatively small).

  2. Create a role so that your EC2 instance can get access to S3. Follow this tutorial.

  3. Use the AWS CLI to access your EC2 instance. The installation/development workflow should mimic a linux workflow very closely.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM