Configure base URLs for MediaTailor channel assembly CDN
AWS Elemental MediaTailor channel assembly requires proper base URL configuration to ensure content routing through your content delivery network (CDN) works correctly. Configure the base URL settings in channel assembly to enable successful content delivery to viewers.
Content segment URL configuration
In your channel assembly channel configuration, set the Base URL to your CDN domain. This ensures that all segment URLs in the assembled manifest point to your CDN rather than directly to your origin server.
For example, if your origin content is at
http://origin.example.com/content/
and your CDN domain is
https://cdn.example.com/
, set the Base URL to
https://cdn.example.com/content/
.
Access restriction configuration
To enhance security, configure your CDN to restrict direct access to your origin server:
-
Set up origin access controls in your CDN.
-
Configure your origin server to only accept requests from your CDN.
-
Use signed URLs or cookies for viewer authentication if needed.
For Amazon CloudFront, you can use Origin Access Control (OAC) to secure access to your origin. For more information about securing your CloudFront integration, see CloudFront integration.