How to use AWS Fargate and Lambda for long-running processes in a Serverless app

My new article: How to use AWS Fargate and Lambda for long-running processes in a Serverless app

In this article, I will show you how to create an end-to-end serverless application that extracts thumbnails from video files. But, oh no, processing video files is a long-running process! Whatever will we do?

This is where Fargate comes in.

TL;DR A Docker container does the processing → The container extracts the thumbnail and uploads the image to an S3 bucket → The container is managed by AWS Fargate. All functionality is triggered from AWS Lambda functions and contained within a serverless application written with the Serverless Framework.

If you have any questions, please post it here or on the blog.

Thanks,
Rupak Ganguly
Developer Advocate / Enterprise Solutions Architect

1 Like

thanks for sharing, it is a great idea.

With this idea, we can nearly do most with serverless.

1 Like