Getting started with Google Cloud.
Need to have quota > 0 in the region you want to compute.
- Google cloud console
- Main menu (top left)
- VM Instances
- Custom settings
- Choose instance with GPU and pick Ubuntu 16.04 LTS as OS
- Generate the key
ssh-keygen -t rsa -f ~/.ssh/[KEY_FILE_NAME] -C [USERNAME]
- Set permissions
chmod 400 ~/.ssh/[KEY_FILE_NAME]
- In local terminal run
cat ~/.ssh/[KEY_FILE_NAME].pub
and copy contents - Add key to the project here
- Navigate to the vm instances page and find your ip address
ssh -i ~/.ssh/[KEY_FILE_NAME] [IP_ADDRESS]
sh instance_setup.sh
source activate ~/.bashrc
It's important to test your intall. Do this with
python -c "import tensorflow"
which should run without errors.