Azure install

From Deep Learning Course Wiki
Jump to: navigation, search

Azure can be an attractive option for Visual Studio subscribers who have access to Monthly Azure credit

Provision the VM

Azure-10-compute.png

  • Use the Resource Manager deployment model
  • Select HDD for the VM disk type.
  • Username ubuntu
  • Paste in your SSH public key
  • Location should be East US

Azure-30-ssh.png

  • Select an NC6 sized machine which comes with an Nvidia K80 GPU

Azure-40-nc6.png

  • Edit your Network Security Group to enable TCP inbound on port 8888

Azure-60-firewall.png

  • Start your VM and click Connect

Azure-50-connect.png

  • (Optional) Configure an Auto-shutdown on your VM to avoid bill shock

Azure-80-shutdown.png

Configure the VM

  • SSH to the VM
  • Download and execute the fast ai installation script
wget https://raw.githubusercontent.com/fastai/courses/master/setup/install-gpu-azure.sh
bash install-gpu-azure.sh
  • Continue on following Lesson 1 Notes from the Necessary Files section to clone the course and download the dogs vs cats data




Credits and further reading at Setting up an Azure VM for Deep learning