To give you an understanding of serverless architectures, you’re going to build a small, event-driven serverless application: specifically, a video-encoding pipeline. Your service will transcode videos, uploaded to an S3 bucket, from their existing format, resolution or bit rate to a different format or bit rate (kind of like YouTube only without the frontend website).
To build this video-encoding pipeline, you will use AWS Lambda, S3, and Elemental MediaConvert. Later, if you so desire, you can build a frontend around it, but we’ll leave that for you as an exercise. If you want to see how we’ve done it ourselves, you can refer to our first edition that covers the frontend in some detail.
In this section, you’ll begin to build a small, event-driven serverless application. At a high level, you’ll learn the following in this chapter:
- How to construct a rudimentary serverless architecture using three AWS services including Lambda
- How to use the Serverless Framework to organize and deploy a serverless application
- How to run, debug, and test the serverless pipeline that you built