Pls advise if there is a guide for this.
I have already created the AWS account and pinned EC2, IAM and VPC. How do I progress from here? Thanks.
Homework
Set up Anaconda and fastai from scratch on new AWS instance
- Launch instance with Ubuntu t2.medium 50GB (preferred) or t2.micro 30GB (free), then login and complete these steps:
git clone https://github.com/fastai/fastai
wget https://repo.continuum.io/archive/Anaconda3-5.0.0.1-Linux-x86_64.sh
bash Anaconda3-5.0.0.1-Linux-x86_64.sh
- Default install to home
- Yes: add to .bashrc
source .bashrc
or login again (NB: on Mac this file is called.bash_profile
)cd fastai
conda env update
- Logout, then log back in adding to your ssh command:
-L8888:127.0.0.1:8888
. This creates an ssh tunnel. There’s lots of tutorials about ssh tunnels if you’re not clear on this, such as this one - Next time when log in, be sure to
source activate fastai
. - Remember, you’re being charged for every hour your server is on. You can turn it off in your terminal by typing
shutdown -h now
or in the AWS web-based console. There are also mobile apps in case you’re not near your computer.