EC2でS3をマウントする
前提
手順
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" unzip awscliv2.zip sudo ./aws/install
2.aws configureの実施
aws configure
3.fuse インストール
sudo yum install -y fuse
4.goofysインストール
sudo curl -L https://github.com/kahing/goofys/releases/latest/download/goofys -o /usr/local/bin/goofys sudo chmod a+x /usr/local/bin/goofys
5.再起動後もマウント設定
vi /home/ec2-user/.bash_profile /usr/local/bin/goofys bucket-XXX /home/ec2-user/###