Using Amazon EFS (Elastic File System)
To use Posit Connect in any multi-node configuration, you must mount certain files on a shared filesystem.
It is possible to use Amazon EFS as this filesystem, subject to the following limitations:
- You might experience performance issues when compared to a filesystem mounted on Amazon Elastic Block Store (EBS).
- If you choose to configure
Database.Dir, this also must point to the same shared location. - Incorrect configurations can make performance significantly worse, so please read over our Posit Team guide below.
NFS mount options
When mounting EFS for use with Connect, include lookupcache=pos in your Network File System (NFS) mount options. This setting prevents stale directory cache entries from causing intermittent file-not-found errors or service delays in multi-server deployments.
For the complete set of recommended EFS mount options, see Mounting EFS file systems in the AWS documentation. Add lookupcache=pos to the options listed there.
For more information, as well as configuration guidance, refer to Posit Team integration with EFS.