- Save any downloaded keys to
~/.ssh/config - In vscode, with the Remote: SSH installed, go
> Remote-SSH: Add New SSH Host...
ssh -i ~/.ssh/MYKEY.pem ubuntu@MYCOMPUTER.ubc-hpc.cloud
- In vscode, with the Remote: SSH installed, go
> Remote-SSH: Connect to Host- It sometimes takes a few retries/etc.
- Choose linux and take the default choices
- Choose Open Folder
/home/ubuntu, etc.- If conda wasn't directly, you could edit the
.bashrcto add to the end
- If conda wasn't directly, you could edit the
export PATH=~/anaconda3/bin:$PATH
- In vscode extensions, install the
Pythonextension, as well as the Pylance, and ellicode
- Download these scripts
git clone https://github.com/ubcecon/setup_scripts.git- If using an AMI with conda/etc. already installed, then
pip install -r ./setup_scripts/pytorch_requirements.txtIf you have access to a bucket for the instance, then find its key id, secret access key, and region name (e.g. https://blog.ronin.cloud/linux-object-storage/) and
aws configureAfter that, you can use the CLI to access the buckets
aws s3 ls MYBUCKETNAME.store.ubc-hpc.cloudor
aws s3 cp TESTFILE.txt s3://MYBUCKETNAME.store.ubc-hpc.cloud