My GCP homelab defined by Terraform and Ansible.
Currently Terraform will provision a Debian Spot VM with a L4 GPU; access is restricted only to my client IP. Ansible installs NVIDIA proprietary driver.
Create new project on GCP or use existing project.
Create Service Account with Editor permissions and download Key as credentials.json
Run run-iac.sh
You will have a Debian 11 VM with a GPU and NVIDIA driver installed, ready for ML workloads.
Create variables for: project name, client IP