Before you can use your EFS filesystem, you need to mount an EFS target on your EC2 instance. This can be done by using the EFS mount helper, which is the easiest method. For more information on how to mount your EFS filesystem on an instance, please refer to the documentation at https://docs.aws.amazon.com/efs/latest/ug/mounting-fs.html#mounting-fs-mount-helper.
When mounting your EFS filesystem, you have the option of enabling encryption in transit using TLS as a mount option, which uses a client tunnel process. This listens on a local port where the EFS mount helper will redirect NFS traffic to.
Once you have completed the steps using the link to the AWS documentation, follow these steps to configure in-transit encryption:
- Connect to your EC2 instance using SSH and log in with the appropriate credentials for your instance.
- To complete the mount process of your EFS filesystem run the following command, replacing the text in bold and italics with your own...