EFS Automatic mounting on Ubuntu Linux


EFS Automatic mounting on Ubuntu Linux

In a earlier post How to mount a EFS (Elastic File System) to a Linux Virtual Machine in AWS (Amazon Web Services) I posted about how to mount a Amazon EFS in a Linux Virtual Machine. In this post, I am going to write about, how to automatically mount EFS. There could be several approaches for this, the following is one the approach. I would love to hear any alternative approaches as well.

For this I used cron job.

Put the mapping command in a shell script file, let's call it map.sh. Make sure appropriate read permissions are provided.

> sudo crontab -e
In the crontab file type the following:
@reboot pathtoshfile/map.sh

That's about it, reboot and give it a try.


EFS Automatic mounting on Ubuntu Linux

Comments

Popular posts from this blog

Multi-part Upload to S3 programmatically in .Net using C#

True Multi-Factor Authentication

How to install Kaldi-ASR on Ubuntu 18