# Push the stream to AWS Wowza instance.

**URL:** <https://community.wowza.com/t/push-the-stream-to-aws-wowza-instance/43966>\
**Category:** Wowza Streaming Engine\
**Created:** [September 22, 2014, 1:53pm UTC](https://community.wowza.com/t/push-the-stream-to-aws-wowza-instance/43966 "2014-09-22T13:53:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandeep\_Rao](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Sandeep\_Rao](https://community.wowza.com/u/Sandeep_Rao)\
**Post date:** [September 22, 2014, 1:53pm UTC](https://community.wowza.com/t/push-the-stream-to-aws-wowza-instance/43966/1 "2014-09-22T13:53:34Z")

</div>

Hi,

I have 2 servers, one which has the internal UDP streams and the other is AWS. I have installed **Wowza trial version** on both the servers.

Now I have to stream the UDP to the AWS Wowza instance. So I followed the Push Publishing tutorial in this link: [https://www.wowza.com/docs/how-to-push-streams-to-cdns-and-other-services-push-publishing](https://www.wowza.com/docs/how-to-push-streams-to-cdns-and-other-services-push-publishing)

I created ModulePushPublish and entered this in the PushPublishMap.txt:

test.stream\_64kbps={profile:“rtmp”, streamName:“test.stream”, host:“[ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com/Demo](http://ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com/Demo)”, userName:“wowza”, password:“password”, debugLog:true, debugPackets:true}

But when I connect to test.stream from the Wowza interface, it gives me this error in the wowzastreamingengine\_access.log file:

**java UnknownHost Exception**. Failed to connect to the host. And few more warnings

What am I doing wrong here?

AWS gives few URLs. I have used the one mentioned above. Should I use some other URL? If so can you give me an example as to how that URL looks like?

Or am I going about it in the wrong way?

Can PushPublishing be used for my requirement?

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [September 22, 2014, 2:54pm UTC](https://community.wowza.com/t/push-the-stream-to-aws-wowza-instance/43966/2 "2014-09-22T14:54:34Z")

</div>

Hi,

I think that you are not using correctly the “host” parameter. It should be "“[ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com](http://ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com)” and not "“[ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com/Demo](http://ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com/Demo)” like you have set it.

Is “Demo” your application name?

In this case, the mapping from your PushPublishMap.txt file should look something like this:

test.stream\_64kbps={profile:“rtmp”, streamName:“test.stream”, host:“[ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com](http://ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com)”, application:“Demo”, userName:“wowza”, password:“password”, debugLog:true, debugPackets:true}

In the “[How to push streams to CDNs and other services (Push Publishing)](https://www.wowza.com/docs/how-to-push-streams-to-cdns-and-other-services-push-publishing#rtmpprofiles)” forum article you can find a full list of available parameters that can be used in the PushPublishMap.txt file.

Zoran

---

<div class="post-metadata">

**Author:** ![Sandeep\_Rao](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Sandeep\_Rao](https://community.wowza.com/u/Sandeep_Rao)\
**Post date:** [September 23, 2014, 5:38pm UTC](https://community.wowza.com/t/push-the-stream-to-aws-wowza-instance/43966/3 "2014-09-23T17:38:56Z")

</div>

> Hi,
> 
> I think that you are not using correctly the “host” parameter. It should be "“[ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com](http://ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com)” and not "“[ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com/Demo](http://ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com/Demo)” like you have set it.
> 
> Is “Demo” your application name?
> 
> In this case, the mapping from your PushPublishMap.txt file should look something like this:
> 
> test.stream\_64kbps={profile:“rtmp”, streamName:“test.stream”, host:“[ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com](http://ec2-xx-xxx-xx-xx.ap-southeast-1.compute.amazonaws.com)”, application:“Demo”, userName:“wowza”, password:“password”, debugLog:true, debugPackets:true}
> 
> In the “[How to push streams to CDNs and other services (Push Publishing)](https://www.wowza.com/docs/how-to-push-streams-to-cdns-and-other-services-push-publishing#rtmpprofiles)” forum article you can find a full list of available parameters that can be used in the PushPublishMap.txt file.
> 
> Zoran

Thanks Zoran. I will try that out and come back to you.
