#
Deploying on Azure
#
Virtual Machine
You can run Curiosity on an Azure Virtual Machine using Docker.
#
Requirements
- Virtual Machine: Create a Linux VM (e.g., Ubuntu).
- Persistent Storage: Create and attach a Managed Disk to your VM.
- Mounting: Connect to the VM, format the disk, and mount it (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 (AKS)
Azure Kubernetes Service (AKS) provides native support for persistent volumes.
#
Persistent Storage
AKS supports multiple storage options. For Curiosity, Azure Disk (block storage) is recommended for performance.
- Azure Disk: Uses the Azure Disk CSI driver. Supports ReadWriteOnce access.
#
Deployment
Use a StatefulSet configuration similar to the one described in the Kubernetes guide. AKS typically provides a default default or managed-csi storage class that provisions Azure Disks automatically.