AWS Elemental MediaConvert
User Guide

Using CloudWatch Events to Monitor AWS Elemental MediaConvert Jobs

You can use Amazon CloudWatch Events to notify you when your job status changes and to trigger automated actions in other AWS services when these events happen. For example, you can set up CloudWatch Events to notify you if your AWS Elemental MediaConvert job fails. You can also set up CloudWatch Events so that a Lambda function initiates your post-processing code after your job finishes.

For more information about using AWS Lambda with AWS Elemental MediaConvert, see one of these resources:

  • For experienced cloud architects, see the Video on Demand on AWS post on the AWS Answers blog.

  • For developers new to AWS Elemental MediaConvert and Lambda, see the Automating MediaConvert Jobs with Lambda tutorial on GitHub.

    This tutorial is part of the Simple VOD Workflow series of tutorials on using AWS Elemental MediaConvert to create video on demand (VOD).

To set up CloudWatch Events, you create a rule that links AWS Elemental MediaConvert and the service that responds to your job status change, such as Amazon Simple Notification Service (SNS) or AWS Lambda. The following illustration shows these two parts of CloudWatch Events rules.

            CloudWatch Events rules bring together an event source and a target.

For example, you can create a rule and name it "MediaConvert Job Error". Next, you can set up an Amazon SNS topic that has the email address that you want the notification sent to. The event source is the event that AWS Elemental MediaConvert sends to CloudWatch when the status of a job changes to ERROR. For a tutorial on setting up this CloudWatch Events event rule, see Tutorial: Setting Up Email Notifications for Failed Jobs.

For more information about the events that AWS Elemental MediaConvert can send in the CloudWatch Events event stream, see AWS Elemental MediaConvert Events.