# Mounting s3 to wowza ec2: Can't 'make' s3fs-fuse

**URL:** <https://community.wowza.com/t/mounting-s3-to-wowza-ec2-cant-make-s3fs-fuse/54068>\
**Category:** Wowza Streaming Engine\
**Created:** [October 16, 2019, 11:08pm UTC](https://community.wowza.com/t/mounting-s3-to-wowza-ec2-cant-make-s3fs-fuse/54068 "2019-10-16T23:08:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elie\_Obeid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/elie_obeid/32/463_2.png) [@Elie\_Obeid](https://community.wowza.com/u/Elie_Obeid)\
**Post date:** [October 16, 2019, 11:08pm UTC](https://community.wowza.com/t/mounting-s3-to-wowza-ec2-cant-make-s3fs-fuse/54068/1 "2019-10-16T23:08:25Z")

</div>

I’m trying to mount S3 bucket to a wowza ec2 instance bought from amazon marketplace, following [this tutorial](https://medium.com/tensult/aws-how-to-mount-s3-bucket-using-iam-role-on-ec2-linux-instance-ad2afd4513ef) or any other. I can’t make

```auto
ec2-user@ip-172-31-46-59 s3fs-fuse]$ make
make all-recursive
make[1]: Entering directory `/home/ec2-user/s3fs-fuse'
Making all in src
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/src'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/src'
Making all in test
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/test'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/test'
Making all in doc
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse'
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse'
[ec2-user@ip-172-31-46-59 s3fs-fuse]$ sudo make install
Making install in src
make[1]: Entering directory `/home/ec2-user/s3fs-fuse/src'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/src'
 /bin/mkdir -p '/usr/bin'
  /usr/bin/install -c s3fs '/usr/bin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/src'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse/src'
Making install in test
make[1]: Entering directory `/home/ec2-user/s3fs-fuse/test'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/test'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/test'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse/test'
Making install in doc
make[1]: Entering directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse/doc'
make[2]: Nothing to be done for `install-exec-am'.
 /bin/mkdir -p '/usr/share/man/man1'
 /usr/bin/install -c -m 644 man/s3fs.1 '/usr/share/man/man1'
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse/doc'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse/doc'
make[1]: Entering directory `/home/ec2-user/s3fs-fuse'
make[2]: Entering directory `/home/ec2-user/s3fs-fuse'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ec2-user/s3fs-fuse'
make[1]: Leaving directory `/home/ec2-user/s3fs-fuse'

```

---

<div class="post-metadata">

**Author:** ![Rose\_Power-Wowza\_Com](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/rose_power-wowza_com/32/431_2.png) [@Rose\_Power-Wowza\_Com](https://community.wowza.com/u/Rose_Power-Wowza_Com)\
**Post date:** [October 17, 2019, 3:03pm UTC](https://community.wowza.com/t/mounting-s3-to-wowza-ec2-cant-make-s3fs-fuse/54068/3 "2019-10-17T15:03:12Z")

</div>

This is excellent @Elie Obeid and I will convert to answer and accept. Thank you for sharing!

---

<div class="post-metadata">

**Author:** ![Elie\_Obeid](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/elie_obeid/32/463_2.png) [@Elie\_Obeid](https://community.wowza.com/u/Elie_Obeid)\
**Post date:** [October 15, 2019, 9:44pm UTC](https://community.wowza.com/t/mounting-s3-to-wowza-ec2-cant-make-s3fs-fuse/54068/4 "2019-10-15T21:44:57Z")

</div>

Solved it by installing s3fs-fuse using yum and

```auto
sudo s3fs s3-BucketName /var/www/html/somefolder/ -o passwd_file=/root/.passwd-s3fs -o allow_other,umask=277,uid=500,gid=500,use_cache=/root/cache

```

You get the guid and uid by running id command as a regular user in the terminal. Create cache folder if you intend on using cache. And the other options are needed to give the regular user access to the mounted partition.
