Cost
You are responsible for the cost of the AWS services used while running this solution. The total cost for running this solution depends on the size of your videos, the number of outputs created, and the number of views the published content receives through CloudFront. After encoding all of your videos with this solution, the monthly cost will be for Amazon S3 storage, and any CloudFront costs from streaming your new video content to users.
As of this revision, the estimated cost of running this solution for a 60-minute video with the dimensions listed in the following table, in the US East (N. Virginia) Region, is approximately $232.86 per month per job.
We recommend creating
a budget
through AWS Cost Explorer
Cost table for a 60-minute source video
The following table provides a sample cost breakdown for processing a 60-minute source video using the solution deployed with the default parameters in the US East (N. Virginia) Region.
AWS service | Dimensions | Cost [USD] |
---|---|---|
Amazon CloudFront |
Using the price of $0.085 per GB for CloudFront, a 60-minute video with the default job settings streamed to 1,000 users would cost approximately: 0.75 MB/s × 1000 users × 3600 seconds = 2700 GB/hour 2700 GB/hour × $0.085 per GB = $229.50 an hour |
$229.50 |
Amazon S3 |
A 60-minute video uses a maximum of 9 GB of storage on Amazon S3, depending on the complexity of the video content. $0.023 per GB × 9 GB = $0.207 NoteSource videos uploaded to Amazon S3 add to this cost. After MediaConvert processing, delete source content from Amazon S3 to reduce storage costs. |
$0.207 |
AWS Lambda |
4 Lambda requests per file using $0.20 per million requests $0.0000002 × 4 requests = $0.0000008 |
$0.0000008 |
Amazon CloudWatch |
AWS Free
Tier |
$0.00 |
Amazon EventBridge |
AWS Free
Tier |
$0.00 |
Amazon SNS |
AWS Free
Tier |
$0.00 |
AWS Elemental MediaConvert |
HLS output profile:
|
$3.15 |
Total: | $232.86 |
MediaConvert cost
A significant cost of running this solution comes from MediaConvert. This section breaks down the MediaConvert costs for the sample 60-minute source video.
The video outputs in the Cost table for a 60-minute source video use the following Basic tier MediaConvert settings:
-
AVC codec
-
1 pass quality
-
30 fps
This solution's CloudFormation template creates a destination S3
bucket where the processed videos are stored. The solution
stores each processed result in a folder with the same name as
the process ID. Pricing increases when using higher
frame rates than 30 fps. For more information about MediaConvert
pricing, refer to
AWS Elemental MediaConvert Pricing