# Fastly Streamtarget with Custom Origin - which application type?

**URL:** <https://community.wowza.com/t/fastly-streamtarget-with-custom-origin-which-application-type/94639>\
**Category:** Wowza Video (Formerly Streaming Cloud)\
**Created:** [February 25, 2022, 11:51pm UTC](https://community.wowza.com/t/fastly-streamtarget-with-custom-origin-which-application-type/94639 "2022-02-25T23:51:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bernhard\_Schmidt](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/bernhard_schmidt/32/687_2.png) [@Bernhard\_Schmidt](https://community.wowza.com/u/Bernhard_Schmidt)\
**Post date:** [February 25, 2022, 11:51pm UTC](https://community.wowza.com/t/fastly-streamtarget-with-custom-origin-which-application-type/94639/1 "2022-02-25T23:51:43Z")

</div>

Hi,

I was using Akamai stream targets to send streams from the WSE to the CDN. (using stream targets and connection code)  
Since Akamai is being discontinued, I want to set up the same with Fastly, but it seems to work differently. I guess in my case I’d have to set up a target with a “Custom origin”?  
If I do that, should the application in WSE be a regular “Live” application, or rather a “Live HTTP Origin” application?

Thanks in advance,  
best regards,  
Bernhard

---

<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:** [March 1, 2022, 4:45pm UTC](https://community.wowza.com/t/fastly-streamtarget-with-custom-origin-which-application-type/94639/2 "2022-03-01T16:45:56Z")

</div>

Hello @Bernhard_Schmidt happy to help with the transition. We’ve recently created several articles around this for Engine \> CDN but the right article depends on whether or not you need to push the stream to the CDN or have the CDN pull the stream.

If you are pulling the stream, you need to use the **HTTP origin option in Streaming Engine**. Then in Step 2 within Streaming Cloud when you are creating the stream target to Fastly, configure it as **custom origin.**

You need this article If pulling the stream, you have to use HTTP Origin in order to cache for sessionless playback requests from Fastly.

[https://www.wowza.com/docs/how-to-stream-to-wowza-cdn](https://www.wowza.com/docs/how-to-stream-to-wowza-cdn)

## Migrate with Wowza Streaming Engine

#### Stream directly from Wowza Streaming Engine to Wowza CDN on Fastly

The following resources describe how to set up streaming from Wowza Streaming Engine directly to Wowza CDN on Fastly, bypassing transcoding in Wowza Streaming Cloud.

You can choose to create a Fastly stream target for a push-based or pull-based workflow.

Configure using a pull-based workflow:

- [Stream to Wowza CDN from Wowza Streaming Engine](https://www.wowza.com/docs/how-to-stream-to-wowza-cdn)
- [Stream to Wowza CDN from Wowza Streaming Engine using Wowza REST APIs]  
([https://www.wowza.com/docs/stream-to-wowza-cdn-from-wowza-streamin-engine-using-wowza-rest-apis](https://www.wowza.com/docs/stream-to-wowza-cdn-from-wowza-streamin-engine-using-wowza-rest-apis))  
  

Configure using a push-based workflow:

- [Send Apple HLS and MPEG-DASH content to Amazon S3 using Wowza Streaming Engine](https://www.wowza.com/docs/send-apple-hls-and-mpeg-dash-content-to-amazon-s3-using-wowza-streaming-engine)

  

**MAIN DOCUMENTATION: Migrating from Akamai to Fastly for either Streaming Engine or Streaming Cloud**

[https://www.wowza.com/docs/migrate-to-wowza-cdn-on-fastly#migrate-with-wowza-streaming-engine1](https://www.wowza.com/docs/migrate-to-wowza-cdn-on-fastly#migrate-with-wowza-streaming-engine1)

---

<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:** [March 1, 2022, 4:57pm UTC](https://community.wowza.com/t/fastly-streamtarget-with-custom-origin-which-application-type/94639/3 "2022-03-01T16:57:38Z")

</div>

**Pay close attention to those firewalls** if that is the reason it’s not working for you, We cover this in the video inside the migration doc as well as in Step 8 in the doc.

[https://www.wowza.com/docs/migrate-to-wowza-cdn-on-fastly#migrate-with-wowza-streaming-engine1](https://www.wowza.com/docs/migrate-to-wowza-cdn-on-fastly#migrate-with-wowza-streaming-engine1)

But, I’ll post the video here where we explain the firewall and port forwarding issues you may encounter.

[![](https://us1.discourse-cdn.com/flex002/uploads/wowza1/original/2X/f/f4e2579600fa5ebcd790f67118a570ad9ce65a5d.jpeg "Migrating Wowza CDN to Fastly") ](https://www.youtube.com/watch?v=eI1owqCudS4)
