# Upload file segment to s3

**URL:** <https://community.wowza.com/t/upload-file-segment-to-s3/93586>\
**Category:** Community\
**Tags:** wowza-streaming-server-java-api\
**Created:** [July 22, 2021, 4:50pm UTC](https://community.wowza.com/t/upload-file-segment-to-s3/93586 "2021-07-22T16:50:21Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gaurav\_Srivastava](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Gaurav\_Srivastava](https://community.wowza.com/u/Gaurav_Srivastava)\
**Post date:** [July 22, 2021, 4:50pm UTC](https://community.wowza.com/t/upload-file-segment-to-s3/93586/1 "2021-07-22T16:50:21Z")

</div>

Can I upload the live data segment to S3 as I am getting it. Is there any module in wowza or I can create custom module for this ?

I don’t want recording feature. I want to send the data to s3 via wowza.

---

<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 22, 2021, 11:13pm UTC](https://community.wowza.com/t/upload-file-segment-to-s3/93586/2 "2021-07-22T23:13:18Z")

</div>

Hello @Gaurav_Srivastava, you can do this with CloudFront and with a paid license purchased directly through Wowza.

- The CloudFront distribution is an HTTP caching infrastructure that pulls HTTP chunks from your Wowza Streaming Engine server HTTP caching origin and caches them. All clients receive the same cached data.

  

**[Doc for CloudFront and Engine:](https://www.wowza.com/docs/how-to-integrate-your-wowza-ec2-instance-with-cloudfront)**

* * *

Your other option is to purchase and run a Streaming Engine server right from the AWS marketplace:

> **[Install Wowza Streaming Engine for Windows on Amazon EC2](https://www.wowza.com/blog/install-engine-for-windows-on-amazon-ec2)**
>
> In this video tutorial, Justin walks through the process of installing Wowza Streaming Engine on Amazon Elastic Compute Cloud (Amazon EC2).

  

Here is a helpful FAQ guide to help you decide which is best for you. 🙂

> **[Wowza Streaming Engine for Amazon EC2 with CloudFront](https://www.wowza.com/docs/frequently-asked-questions-cloudfront)**
>
> Frequently asked questions about Wowza Streaming Engine integration with Amazon CloudFront.

---

<div class="post-metadata">

**Author:** ![Gaurav\_Srivastava](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Gaurav\_Srivastava](https://community.wowza.com/u/Gaurav_Srivastava)\
**Post date:** [July 23, 2021, 4:37am UTC](https://community.wowza.com/t/upload-file-segment-to-s3/93586/3 "2021-07-23T04:37:13Z")

</div>

@Rose_Power-Wowza_Com , CloudFront is fine we will use it for live streaming.  
But we also want to send the chunks to s3 bucket at the same time.Our requirements are

1. Live streaming (CloudFront)
2. Record a clip for live stream during the streaming (for example last minute clip). To achieve this we need to upload the chunks to s3 at the same time.

Can I do this ? Push data to CDN ans s3 at the same time ??

---

<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 23, 2021, 4:17pm UTC](https://community.wowza.com/t/upload-file-segment-to-s3/93586/4 "2021-07-23T16:17:26Z")

</div>

We only have the S3 automatic upload module- for the **finished** recording of a stream.

[https://www.wowza.com/docs/how-to-upload-recorded-media-to-an-amazon-s3-bucket-modules3upload](https://www.wowza.com/docs/how-to-upload-recorded-media-to-an-amazon-s3-bucket-modules3upload)

We could help you build a custom workflow to stream to S3 as a stream target, but we’d have to build that for you through a paid [Wowza Professional Services](https://www.wowza.com/professional-services) contract. You could email [sales@wowza.com](mailto:sales@wowza.com) to discuss the possibility with a sales engineer.

But as of right now, we only have a way to upload the finished recording @Gaurav_Srivastava

---

<div class="post-metadata">

**Author:** ![Gaurav\_Srivastava](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Gaurav\_Srivastava](https://community.wowza.com/u/Gaurav_Srivastava)\
**Post date:** [July 24, 2021, 1:43pm UTC](https://community.wowza.com/t/upload-file-segment-to-s3/93586/5 "2021-07-24T13:43:15Z")

</div>

Okay thanks for your response. I think I can write custom module for this, I will try first then I will connect to the sales team.

---

<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:** [August 6, 2021, 9:59pm UTC](https://community.wowza.com/t/upload-file-segment-to-s3/93586/7 "2021-08-06T21:59:13Z")

</div>

Ok that sounds good- I wish you success!

---

<div class="post-metadata">

**Author:** ![Gaurav\_Srivastava](https://avatars.discourse-cdn.com/v4/letter/g/db5fbb/32.png) [@Gaurav\_Srivastava](https://community.wowza.com/u/Gaurav_Srivastava)\
**Post date:** [August 7, 2021, 5:55pm UTC](https://community.wowza.com/t/upload-file-segment-to-s3/93586/8 "2021-08-07T17:55:01Z")

</div>

Yes, We created custom module for this.
