In this documentation we focus on the content, please see deployment instruction for where to put them.
Alluxio Site Properties
Alluxio Edge can be configured by setting the values of configuration properties within alluxio-site.properties.
Specify the Root Under File System
AWS S3
This sample code specifies AWS S3 as the root under file system that Alluxio Edge will be accessing.
The minimal configuration needed is to set credentials for S3 so that Alluxio Edge can access S3. It can be done with Instance Profiles or if Instance Profile is not used, secret key and access key are needed. Please see the sample configuration below for setting the secret key and access key. Please update s3a.accessKeyId and s3a.secretKey corresponding to your own S3 credentials mentioned in prerequisites.
Trino worker and coordinator needs to know the Alluxio Edge cache size alluxio.user.client.cache.size and path alluxio.user.client.cache.dirs. This sample code specifies the cache storage directories Alluxio Edge will use.
# Enable edge cache on client (RAM disk only)
#
#alluxio.user.client.cache.enabled=true
#alluxio.user.client.cache.size=1GB
#alluxio.user.client.cache.dirs=/dev/shm/alluxio_cache
# Enable edge cache on client (example with 2 NVMe volumes)
#
alluxio.user.client.cache.enabled=true
alluxio.user.client.cache.size=600GB,600GB
alluxio.user.client.cache.dirs=/mnt/nvme0/alluxio_cache,/mnt/nvme1/alluxio_cache