Service: HLS Copy to S3 - EyevinnOSC/community GitHub Wiki
Getting Started
With the open web service HLS Copy to S3 you can copy a complete HLS package (playlists and media chunks) to an S3 bucket without having to download all files first and then upload them to the S3 bucket. This tutorial helps you get started with this service.
Prerequisites
- If you have not already done so, sign up for an OSC account.
- A destination S3 bucket.
Step 1: Setup destination credentials
Navigate to the HS Copy to S3 service in the Eyevinn Open Source Cloud web console and select the tab titled "Service Secrets". Click on button "New Secret".
Enter the name of the secret and call it destaccesskey
and enter the key id for the destination S3 bucket. Now create a secret called destsecretkey
that will contain the secret credential for the destination S3 bucket. If the destination S3 bucket is on Eyevinn Open Source Cloud the destaccesskey
and destsecretkey
is the RootUser
and RootPassword
as specified when creating the bucket in Eyevinn OSC.
Step 2: Create HLS copy job
To create and start the job to execute the download HLS package and transfer to destination S3 bucket choose the tab "My HLS Copy to S3 jobs" and click on the button "Create Job".
- Give the job a unique name, for example guide.
- Enter the URL to the HLS multi-variant playlist, e.g. https://lab.cdn.eyevinn.technology/osc/VINN-10/339bd6f7-5db1-4faf-9b95-eb5c90f017f5/index.m3u8
- Enter the destination credentials by referring to the secrets we created in step 1.
- Enter the region of the destination S3 bucket if required. This field is optional.
- Enter the endpoint of the destination S3 bucket if required. This field is optional.
Now press the button "Create" to create and start the job.
Step 3: Verify job completed
You can verify that the files have been successfully completed by clicking on the blue document icon. That will open up the logs for the job. It should look something like this.