Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29646

Auto mounting EFS on EC2 instance

$
0
0

I created an EC2 instance and an EFS, and was able to mount EFS properly on the instance.

I need to auto mount in case the server is rebooted.

According to the documentation, i do that following in /etc/fstab

fs-xxxxxxxx:/ /mnt/efs efs defaults,_netdev 0 0

Using the EFS file system ID in place of xxxxxxxx

But when i reboot the server, EFS does not get mounted, and i save to remount it again

What should i do ? or am i missing something


Viewing all articles
Browse latest Browse all 29646

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>