We would like to Setup a Wowza server locally (origin) and use Amazon CloudFront to deliver the data. I have seen many examples which shows setting up EC2 instance and configuring that but none of them tells if its possible to use Amazon CloudFront to point to our local Wowza Server and deliver the content using Caching mechanism.
Basically here is the requirement :
Setup a local Wowza Server and have a domain name allocated to it.
Store the Content to S3
Setup a CloudFront and Create Distribution which uses the domain name specified in Step 1.
Deliver the video using CloudFront URL.
I have tried to do all this and if I use cloudfront url (directly), it goes to our domain name. And if I use domain:8088 it does open wowza server on domain name.
But its not able to deliver video by using cloudfront url. I did try to create vodhttporigin but it didn’t help.
Could you guide me, where I am doing wrong ?
Also, I see that in Amazon CloudFront we can just create Web Distrubution to point to local wowza server via domain name but creating RTMP distrubtion is not allowed because its allowed only for S3. In such a case how do I deliver it via rtmp ? Also do I need to use same port 1935 for hls/hds delivery ?
- 183.xx.xxx.xxx -> Mapped to www.example.com
183.xx.xxx.xxx:8088 -> Works
www.example.com:8088 -> Works
Via JWPlayer http://183.xx.xxx.xxx:1935/vod/1411622594.smil/playlist.m3u8 -> Works
- CloudFront distribution created and mapped to www.example.com
Via JWPlayer http://ourcloudfronturl.net:1935/vod/1411622594.smil/playlist.m3u8 -> Does not Work