# How to test a connection between RTMP encoder and Wowza Streaming Engine on AWS?

**URL:** https://community.wowza.com/t/how-to-test-a-connection-between-rtmp-encoder-and-wowza-streaming-engine-on-aws/95054
**Category:** Wowza Streaming Engine
**Created:** [June 13, 2022, 2:02pm UTC](https://community.wowza.com/t/how-to-test-a-connection-between-rtmp-encoder-and-wowza-streaming-engine-on-aws/95054 "2022-06-13T14:02:39Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Dan\_Farrow](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@Dan\_Farrow](https://community.wowza.com/u/Dan_Farrow)
#### Post date: [June 13, 2022, 2:02pm UTC](https://community.wowza.com/t/how-to-test-a-connection-between-rtmp-encoder-and-wowza-streaming-engine-on-aws/95054/1 "2022-06-13T14:02:39Z")

</div>

How can I test a connection between the RTMP encoder and Wowza Stream Engine server which is hosted on AWS? We have found that we can successfully stream 4K@30fps 12000 Kbps to our Wowza instance from a certain site on the West Coast of the US (our instance is on AWS US-West-2). However, from another site on the West Coast in California, we cannot achieve smooth streaming at that resolution/bitrate and a similar encoding machine.

Is there an easy way to determine what kind of connection an encoder client is getting to a specific WSE Server?

---

<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: [June 13, 2022, 8:19pm UTC](https://community.wowza.com/t/how-to-test-a-connection-between-rtmp-encoder-and-wowza-streaming-engine-on-aws/95054/2 "2022-06-13T20:19:52Z")

</div>

According to our tech support supervisor: You could likely assume it’s a first mile issue if incoming bits are lower than expected for the 12 Mbps stream.

e.g. REST API call for the incoming stream: `https://www.wowza.com/docs/statistics-query-examples#incomingstats`

bytesIn should be in the 12 Mbps range: `"bytesIn": 12000000,`

If you get something like 6 Mbps, then you can assume there’s a first mile network issue: `"bytesIn": 6000000,`

If you want to check the source network bandwidth max and make streaming adjustments based on results, that will take some custom development work.
