We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sudo yum -y install fuse fuse-libs
sudo easy_install pip
sudo pip install yas3fs
Create a topic in SNS and take note of the topic ARN
Create a SQS queue for every EC2 instance joining the cluster
Subscribe every queue created in step 3 to the SNS topic created in step 2
edit /etc/fuse.conf on every EC2 instance removing the leading # on the row containing user_allow_other
create the folder where the S3 bucket will be mounted
edit /etc/rc.local adding
su -c "/usr/bin/yas3fs s3://BUCKET_NAME FULL_PATH_TO_EC2_FOLDER --queue QUEUE_OF_THE_INSTANCE --topic TOPIC_ARN -region AWS_REGION" - ec2-user