#
Deploying on Google Cloud Platform (GCP)
#
Virtual Machine (Compute Engine)
You can run Curiosity on a Google Compute Engine instance using Docker.
#
Requirements
- VM Instance: Create a VM instance.
- Persistent Storage: Add a Persistent Disk to your instance.
- Mounting: Format and mount the disk (e.g., to
/data).
#
Deployment
Once Docker is installed and the disk is mounted at /data:
docker run -p 8080:8080 -v /data:/data -e storage=/data curiosityai/curiosity
Alternatively, you can use Docker Compose to manage the service configuration.
#
Managed Kubernetes (GKE)
Google Kubernetes Engine (GKE) provides seamless integration with Google Cloud persistent storage.
#
Persistent Storage
GKE uses the Compute Engine persistent disk CSI Driver to manage storage.
- Persistent Disk: Standard or SSD persistent disks can be dynamically provisioned.
#
Deployment
Use a StatefulSet configuration similar to the one described in the Kubernetes guide. GKE typically includes a default standard or premium-rwo storage class.