Mosaic products documentation: Concepts, API Reference, Technical articles, How-to, Downloads and tools

Deploy a Customizable Service with Hosting Service

Introduction

The Hosting Service gives the administrator users the ability to deploy a customizable service to an environment. This makes it much easier for you to explore the customizable workflows and the service APIs without needing to run any downloaded code. The Hosting Service takes care of provisioning required infrastructure such as databases, DNS records and RMQ brokers required to deploy the customizable service.

Deployment of Services

Hosting Service supports the deployment of Media Service, Catalog Service and Entitlement Service. The pre-built container image from the latest release of Mosaic Media Template repository in GitHub is taken for the deployment.

Deploying a Customizable Service

The Customizable Services station in Hosting Service lists down the deployable services for an environment.

Hosting Service Configuration
Figure 1. Hosting Service Configuration
Customizable Services
Figure 2. Customizable Services

After selecting a service from the list, the user will be navigated to the deployment station with an action Deploy. Clicking on this action will initiate the deployment of the service.

Media Service Deployment Station
Figure 3. Media Service Deployment Station

After the deployment is successfully done, the deployment station for the service will display the GraphiQL URL for the service.

If there are any workflows associated with the service, these will be published to the Micro Frontend Service as a part of the deployment as well.

If any errors occur while deploying the service, the status will be shown as Deployment Error and more information can be found in Deployment Logs.

Media Service after successful deployment
Figure 4. Media Service after successful deployment

Updating a Service

After a service has been deployed, when there are new releases of the service, the user will be notified through the Update Availability field. The user can click on the Deploy action again, which will initiate the deployment of the latest version of the service. This will update the currently deployed service to the latest available version.

Media Service with update available
Figure 5. Media Service with new update available

Undeploying a Service

After a service is deployed, if required, it can be un-deployed using the Undeploy action. It will remove all provisioned infrastructure including databases. This is a destructive operation which will delete all data for the service.

Media Service after successful deployment
Figure 6. Deployment station with undeploy action

Deployment Logs

All logs related to the deployment and undeployment can be found in the Deployment Logs station.

Media Service Deployment Logs
Figure 7. Media Service Deployment Logs

Pre-Generated DRM Credentials

Axinom provides the following pre-generated DRM Credentials that can be used for configuring your evaluation environment’s Encoding Profiles. This will be required specially if you would like to try-out an end-to-end workflow for media encoding. Such as, to encode and DRM protect some content, then publish it into the Catalog Service, and playback the protected content in conjunction with the Entitlement Service.

The deployed Entitlement Service will be configured to use the same DRM Credentials given below, and it will reject issuing DRM Licenses if the DRM credentials used for protecting the content was not the same.

Field Value

Management API URL

https://key-server-management.axprod.net/api

Tenant ID

45e207ff-796a-4108-93b3-8ac4c81b8da1

Management Key (Protected)

mn5SCt1wscuraiX52WasBYa63ePIKdKNi7OBuDum4k8qR4UvWVJrTATl+TOD6KMboLKj+ULok5h42iC9BXMR0EbXhUsOrRR6G3SkuC/QT95gpF7sqoPJIKwd/QyZXRzOEc+SjbJPH+pRW3h7Q/nyIykb/RzT6zkqJJz2VFfC2teCeRyfGTPnFMEf+C06rqkZtGq0I/41j/dN9tNI9fdSYe5e/37ViDbrW6UGRTEoZLTU/bjs3+FCigBFzxkkDuDcw5G/Fm50T+aSI8wIg7epGG5oYGL5TI57ZvGMp1YmOX53hQZLu0QJRbHP27iHAyjv8LE3p3txqEz4p6nrYU1V49QpMPbdUYEwNGbD9J0k0mF9vTC2ZXV/H72s+WE9a/bOOVDVU+g/FRs54iJYZfAuw5skZ9iT5mTYeLeT1kCAYRcF8s99hQFixVIqX/hHvkbY/24Y+ih17eek9KQPs1EnomM9rTn3oGc4Wf18UAxA+bM7NF/Y83FY83U1CRHSHz8W

Key Seed ID (Protected)

SIeGJB985aceHl8P/208GRflakTbN1qOTory2/Pik98FhKj2sJtzXKZtlSWZRGxKTI+m0haOaG4LHngl6GptILC9ugi4/oSrH1dN9PCgtIPxm46thN+RvlgPVauju1JxJBqJRCD+UaWDqd00rcloCBNQO+f7el4VYilnm7zhtFulSjxa4wa+SkBgbL9c+xouZYZuFm5F54/pXSWxrtgABl8XCsVANDILIi6MmRrb9/BHJtQckqHXdna4/TOqJ9CwyQ7LNL6EhHH0GyE9enW1haY7rbQUzo2AdrDHrM9NXPbeGxI68Fjn8qHm9nc08/tQ4L1+d3e6cI5o+A33JVDyMzEL6DQU2Y+kYLTRjxzvUhm7g6tddaOsxkJt+okC33ddKHg13NSCRWhjPcUVIWkMdvpOikEwQfzUsFfJ5t75luoHz5dtUbOS6x4pY21pH+nmYGjqOPufzEFn3Srw56KIcCTMGokUGfgnC0dyIdm1XoPzcOPPr+FchEja+a1QWefJ

Note
The Management Key and Key Seed ID are provided as already protected values, and can be simply copy pasted into the DRM Settings