Skip to main content

Quick start

This quickstart is designed to get you started with minimal configuration so you can begin testing your material right away.

For this, we will use a Terraform template to deploy the JIT infrastructure on AWS. The template is not part of the product but you can use it as base or inspiration for building your own infrastructure.

In this quick start we will configure JIT to run on AWS in "single instance" mode.

Prerequisites

  • To use this you need access to a jit-orchestrator-single-instance AMI. Your sales representative will provide this access.
  • To verify the installation https://sdk.accurate.video can be used. Your sales representative will provide this access.
  • Make sure Terraform is installed
  • Login to your AWS account in a shell

Download the template

Clone or download the JIT Deployment Examples repository and cd to the terraform/aws-single-instance directory

This repository contains README, and template files, required to get up and running with JIT.

git clone https://gitlab.com/accurate-player/jit-deployment-examples.git
cd jit-deployment-examples/terraform/aws-single-instance

Apply the Terraform

Find the latest JIT version in the release notes: https://docs.accurate.video/docs

terraform init
terraform apply -var "target_version=<insert version here>"

The JIT service is, after the apply, available on the link provided by the Terraform output jit_url

Example Output
...

Outputs:

jit_url = "http://203.0.113.10:8080"
key_pair_name = "jit-key-single-instance-Dev"
orchestrator_instance_id = "i-0123456789abcdef0"
orchestrator_public_ip = "203.0.113.10"
ssh_private_key_path = "/home/user/git/artifacts/jit-key-single-instance-Dev.pem"
ssh_to_jit = "ssh -o 'StrictHostKeyChecking no' -o 'IdentitiesOnly=yes' -i /home/user/git/artifacts/jit-key-single-instance-Dev.pem ubuntu@203.0.113.10"

Configuration

For possible configuration parameters see variables

Verify JIT installation

  • Navigate to https://sdk.accurate.video/accurate-player-demo/test-your-content
  • Important since SSL isn't configured yet for JIT you need to allow mixed content for the site
  • If using Chrome
    • Click the Lock icon (or "Not Secure" warning) on the far left of the address bar
    • Click Site Settings
    • Scroll down to the "Insecure content" permission
    • Change the dropdown from Block (default) to Allow
    • Close the settings tab and Refresh the page
  • Select "Stream type" jit
  • In the "JIT URL" field enter the jit_url provided by the Terraform apply
  • Click "LOAD VIDEO"
  • If the installation was successful a demo video should now start playing

Shutdown and cleanup

Execute the following command to delete the session service's EC2 instance and all associated AWS resources:

terraform destroy -var "target_version=<insert version here>"

Next steps

Now you have deployed the JIT backend in "single instance" mode. Do you want to

To build a deeper understanding of how the JIT works we recommend that you read the Architectural Overview.