# What are the pros of Cloudfront/http?

**URL:** <https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497>\
**Category:** Wowza Streaming Engine\
**Created:** [March 7, 2014, 12:28pm UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497 "2014-03-07T12:28:33Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/system/32/447_2.png) [@system](https://community.wowza.com/u/system)\
**Post date:** [March 7, 2014, 12:28pm UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497/1 "2014-03-07T12:28:33Z")

</div>

Hello Community

Yesterday I made my first operation with this setting:

- a Wowza server on my own infrastructure (not EC2)

- a “web” (i.e. http) Clouldfront distribution

I was streaming live with http-based protocols (hls and hds but no rtmp).

It was working fine, but to my surprise all clients connections were received by Wowza. I was expecting only one connection from Cloudfront, and that clients would fetch their data from CF.

Am I missing something? because if all clients connect to my Wowza, what’s the use of CF?

TIA

greg

---

<div class="post-metadata">

**Author:** ![Mark\_Shueard](https://avatars.discourse-cdn.com/v4/letter/m/49beb7/32.png) [@Mark\_Shueard](https://community.wowza.com/u/Mark_Shueard)\
**Post date:** [March 7, 2014, 9:04pm UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497/2 "2014-03-07T21:04:55Z")

</div>

It can’t be setup properly then. Have you done the steps in the article?

By the way, how much outbound bandwidth do you have?

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 7, 2014, 6:02pm UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497/3 "2014-03-07T18:02:39Z")

</div>

With Cloudfront distribution clients stream from Cloudfront servers, not directly from Wowza.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [March 19, 2014, 1:35pm UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497/4 "2014-03-19T13:35:48Z")

</div>

Greg,

The basic [guide is here](https://www.wowza.com/docs/how-to-integrate-your-wowza-ec2-instance-with-cloudfront)

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [May 29, 2014, 1:53am UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497/5 "2014-05-29T01:53:02Z")

</div>

Greg, if you have configured HTTPOrigin application in the Manager, but also want to use it as a live origin to re-stream from an edge, then open the Application.xml and change /Client /StreamAccess from this:

```auto
<StreamReadAccess></StreamReadAccess>

```

To this, adding “\*”

```auto
<StreamReadAccess>*</StreamReadAccess>

```

Re-start the application or Wowza, then you will also be able to use this application as liverepeater origin.

Richard

---

<div class="post-metadata">

**Author:** ![Richard\_Lanham](https://avatars.discourse-cdn.com/v4/letter/r/c68b51/32.png) [@Richard\_Lanham](https://community.wowza.com/u/Richard_Lanham)\
**Post date:** [June 5, 2014, 2:04am UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497/6 "2014-06-05T02:04:49Z")

</div>

I created a new HTTP Origin application in Wowza Manager, and it was empty. . You do need the \* to re-stream from a LiveRepeater edge.

Richard

---

<div class="post-metadata">

**Author:** ![greg\_reitter](https://avatars.discourse-cdn.com/v4/letter/g/ee59a6/32.png) [@greg\_reitter](https://community.wowza.com/u/greg_reitter)\
**Post date:** [March 7, 2014, 5:46pm UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497/7 "2014-03-07T17:46:41Z")

</div>

So I was right thinking Wowza would have to output a limited number of streams?

I just created a “Live” application in the new GUI, then creates a “web” distribution on Amazon with my wowza server as origin.

And my bandwidth is 100Mbps, which should be sufficient for a quite a few 600kbps stream.

---

<div class="post-metadata">

**Author:** ![greg\_reitter](https://avatars.discourse-cdn.com/v4/letter/g/ee59a6/32.png) [@greg\_reitter](https://community.wowza.com/u/greg_reitter)\
**Post date:** [March 19, 2014, 1:42pm UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497/8 "2014-03-19T13:42:29Z")

</div>

Thanks for your answer.

So how should I configure Wowza?

(I’m using Wowza 4 for live http streaming)

TIA

greg

---

<div class="post-metadata">

**Author:** ![greg\_reitter](https://avatars.discourse-cdn.com/v4/letter/g/ee59a6/32.png) [@greg\_reitter](https://community.wowza.com/u/greg_reitter)\
**Post date:** [May 29, 2014, 2:23am UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497/9 "2014-05-29T02:23:53Z")

</div>

So with the guide I think I managed to solve my problem: it’s only working with “Live HTTP Origin” and NOT with “Live Origin”…

Thanks

greg

---

<div class="post-metadata">

**Author:** ![greg\_reitter](https://avatars.discourse-cdn.com/v4/letter/g/ee59a6/32.png) [@greg\_reitter](https://community.wowza.com/u/greg_reitter)\
**Post date:** [May 30, 2014, 12:57am UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497/10 "2014-05-30T00:57:13Z")

</div>

Oh nice trick, thanks 🙂

---

<div class="post-metadata">

**Author:** ![greg\_reitter](https://avatars.discourse-cdn.com/v4/letter/g/ee59a6/32.png) [@greg\_reitter](https://community.wowza.com/u/greg_reitter)\
**Post date:** [June 5, 2014, 1:13am UTC](https://community.wowza.com/t/what-are-the-pros-of-cloudfront-http/497/11 "2014-06-05T01:13:30Z")

</div>

I just had a look to the Application.xml file of both applications (the “Live HTTP Origin” and the “Live Single Server or Origin”), both have this line:

\*
