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
asked 3 months ago1250 views
2 Answers
1
Accepted Answer

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
EXPERT
Greg_B
answered 3 months ago
profile picture
EXPERT
reviewed 2 months ago
0

Appreciate your input @Greg_B. Thank you.

farani
answered 3 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions