How to select EC2 instance based on the number of camera streams publishing to Amazon Kinesis Video Stream

0

I want to run gstreamer+kvs producer on an EC2 instance. What is the best way to determine the EC2 instance size? What other considerations do i need to check? If anyone can provide some examples as a starting point, that would be great. Thanks

farani
已提問 4 個月前檢視次數 1897 次
2 個答案
1
已接受的答案

Hi. This blog and associated repo should be a good starting point.

https://aws.amazon.com/blogs/iot/build-a-cloud-gateway-to-ingest-rtsp-video-to-amazon-kinesis-video-streams/

https://github.com/aws-samples/cloud-gateway-for-amazon-kinesis-video-streams

You'll see that when the EC2 option is used (instead of Fargate), it uses t3.medium. However, the amount of resource you'll need will vary depend on factors like the number of cameras/streams, the resolution, the frame rate, the bit rate, network conditions and so forth. As a broad starting point, please review the KVS system requirements, in regards to the producer SDK: https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/system-requirements.html. Per the blog, you might consider to scale horizontally using auto scaling, rather than size a single instance.

profile pictureAWS
專家
Greg_B
已回答 4 個月前
profile picture
專家
已審閱 2 個月前
0

Appreciate your input @Greg_B. Thank you.

farani
已回答 3 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南