Skip to content

Video production asset processing pipeline

A Node.js application on AWS that processes and transcodes videos and images on upload, deciding for each file whether Lambda or a newly created EC2 instance handles it.

Client

Video production company.

Solution

We built a Node.js application that processes and transcodes media files — videos and images.

The flow is triggered when a file is uploaded to a designated S3 bucket. A Lambda function identifies the file and, based on set criteria, decides how to proceed: the file is processed further in Lambda, which has only limited resources available, or an EC2 instance is created to process the file or a whole queue of files.

Technology stack

AWSServerlessLambdaSQSSNSS3EC2MongoDBNode.js

← Back to work