Akamai CDN With Wasabi
    • 09 Sep 2024
    • 4 Minutes to read
    • PDF

    Akamai CDN With Wasabi

    • PDF

    Article summary

    How do I use Akamai CDN with Wasabi?

    Akamai's Adaptive media delivery product has been validated for use with Wasabi. Follow the steps outlined below to activate Wasabi cloud storage with Akamai's CDN network.

    Prerequisites:

    • Active Akamai account

    • Active Wasabi account

    • Active public domain

    • Administrator access to domain provider

    Note:

    • All information provided below is using my test domain "www.wasabi-support.com", this will be associated with Akamai's CDN network

    • The test domain is owned and managed by godaddy.com & i have admin rights to edit domain information such as DNS values to associate my domain with Akamai.

    1) Upload data to Wasabi storage

    Wasabi has verified many S3, FTP, FTPS clients for uploading data. Refer to our KBs for specific information on products/vendors Wasabi has been verified for use with. In order for the uploaded data to be delivered to a CDN vendor as Akamai, data stored on wasabi needs to be enabled for public access. Here is how. 

    1. Enabling public access to specific objects - Refer to information here.

    2. Enabling public access to all objects in a bucket - Refer to information here.

    3. Enabling public access to all objects in a folder - Refer to information here.

    2) Configure Akamai

    Log in to your Akamai Control Center portal:

    mceclip0.png

    3) Click on Properties and click "Create property"

    mceclip0.png

    4) Provide a "Property Name" and click "Create Property"

    Note: Property name is only for internal Akamai use, Please contact Akamai for recommendations 

    mceclip1.png

    5) Under "Property Hostnames" click "Add"

    mceclip2.png

    6) Once you click "Add" a pop-up window will appear and request you to provide the following:

    • Hostname - in the test outline here, we are using the hostname - akamaitest.wasabi-support.com where wasabi-support.com is the top-level domain and akamaitest is a sub-domain and click "Next"

      mceclip3.png

    • Choose "IPv4 only" and click "Next"

      mceclip4.png

    • Choose mapping solution, in this integration we are choosing VOD content and click "Next"mceclip5.png

    • Confirm "Edge Hostnames" and click "Submit"

      mceclip6.png

    • Confirmation on providing a property hostname:

      mceclip7.png

    7) In Property Configuration Settings section -> Behaviors -> Origin Server click "Origin Type" and choose "Your Origin"

    mceclip8.png

    8) Provide the following info:

    • Origin Type - Your Origin

    • Origin Server Hostname - s3.us-west-1.wasabisys.com

    • Forward host header - Origin Hostname

    • Cache key Hostname - Origin Hostname

    Note: This example discusses the use of Wasabi's us-west-1 storage region. To use other Wasabi storage regions, please use the appropriate Wasabi service URL as described in this article.

    Note: Additional info provided below on to setup Akamai for using different Wasabi regions as part of the same property. 

    mceclip32.png

    9) Leave default values for SSL & ports as shown below. Under the "Content Provider Code" click "Create New"

    Note: Content provider code is used for Akamai's billing & reporting purposes. Please contact Akamai for additional details

    mceclip10.png

    10) A pop-up window will default to a "Content Provider Code name" Click "Create"

    mceclip11.png

    11) Leave defaults for rest of the configuration elements. 

    12) Scroll all the way down to the end of the page and click "Add Behavior"

    mceclip12.png

    13) In "Add a Behavior for this rule" pop-up search for "Origin Base Path"

    mceclip13.png

    14) Click "Insert Behavior"

    mceclip14.png

    15) Provide the base Path value to match your cloud storage account, for example, my Wasabi account has a bucket named "akamawasabitest", i created a folder called "Videos" and inside this folder i have a video asset named "Why Wasabi is Different_Wasabi.mp4" as shown below. In this case the base path provided in Akamai control center would be "/akamaiwasabitest/Videos/"

    mceclip15.png

    Akamai Origin Base Path and click "Save"

    mceclip16.png

     

    Staging & Activation of Akamai Property

    15) Once save completes, Navigate to "Activate" tab 

    mceclip18.png

    16) Click "Activate v1 on Staging" - the configuration created above will be verified

    mceclip19.png

    17) Click "Activating v1 on Staging"

    mceclip20.png

    18) Activation process takes several mins to complete:

    mceclip21.png

    19) Once staging activation completes successfully, Click "Activate on Production"

    mceclip33.png

    20) Provide email address to be notified and Confirm activation 

    mceclip35.png

    21) Activation on production takes about an hour

    mceclip36.png

    Changes required at DNS Hosting provider

    wasabi-support.com domain is held by GoDaddy hosting provider. Login into your hosting provider's portal and add a CNAME entry as shown below:

    • host -  akamaitest

    • Points to - akamaitest.wasabi-support.com

    • TTL - 60 mins (can be different)

    mceclip17.png

    Enable HTTPS access

    22) Click "Create" and choose "Certificate"

    mceclip22.png

    23) Click "Create New Certificate"

    mceclip0.png

    24) Choose the best option to validate website's identity. As an example, i will be choosing Domain Validation (DV) and click "Next"

    mceclip1.png

    25) Choose "SAN" and click "Next"

    mceclip2.png

    26) Provide following and click "Next"

    • common-name for the certificate

    • company info such as address, contact info etc

    mceclip10.png

    27) Provide contact details:

    mceclip5.png

    28) Choose "Standard TLS" and click "Review"

    mceclip6.png

    29) Click "Submit"

    mceclip7.png

    30) A pop-up will appear requesting to validate the domain

    mceclip8.png

    31) Validate the domain, in the following example, validating the domain via DNS Token, a TXT value, Take the appropriate steps with the website hosting vendor to validate the domain. 

    mceclip9.png

    Access Hosted Content via Akamai CDN

    32) Using a browser navigate to "https://akamaitest.wasabi-support.com/Why%20Wasabi%20is%20Different%20_%20Wasabi.mp4"

    Note:

    • URL is HTTPS based

    • Top level URL contains akamaitest.wasabi-support.com

    • Since we offered base path to be "akamaiwasabitest/Videos" - the asset needs to be called out after the URL

    mceclip11.png

    Adding Different Wasabi regions to the same property

    33) Under "Property Configuration Settings" click "Add Rule"

    mceclip23.png

    34) Choose "Blank Rule Template" and click "Insert Rule"

    mceclip24.png

    35) Hover over to right of the newly created rule "New Rule" and click the gear icon, choose "Edit Name"

    mceclip25.png36) Provide a name "East2 Rule", then click "Add Match", opt for "Path" in the first drop down option and set "matches one of" in the second drop down option and provide bucket/folder path.

    mceclip27.png

    37) Click "Add Behavior", in the pop-up search for "Origin Server" and click "Insert Behavior"

    mceclip30.png

    38) Provide the following info and click "Save"

    • Origin Type - Your Origin

    • Origin Server Hostname - s3.us-east-2.wasabisys.com

    • Forward Host Header - Origin Hostname

    • Cache Key Hostname - Origin Hostname

    mceclip31.png

    39) Following steps outlined from 33 thru 38 - additional Wasabi regions can be added to your Akamai property.