# Storing streamfiles in S3 bucket for multiple EC2 instances

**URL:** <https://community.wowza.com/t/storing-streamfiles-in-s3-bucket-for-multiple-ec2-instances/93509>\
**Category:** Wowza Streaming Engine\
**Created:** [July 6, 2021, 1:18pm UTC](https://community.wowza.com/t/storing-streamfiles-in-s3-bucket-for-multiple-ec2-instances/93509 "2021-07-06T13:18:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pankil\_Thakkar](https://avatars.discourse-cdn.com/v4/letter/p/aca169/32.png) [@Pankil\_Thakkar](https://community.wowza.com/u/Pankil_Thakkar)\
**Post date:** [July 6, 2021, 1:18pm UTC](https://community.wowza.com/t/storing-streamfiles-in-s3-bucket-for-multiple-ec2-instances/93509/1 "2021-07-06T13:18:09Z")

</div>

I want to use multiple AWS instances for wowza streaming engine. So I want to put my stream files in shared location among multiple instances like S3 bucket.

I didn’t find any way to store stream files in S3 bucket and one more option I tried is to mount S3 bucket on EC2 disk storage but due to change in permission by s3, I am unable to use it.

Would you please suggest a way to store streamFiles in shared location which can be used by multiple EC2 instances?

---

<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:** [July 9, 2021, 5:11pm UTC](https://community.wowza.com/t/storing-streamfiles-in-s3-bucket-for-multiple-ec2-instances/93509/2 "2021-07-09T17:11:10Z")

</div>

Do you have the permissions set to “public” for your S3 buckets and for the files when you upload them to the buckets? That’s the only way Wowza can access them if they are a publicly readable object.

I’m not sure what you mean by this? Can you explain? “…but due to change in permission by s3, I am unable to use it.”

---

<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:** [July 9, 2021, 5:13pm UTC](https://community.wowza.com/t/storing-streamfiles-in-s3-bucket-for-multiple-ec2-instances/93509/3 "2021-07-09T17:13:01Z")

</div>

Perhaps this article will help you?

# Use Amazon S3 authorization with Wowza Streaming Engine EC2 instances

Wowza Media Systems™ provides Amazon Linux and Windows AMIs with preconfigured and tuned versions of the Wowza Streaming Engine™ [media server software](https://www.wowza.com/products/streaming-engine) that are ready to start using the Amazon Web Services (AWS) Management Console. The Wowza Streaming Engine AMIs have three applications: **live** , **vod** , and **vods3**.

**By default, the vods3 application is configured with S3 authorization turned off. This means that all content must be publicly available. To stream non-publicly available content, modify the Media Cache configuration in Wowza Streaming Engine Manager.**

1. Enter the following URL in a web browser to connect to Wowza Streaming Engine Manager:http://[_public-domain-name_]:8088/enginemanagerReplace [_public-domain-name_] with the **Public DNS** value for the instance. For more information, see [Get the instance public domain name and ID](https://www.wowza.com/docs/wowza-streaming-engine-for-linux-on-amazon-ec2-quick-start-guide#hostname). (The steps are the same for Windows and Linux instances.)
2. Sign with the user name **wowza** and a password. The password is the **Instance ID**.
3. In Wowza Streaming Engine Manager, click the **Server** tab at the top of the page, and then click **Media Cache** in the contents pane.
4. On the **Media Cache** page, on the **Sources** tab, and click the **Edit** (pencil) icon for **amazons3** source.
5. Enter your **AWS Access Key ID** and **AWS Secret Access Key** , and then click **Save**.

You can now re-stream protected content using the **vods3** application.

[https://www.wowza.com/docs/how-to-use-amazon-s3-authorization-with-wowza-streaming-engine-ec2-instances](https://www.wowza.com/docs/how-to-use-amazon-s3-authorization-with-wowza-streaming-engine-ec2-instances)

---

<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:** [July 9, 2021, 5:14pm UTC](https://community.wowza.com/t/storing-streamfiles-in-s3-bucket-for-multiple-ec2-instances/93509/4 "2021-07-09T17:14:01Z")

</div>

Another suggestion from an engineer here at Wowza @Pankil_Thakkar is to use this- it’s 3rd party, but you can sync files locally that live on S3.

> **[The storage collaboration platform for creatives](https://www.lucidlink.com/)**
>
> LucidLink empowers fast and secure collaboration for creative teams working with any file size, across any distance.
