I assume you have installed the following software:
- Copy the file
./deployment/run.tfvars
to./deployment/run.auto.tfvars
. Modify the variables in the new file appropriately. - Make the path of your service account JSON visible to Packer by running
$ export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service.json
. - Run
$ make deployment
in your terminal. - Register the VM with VSCode. To do this SSH into your new instance using the IP address that was output in the previous step.
- Run
$ systemctl status vscode
to get your device number. - Register this device number with GitHub.
- You can now access your environment at: https://vscode.dev/tunnel/vscode-gpus.