Skip to main content

Encoding Service Regions

The Encoding Service runs in two regions: Europe and the United States. Each region is a separate installation of the Encoding Service with its own endpoint, its own certificate and its own AWS account. A job runs entirely in the region whose endpoint you send it to.

RegionEndpointAWS region
Europehttps://vip-eu-west-1.axinom.comeu-west-1 (Ireland)
United Stateshttps://vip-us-west-2.axinom.comus-west-2 (Oregon)

You use the same Encoding API in both regions. Only the endpoint and the region-specific settings described below differ.

Choosing a Region​

  • Where your content is processed. The Encoding Service downloads your source files to machines in the region you choose, encodes them there and uploads the results to your output storage. Choose the region where your content may be processed.
  • Where your storage is. Every job transfers the source files from your input storage and the results to your output storage. A region close to your storage keeps these transfers short.

What Is Specific to a Region​

Endpoint​

Send every request for a job to the endpoint of the region that runs it. A job exists only in the region where you created it, so you cancel it and look up its reporting entry at the same endpoint.

Certificate​

Each region has its own certificate, which you get from the GET /certificate endpoint of that region. A secret encrypted with the public key of one region can only be decrypted by that region.

Encrypt your secrets for the region that runs the job, as described in Credentials Protection:

  • In the Credentials Protection Tool, select the region.
  • When you encrypt programmatically, download the certificate from the endpoint of the region.

The Encoding Service cannot decrypt secrets encrypted for the other region, and the job is rejected. When you move your jobs to the other region, encrypt all secrets again: storage credentials, message publisher credentials and Key Service credentials.

AWS Account for AssumeRole​

If the Encoding Service accesses your Amazon S3 bucket by assuming an IAM role, the trust policy of the role names the AWS account of the region:

RegionAWS account
Europe201119604013
United States358917058612

Authentication​

You authenticate with a Mosaic service account in the same way in both regions. If you use an Encoding Tenant and Management Key, use the endpoint you received with your tenant.

Regions in the Mosaic Video Service​

In the Mosaic Video Service, every acquisition profile and publishing profile has an Encoding Service Region. The Video Service sends the encoding job of a video to the Encoding Service in the region of the video's profiles.

  • The acquisition profile and the publishing profile of a video must have the same region. A video whose profiles have different regions cannot be encoded.
  • Encrypt the storage credentials that you enter in a profile for the region of that profile. When you change the region of a profile that has storage credentials, enter its secret encrypted for the new region at the same time.
  • The region of a publishing profile cannot change while videos of that profile are still being encoded.

Was this page helpful?