Configuring the CDN

Configure the CDN for an existing distribution channel in Media Streams.

Media Streams supports OCI Edge or a CDN such as Akamai. To use Akamai, you must use your own account.

    1. On the Distribution channels list page, select the compartment that contains the distribution channel for which you want to configure the CDN. If you need help finding the list page, see Creating a Distribution Channel.
    2. Select the name of the channel for which you want to configure the CDN.
    3. On the details page, select CDN configuration.
      The current configuration is displayed.
    4. Select Edit.
    5. Select Next.
    6. In the CDN configuration section, provide the following details (OCI Edge or Akamai):
      • Enter a name for the CDN configuration.
      • Select the configuration type for the CDN. If you select Akamai, provide the following details:
        • Edge hostname: The host name of the CDN edge server used for building CDN URLs.
        • Edge path prefix: The path to prepend when building CDN URLs.
        • Edge auth token: Select if the token authentication must be used at the CDN edge.
        • Edge token key: The encryption key to use for edge token authentication.
        • Edge token salt: The salt to use when encrypting authentication token.
        • Authentication secret key A: The shared secret key A for precise key rotation.
        • Authentication secret key A nonce: The Nonce identifier for originAuthSecretKeyA (used to determine the key for signing).
        • Authentication secret key B: The shared secret key B for precise key rotation.
        • Authentication secret key B nonce: The Nonce identifier for originAuthSecretKeyB (used to determine key for signing).
    7. Select Next, and then select Update.
  • To create a CDN configuration using OCI Edge, run the create-edge-stream-cdn-config command:

    oci media-services stream-cdn-config create-edge-stream-cdn-config [OPTIONS]

    To create a CDN configuration using Akamai, run the create-akamai-stream-cdn-config command:

    oci media-services stream-cdn-config create-akamai-stream-cdn-config [OPTIONS]

    Required parameters for the create-edge-stream-cdn-config and create-akamai-stream-cdn-config commands are:

    • --display-name [text]
    • --distribution-channel-id [text]

    To get all the commands for stream-cdn-config:

    oci media-services stream-cdn-config -h

    To get help for the create-edge-stream-cdn-config command:

    oci media-services stream-cdn-config create-edge-stream-cdn-config -h

    To get help for the create-akamai-stream-cdn-config command:

    oci media-services stream-cdn-config create-akamai-stream-cdn-config -h

    For a complete list of flags and variable options for CLI commands, see the Command Line Reference.

  • To configure a CDN, use the CreateStreamCdnConfig operation.