Follow these steps to create your own notebook environment:
- Go to Google Cloud Console
- Navigate to Vertex AI → Workbench → Instances
- Click Create New
- Configure the instance:
- Name:
YOURNAME-graph - Region:
us-east1 - Zone:
us-east1-b - Uncheck 'Enable Apache Spark and BigQuery Kernels'
- Name:
- Click Advanced options
- Under Environment, select Use custom container
- For 'Docker container image', choose 'select' and choose 'graph-tool' and select the one with 'latest' tag from the drop-down.
- Under Machine type n2-standard-96
- Choose
n2-standard-96 - 'Enable Idle Shutdown' = 30
- Choose
- Click Create
- Wait 10-15 minutes for provisioning
- Once status shows Running, click Open JupyterLab
- Once in the jupyter lab. Click the github tab on the left (3rd tab) -> clone a repository -> paste this repo link there.
- Now navigate inside
/graph_analysisand we are all set!
Select the "Python 3.10 (graph-tool)" kernel
- Save notebooks frequently
- Files are preserved when you stop the instance
- Variables in memory are lost when you stop — re-run cells after restarting
- Stop your instance when not in use (you still pay for disk storage)
- Start to resume work
- Delete when you no longer need it