paint-brush
AWS EC2: Install Anaconda on Linux Instanceby@GalarnykMichael
21,341 reads
21,341 reads

AWS EC2: Install Anaconda on Linux Instance

by Michael Galarnyk
Michael Galarnyk HackerNoon profile picture

Michael Galarnyk

@GalarnykMichael

Data Scientist

December 22nd, 2016
Read on Terminal Reader
Read this story in a terminal
Print this story
Read this story w/o Javascript
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

2. Sign in if you have account, if not make one

Company Mentioned

Mention Thumbnail
YouTube
featured image - AWS EC2: Install Anaconda on Linux Instance
Michael Galarnyk HackerNoon profile picture
Michael Galarnyk

Michael Galarnyk

@GalarnykMichael

Data Scientist

2. Sign in if you have account, if not make one

image

3. Click on EC2

image

4. Press Running Instances. If you don’t have an instance, see part 1 of the tutorial.

image

5. Select your instance and make sure your key (pem file) matches your key pair name

image

6. Use the chmod command below (in bold below) to make sure your private key file isn’t publicly viewable

chmod 400 /path_to_key/my_key.pem

7. ssh to your EC2 instance (see below, if you dont know how to ssh, please see part 2

ssh -i /path_to_key/my_key.pem user_name@public_dns_name

8. Copy link address from Anaconda installer archive.


Anaconda installer archive_Edit description_repo.continuum.io

I choose https://repo.continuum.io/archive/Anaconda2-4.1.1-Linux-x86_64.sh

9. In EC2 instance terminal, type

wget https://repo.continuum.io/archive/Anaconda2-4.1.1-Linux-x86_64.sh

10. In EC2 instance terminal, type

bash what_Anaconda_you_downloaded_Linux_x86_64.sh

11. In EC2 instance terminal, type

source .bashrc

Please let me know if you have any questions! You can either leave a comment here or leave me a comment on youtube. Part 4 is Setting up a Jupyter (IPython) Server (Notebook) on AWS.

If you don’t want to start a Jupyter Server, but want to use a normal Jupyter notebook, please see this other tutorial (Setting up and Using a Jupyter Notebook on AWS).

L O A D I N G
. . . comments & more!

About Author

Michael Galarnyk HackerNoon profile picture
Michael Galarnyk@GalarnykMichael
Data Scientist

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Gitplanet

Mentioned in this story

companies
X REMOVE AD