AWS Elemental MediaTailor
Overview
The default Hydrolix dashboard for AWS Elemental MediaTailor combines MediaTailor manifests, ad server decision logs, and service metrics to provide information about your MediaTailor environment. When you add MediaTailor as a data source in the Hydrolix web console, Hydrolix provisions two AWS Data Firehose streams to transport data into your Hydrolix cluster: one stream for logs and another for metrics.
Before you begin
Item | Description | Example value | How to obtain this information |
---|---|---|---|
AWS Data Firehose stream name | The streaming data pipeline which transports MediaTailor log and metric data from AWS into a Hydrolix cluster. | hdx-logs-mediatailor-mycluster my-firehose-stream | Hydrolix creates two Firehose streams when MediaTailor is added as a data source through the AWS Marketplace. For self-managed Hydrolix clusters, see Amazon Data Firehose to create a Firehose stream and connect it to a Hydrolix cluster. |
Send MediaTailor logs to Hydrolix
Use vended logs to export MediaTailor logs to Hydrolix using AWS Firehose. The vended log strategy sends logs to a Firehose stream which are then ingested by the Hydrolix cluster.
If MediaTailor logs are already in CloudWatch, you can forward them to Firehose following the steps in Send CloudWatch Logs to Firehose. Hydrolix recommends using the vended log strategy to send the logs directly to a Firehose stream from MediaTailor to reduce the cost and end-to-end latency.
Configure MediaTailor logs for vended log strategy
- Log in to your AWS MediaTailor console
- In the left nav bar, select the MediaTailor configuration for which you want to send the logs to Hydrolix, and click Edit.
- Select Vended logs as the logging strategy for the MediaTailor configuration.
- Open the Vended Logs tab. Click the Add button on the top right and select To Amazon Data Firehose > In current account.
- Under Log type select AD_DECISION_SERVER_LOGS.
- Under Destination delivery stream select the Data Firehose stream created in Before you begin.
- Click Add.
Your MediaTailor logs should now be streaming to your Hydrolix deployment.
Send MediaTailor metrics to Hydrolix
MediaTailor metrics are automatically sent to CloudWatch. Configure your MediaTailor, CloudWatch, and Data Firehose services to deliver these metrics to your Hydrolix service.
Export MediaTailor metrics from CloudWatch to Hydrolix
- Log in to your AWS CloudWatch console.
- Select Streams from the Metrics section in the left nav.
- Click Create metric stream.
- Select the Custom setup with Firehose option at the top of the stream setup page.
- Select the Data Firehose stream created in Before you begin.
- In the Change output format - optional dialog, select JSON.
- (Optional) Add a Custom metric stream name.
- Click Create metric stream.
Your MediaTailor metrics are now streaming to your Hydrolix service.
Additional considerations
Automatic provisioning region
When you configure MediaTailor as a data source in the Hydrolix web console, either by itself or as part of a Hydrolix solution, Hydrolix automatically creates an AWS Firehose stream in the same region as the Hydrolix cluster.
Confirm which AWS region the Hydrolix cluster is running in on the Product Info page of the Hydrolix web console.
Cross-region data transfer costs
If MediaTailor runs in a different AWS region than your Hydrolix cluster, you may incur additional data transfer costs when sending logs to CloudWatch or Firehose.
All data streaming service costs appear on your AWS bill and aren't included in your Hydrolix subscription.
Review pricing for these services at AWS pricing calculator to estimate costs for these services:
Amazon CloudWatch pricing
Amazon Data Firehose pricing
Same region minimizes cost
If MediaTailor is deployed to multiple regions, ensure you're viewing the intended region after logging into any AWS service console to perform the steps on this page. To minimize data transfer costs, MediaTailor and Hydrolix should be deployed in the same AWS region.
Deactivating
You can deprovision the CloudWatch and Firehose services provisioned by Hydrolix by selecting de-activate in the Hydrolix web console.
Updated about 7 hours ago