Moodle 3.5 autoscalling installation on AWS
I am validating a Moodle 3.5 AWS installation configured to autoscale in order to support variation in traffic at better cost then always having the base load capacity. Implementation is in part based on this design https://github.com/aws-samples/aws-refarch-moodle
This configuration work great in testing and I obtain great performance and autoscaling when needed the only problem I got is with H5P video content(the only type of H5P content whe use) initial caching take between 1 to 2 minute for each video (once opcache cached the page subsequent loading take less than a second).
That is clearly due to somewhat high latency on the shared volume used for the Moodle appdata that is on the AWS kind of NFS as a service called EFS, if I put the moodle data volume on the EBS volume (the local SSD) the loading time of the H5P video take less then a second as normal.
All the other core Moodle module work great with the NFS latency only H5P is unusable I expect because of a large number of files needed to be accesed on the shared volume it's not really throughput that is a problem at around 100Mbyte/sec.
Is there H5P repertories on the data volume that I could repatriate on the not shared volume(using symlinks for exemple) to get this working as Moodle intended and be able to use H5p in my scenario, or other solution peolple use when they need to cluster webserver with H5P ?
Any help would be greatly appreciated. Best regards.