Mounting EFS automatically on reboot with fstab and access point doesn't work

0

Hello.

As described in the docs, I added this in /etc/fstab:

file-system-id efs-mount-point efs _netdev,tls,accesspoint=access-point-id 0 0

Replaced fs ID, mount point and access point ID (created in EFS). I also have the mount helper installed (in /ubuntu)

When running the test: sudo mount -fav, I'm getting:

AWS Access Key ID and Secret Access Key are not found in AWS credentials file (/root/.aws/credentials), config file (/root/.aws/config), from ECS credentials relative uri, or from the instance security credentials service

What am I supposed to do? I checked the credentials and the default creds are there.

Manual creation works.

質問済み 2ヶ月前167ビュー
2回答
1
承認された回答

Solution:

Create iam user, create access key, place them in /root/.aws/credentials (config file must be there too)

回答済み 2ヶ月前
profile picture
エキスパート
レビュー済み 2ヶ月前
0

There is also a way to mount EFS when creating an EC2 instance, could you try the way? I'd like to attach the ec2 creating sceenshots.

EBS Volumes user data

AWS
エキスパート
hyp
回答済み 2ヶ月前
  • I heard about this, but mine are existing instances.

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ