For my p2 limits request I have placed last week, they responded in 2 working days.
I’ve updated the AMI to fix a couple of minor issues. The new ID is ami-8c4288f4 . Name is the same. I’ll updated the top post.
I was not able to find the image too.
I also search for “ami-8c4288f4” both in market place as well in community AMIs, no luck. If I am searching fastai only in community I am getting some results but they have different amAMI ID. I guess those are some old stuffs.
Is it required to clone the repository to my laptop or to aws instance?.
Some one please tell what need to be done after launching an instance in order to be able to run the course notebooks.
After running a notebook from an aws instance will the changes be saved and reflected in the notebook present in my local repo ?
Most likely the new AWS AMI is set to private.
Incase you’re working on the aws instance, you might follow these steps.
- Launch the instance on AWS console.
ssh -i your-aws-cert.pem ubuntu@ec2-instance-ip
cd fastai; git checkout --environment.yml; git pull
- open tmux, launch jupyter
jupyter-notebook --no-browser --ip='*'. Take note of the token. You need this in the next step.
- Visit the
ec2-instance-ip:8888on your web browser. Enter the token to see your notebooks.
- Work with the notebooks.
If you do port forwarding in step 2 using
ssh -i your-aws-cert.pem ubuntu@ec2-instance-ip -L 8888:localhost:8888, then in step 5, you can access notebooks on
localhost:8888 on your web browser.
If you make a few changes to your notebooks and you’d like to save them, you need to commit the changes to your aws-local-repo, push them to your remote fork and pull them to your laptop-local-repo.
Hope this helps.
Edit: Fixed the port-forwarding command.
Thanks for sharing that process!
Just a small doubt: what does this line do?
git checkout --environment.yml
Not very familiar with
git, so just wanted to clarify.
It reverts the changes made in environment.yml
same , unable to find the ami.
You need to make sure you are looking in the correct region. Are you using Oregon? Here is more info on AWS regions in case it might be useful.
I am unable to find the AMI in the list of AMIs under the Images group - is this not the correct place to find it? The only AMI I can see which is dated in November is called V100-fastai. There is a fastai-gpu-v2 set up on October 31st, but that is not what you have identified in your post.
Unable to find the new AMI “ami-8c4288f4” in the Oregon region. The previous one “ami-5f2fe427” is also not available.
Phani, What did you put in the description section, did you request more than 2?
Its been a few days for me.
I mentioned this in the description
Requesting these instances for training deep neural networks for fast.ai course. I requested for 4 and it was approved within 2 working days.
Yeah looks like it was indeed set to ‘private’ still. I’ve made it public now - please try again! Note you need to set your region to ‘Oregon’. Sorry about the confusion…
I am excited to finally have this AMI running on p2, thank you @jeremy.
However, I am concerned about the cost over the duration of the course.
If you do 10 hours per week, for 7 weeks, it’ll cost you ~$70 total. If you got the AWS $500 credits, then you’ll have lots left over