# Wowza on EC2 - what AMI for 50 incoming RTMP streams?

**URL:** <https://community.wowza.com/t/wowza-on-ec2-what-ami-for-50-incoming-rtmp-streams/45209>\
**Category:** Wowza Streaming Engine\
**Created:** [January 5, 2016, 3:22pm UTC](https://community.wowza.com/t/wowza-on-ec2-what-ami-for-50-incoming-rtmp-streams/45209 "2016-01-05T15:22:48Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Hall](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@Tim\_Hall](https://community.wowza.com/u/Tim_Hall)\
**Post date:** [January 5, 2016, 3:22pm UTC](https://community.wowza.com/t/wowza-on-ec2-what-ami-for-50-incoming-rtmp-streams/45209/1 "2016-01-05T15:22:48Z")

</div>

I need to set up a new Wowza instance on EC2, which will need to take 50 incoming live RTMP webcam streams simultaneously (only 400kbps each), with client (viewer) connections likely to only be up to 10 max per stream at any one time (more often than not it’ll be less or 0). Live streams will be viewable on a website, but also need to work over HLS for iUsers. Not a particularly demanding scenario, but I want to get it right straight up. Can anyone recommend which AMIs would be fine for this? Would m3.medium be up to the task, or do I need to go bigger?

---

<div class="post-metadata">

**Author:** ![Tim\_Hall](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@Tim\_Hall](https://community.wowza.com/u/Tim_Hall)\
**Post date:** [January 6, 2016, 9:03pm UTC](https://community.wowza.com/t/wowza-on-ec2-what-ami-for-50-incoming-rtmp-streams/45209/2 "2016-01-06T21:03:41Z")

</div>

Any advice on this would be much appreciated.

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [January 7, 2016, 12:32am UTC](https://community.wowza.com/t/wowza-on-ec2-what-ami-for-50-incoming-rtmp-streams/45209/3 "2016-01-07T00:32:51Z")

</div>

Hi,

There’s some useful data in [this thread.](http://community.wowza.com/t/-/35296)

The info there is about two years old, some of the posters there have done their own tests, but still your mileage may vary, and with 50 live source streams you really should start towards the upper end of those AMIs, as incoming streams do use up considerably more resources in comparison to outgoing connections.

Daren

---

<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:** [January 7, 2016, 8:05pm UTC](https://community.wowza.com/t/wowza-on-ec2-what-ami-for-50-incoming-rtmp-streams/45209/4 "2016-01-07T20:05:48Z")

</div>

Hello,

Both CPU are important. However, the maximal recommended value for the Wowza Java Heap Size is 10GB. So, if you are planning to run a single Wowza instance on your machine, you won’t need more than 16GB of RAM memory.

However, if you are planning to transcode the incoming streams, you should consider using an instance type with a lot of CPU resources. To get an idea on how much CPU resources are being used when transcoding different number of incoming streams, you should take a look at the “[Wowza Transcoder performance benchmark](https://www.wowza.com/docs/wowza-transcoder-performance-benchmark)” forum article.

Zoran

---

<div class="post-metadata">

**Author:** ![Andrew\_Ramberg](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@Andrew\_Ramberg](https://community.wowza.com/u/Andrew_Ramberg)\
**Post date:** [January 12, 2016, 4:27pm UTC](https://community.wowza.com/t/wowza-on-ec2-what-ami-for-50-incoming-rtmp-streams/45209/5 "2016-01-12T16:27:45Z")

</div>

Hello,

Correct, HLS would be considered different delivery/streaming method. Not a transcoding process.

Best regards,

Andrew

---

<div class="post-metadata">

**Author:** ![Tim\_Hall](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@Tim\_Hall](https://community.wowza.com/u/Tim_Hall)\
**Post date:** [January 7, 2016, 9:16am UTC](https://community.wowza.com/t/wowza-on-ec2-what-ami-for-50-incoming-rtmp-streams/45209/6 "2016-01-07T09:16:40Z")

</div>

That’s handy, thanks Darren, I’m currently looking at the large and xlarge c3 and m3 options. Can you offer advice on whether CPU or RAM is more important for handling incoming RTMP streams?

---

<div class="post-metadata">

**Author:** ![Tim\_Hall](https://avatars.discourse-cdn.com/v4/letter/t/f05b48/32.png) [@Tim\_Hall](https://community.wowza.com/u/Tim_Hall)\
**Post date:** [January 7, 2016, 6:25pm UTC](https://community.wowza.com/t/wowza-on-ec2-what-ami-for-50-incoming-rtmp-streams/45209/7 "2016-01-07T18:25:18Z")

</div>

Thanks Zoran, there won’t be any transcoding going on, the input streams will be delivered on the web exactly as they arrive (H.264 640x480 25fps 400kbps). HLS will also be used for iUsers, but that’s not a form transcoding I believe? Just a different delivery method?
