AWS - Lesson 1

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.

Can anyone assist or no one did the AWS homework at lesson 1 :yum: ?

I tried this https://course.fast.ai/start_aws.html but I don’t need GPU for this course , right?

but I noticed we need to use either of this
Ubuntu t2.medium 50GB (preferred) or t2.micro 30GB (free) ?

Is there a guide ? Thanks

I wrote a document on How to Install Fastai v0.7 on AWS for Fastai Machine Learning Course that details every installation step to get you started on the Fastai ML course using AWS. It took me several hours to get the installation done and I hope it will help you too.

Has anyone had any success setting up AWS instance recently?

I have been trying to set up an AWS instance following the instructions here: https://course.fast.ai/start_aws.html and have got up to Step 4 and launching the instance. I have made the limit increase request to AWS which got approved but following this I was unable to find the p2.xlarge instance as an available option. I spoke to AWS about this and they have said that the p2 instance is not available in my region.

Is there another recommended option that would work well with the course? There is a p3 instance available which I understand should also work but is quite a bit more expensive.

Any recommendations would be much appreciated!

Alternatively I was thinking I could run the instance in the next closest region which offers the p2 instance type? Is anyone able to advise if that might be a good option?