Video on Demand on AWS
Video on Demand on AWS

Architecture Overview

Deploying this solution with the default parameters builds the following environment in the AWS Cloud.

        Video on demand solution architectural overview

Figure 1: Video on Demand architecture on AWS

This solution includes two AWS CloudFormation templates: one template (metadata) that deploys a workflow that ingests metadata files and source videos, and one template (video-only) that deploys a workflow that ingests source videos only. In the metadata and video workflow, encoding options for each source video are defined in the metadata file, allowing customers to apply encoding options on a video-by-video basis. In the video-only workflow, encoding options are defined in the AWS CloudFormation template at launch, and are applied to every video the solution encodes.

Both AWS CloudFormation templates deploy a workflow that includes Amazon Elastic Transcoder and AWS Step Functions, which creates ingest, processing, and publishing step functions. The templates also launch AWS Lambda functions that trigger the ingest and publishing processes, and process error messages, Amazon S3 buckets for source and destination media files, Amazon CloudWatch for logging, and an Amazon CloudFront distribution. An Amazon DynamoDB table stores metadata on the media files, and Amazon SNS topics send encoding, publishing, and error notifications.