Specific Database Backends
This section describes some specific database backends.
Datomic local file based - EBS
To utilize Datomic's local file-based backend for persistent storage, setting up the database storage is necessary. The most straightforward approach currently involves mounting a volume to the pod, with the underlying file system being Elastic Block Store (EBS) in AWS. For detailed configuration steps, refer to the infra repository's kustomize overlays. Below is a brief guide on setting up EBS in AWS.
To start, log in to your AWS account and navigate to the EC2 dashboard. From there, locate the "Elastic Block Store" section and click on "Volumes."
Within the "Volumes" section, locate the "Create Volume" button in the top right corner and click on it to proceed with creating a new volume.
Select the "gp2" volume type and specify the desired size (ensure it matches what you've set in the Persistent Volume (PV) and Persistent Volume Claim (PVC) configurations in the infra repository). Once the volume is created, you can copy the volume ID and paste it into your kustomize configuration in the infra repository.