Setting Up an Akamai NetStorage Output
Overview
The NetStorage service of Akamai provides many ways to interact with it. The best way from our perspective is to use its HTTP API interface. In this tutorial you will learn how it works and what it needs to obtain proper credentials to create an Akamai NetStorage Input/Output in our service.
The biggest advantage is the recilience of HTTP requests and the amount of parallel connections you can leverage compared to FTP transfers, where it is capped to 25 connections for one akamai upload account. The NetStorage HTTP CMS API
however doesn't has such limits and is therefore well suited to handle many parallel chunked transfers in a fast and reliable manner.
So lets look into it how you can configure an Akamai NetStorage to be used for your encodings in our service.
IMPORTANT: This tutorial assumes that you already have access to an Akamai NetStorage and Setup and a dedicated Upload Account for it. If you are missing any of it yet, please read through this tutorial first on how to create an Akamai NetStorage and Upload Account before you proceed with this tutorial.
Create an Bitmovin Akamai NetStorage Output
To create a Bitmovin "Akamai NetStorage" Output configuration, that can be used by our encoding service, you need to know the HTTP API Key
and Username
of your upload account, as well as its Host
URL.
Use the Dashboard UI
- Select the
Encoding
menu on the left and go toOutputs
. - Click on
Create
in the upper right corner of the Outputs overview - Select
Akamai
as Output type and - Enter all required fields (please see the image below)
- Click on
Create
Use an Bitmovin API SDK
Each of our Open API SDK's implements the Bitmovin API, and make it easy to start its integration in your project or use-case. Use them to create reusable output resources to be used for your encodings:
Bitmovin API SDK for Java - Output example
AkamaiNetStorageOutput output = new AkamaiNetStorageOutput();
output.setHost(AKAMAI_NETSTORAGE_HTTP_API_HOST); // e.g. xxxxx-nsu.akamaihd.net
output.setUsername(AKAMAI_NETSTORAGE_USERNAME);
output.setPassword(AKAMAI_NETSTORAGE_PASSWORD);
output = bitmovinApi.output.akamaiNetStorage.create(output);
See all available examples for each of our Bitmovin API SDK's in our GH Example Repository.
Updated about 9 hours ago