Setting up Deadline Usage Based Licensing with Nimble Studio
Usage Based Licensing (UBL)
This tutorial explains how to configure your Amazon Nimble Studio so that you can use it with Deadline Usage Based Licensing.
Contents
Prerequisites
-
To complete this tutorial, you must have an AWS Thinkbox Marketplace account. If you don’t have a Thinkbox Marketplace account, follow the instructions in The Thinkbox Marketplace
tutorial.
Step 1: Enable UBL support in your studio
You can enable UBL when you deploy a new studio using StudioBuilder, or when you update and edit an existing studio. To enable UBL, choose Yes, I want to enable UBL support for my studio. The CDK will output a command that is similar to the following:
aws secretsmanager put-secret-value --secret-id
arn:aws:secretsmanager:<studio_region>:<account_id>:secret:StudioBuilder-UBLLicense-<UBL_license>
—secret-binary fileb://[file-name]
Copy the command that the CDK outputs. You will use the secret ARN from it in Step 4: Upload certificates to Secrets Manager.
Step 2: Purchase UBL
In this section, you will purchase the UBL from the AWS Thinkbox Marketplace.
-
Go to the AWS Thinkbox Marketplace
. -
Sign in with the email and password that you used when you created your AWS Thinkbox Marketplace account.
-
-
Choose Usage Based Licensing.
-
Select the application that you’d like to purchase.
-
Select the number of hours that you would like to purchase.
-
Choose Add to cart.
-
Select Cart at the top-right corner of the page.
-
Read the terms and conditions. If you agree to those, select both boxes.
-
Choose Checkout.
-
Select Confirm.
-
You will receive an email with a URL and license server. Save this email. The URL and license server will be used in Step 7: Enable UBL on Deadline Monitor.
-
The URL will look something like this:
https://thinkbox.compliance.flexnetoperations.com/instances/XXXXXXXXXXXX/request
-
The license server will be a 16 digit number. Example:
XXXX-XXXX-XXXX-XXXX
-
Step 3: Download UBL certificates
Next, download the zip file for UBL certificates. You will upload this file to AWS Secrets Manager later, in Step 4.
-
Go to the Thinkbox Customer Portal
. -
Sign in to AWS Thinkbox Marketplace.
-
-
Choose Home in the left navigation pane.
-
Choose certificates.
-
In the File Name section, download the UBL certificates zip file.
Step 4: Upload certificates to Secrets Manager
Because Thinkbox Marketplace and Nimble Studio are two separate entities, you will first upload your UBL certificates to AWS Secrets Manager so that Nimble Studio can fetch them.
Upload certificates using CloudShell
CloudShell isn’t supported in the eu-west-2
or
ca-central-1
regions. If you’re in either of those regions, follow
the instructions in Upload certificates using the AWS CLI.
-
Sign in to the AWS Management Console.
-
Go to Services → CloudShell.
-
Wait for the CloudShell session to load.
-
Go to Actions → Upload file.
-
Choose the UBL certificates zip file.
-
Run the following command:
aws secretsmanager put-secret-value --secret-id <secret-arn> --secret-binary fileb://<file-name>
-
Replace the
<secret-arn>
with the ARN provided by StudioBuilder. This is thearn:aws:secretsmanager:<studio_region>:<account_id>:secret:StudioBuilder-UBLLicense-<UBL_license>arn:aws:secretsmanager:<studio_region>:<account_id>:secret:StudioBuilder-UBLLicense-<UBL_license>
value that you found in Step 1: Enable UBL support in your studio. -
Replace
<file-name>
with the name of the UBL certificates zip file that you downloaded in Step 3: Download UBL certificates.
-
Upload certificates using the AWS CLI
If you’re in the eu-west-2
or ca-central-1
regions, use the
AWS CLI to update the UBL certificates. The following steps instruct you on how to install
and configure the AWS CLI.
-
To install or upgrade the AWS CLI on your local machine, follow the instructions in Installing the AWS Command Line Interface version 2 in the AWS Command Line Interface User Guide.
-
Configure the AWS CLI by following the instructions in New configuration quick setup.
-
Verify the installation or upgrade by running
aws nimble help
. This command displays a list of available Nimble Studio commands. -
Run the following command:
aws secretsmanager put-secret-value --secret-id <secret-arn> --secret-binary fileb://<file-name>
-
Replace the
<secret-arn>
with the ARN provided by StudioBuilder. This is thearn:aws:secretsmanager:<studio_region>:<account_id>:secret:StudioBuilder-UBLLicense-<UBL_license>arn:aws:secretsmanager:<studio_region>:<account_id>:secret:StudioBuilder-UBLLicense-<UBL_license>
value that you found in Step 1: Enable UBL support in your studio. -
Next, replace
<file-name>
with the name of the UBL certificates zip file that you downloaded in Step 3: Download UBL certificates.
-
Step 5: Restart the UBL cluster
To reload the updated license file, you must restart the UBL cluster on the Elastic Container Service (ECS) console.
-
Go to Services → ECS
. -
In the left navigation pane, under ECS, choose Clusters.
-
Select the cluster named
<your-studio-name>-UseageBasedLicensingCluster
. -
Select the Tasks tab.
-
Select all running tasks.
-
Select Stop.
The UBL service will create a new task to reload the certificate.
Step 6: Restart workers in the fleet
You must manually restart your workers in the fleet to register them with Deadline
Secrets Management in RCS. Follow the Remote Controlling Workers, Pulses, and Balancers
This step is only required if you’re adding UBL support to an existing studio with fleet instance type On Demand.
Step 7: Enable UBL on Deadline Monitor
-
Log into the Nimble Studio portal by following the instructions in Step 2: Log in to Nimble Studio portal as Admin.
-
Launch a workstation by following the instructions in Step 4: Launch a virtual workstation.
-
Choose the Start menu, located in the lower-left corner of your desktop.
-
Enter Deadline to search for Deadline Monitor, and then choose it from the top of the search results.
-
If this message pops up choose OK.
-
In the Tools menu, go to Tools → Super User Mode.
-
Next go to Tools → Configure Repository Options.
-
In the left navigation pane, choose Usage Based Licensing.
-
Enter your license server URL in the URL field. Enter your activation code in the Activation Code field. This is the information that was emailed to you in Step 2: Purchase UBL.
-
Select OK.
-
Deadline will ask you for your Deadline Secrets Management admin credentials.
-
You can obtain your admin credentials by following the instructions in the Accessing Administrator Credentials tutorial in the Render Farm Deployment Kit on AWS Developer Guide.
-
Step 8: Set limits
Studio owners can specify how many licenses they want to provide permission for by
setting license limits. For more information on Deadline limits, see the Deadline documentation
-
In the monitor choose the Panels icon.
-
Choose Limits.
-
Select the + icon to create a new limit.
-
Choose New License Limit.
-
Set License Name to the application that you want to render with. Example:
Arnold
. -
Check the box next to Use Usage Based Licensing
-
Set UBL Application to the application you entered in step 5.
-
Select Unlimited UBL.
When you Submit a render, make sure that you specify the limit for the application that you’re using.