Set up Incredibuild on Nimble Studio
Incredibuild
Note
Incredibuild only supports Windows, so the following information is only for the Windows workstation AMI.
When you configure Incredibuild with your Nimble Studio, the following resources are created:
-
A t3.large Windows EC2 instance running the Incredibuild Coordinator.
-
A Route 53 record for your Incredibuild Coordinator named
incredibuild.
.studioid
.nimble.region
.aws -
An Auto Scaling group for increased Incredibuild capacity to accelerate builds further than the allowed number of Nimble Studio workstations.
-
Security groups and network ACL configurations for Incredibuild to work with Nimble Studio and Amazon VPC, so that workstations and Incredibuild can connect to each other.
-
A studio component that can attach to launch profiles so that Nimble Studio workstations can connect to the Incredibuild Coordinator automatically.

Contents
- Prerequisites
- Step 1: Deploy Incredibuild server infrastructure to your AWS account
- Step 2: Retrieve the Incredibuild private record name
- Step 3: Create a custom streaming image with the Incredibuild Agent
- Step 4: Connect Incredibuild to your launch profiles
- Step 5: Connect Incredibuild to your launch profiles
- Step 6: Manage your Incredibuild Coordinator
Prerequisites
To complete this tutorial, you need an active Nimble Studio cloud studio deployed in your AWS account. If you don't have a cloud studio already deployed, see the Deploying a new studio with StudioBuilder tutorial.
-
You also need the following tools:
-
Install git
. -
Install Python 3.x
. -
Install the AWS Cloud Development Kit (AWS CDK) .
-
(Optional) Install the Session Manager plugin.
-
Step 1: Deploy Incredibuild server infrastructure to your AWS account
In this step, you will use the GitHub aws-sample NimbleStudioBuildFarm
-
Go to the NimbleStudioBuildFarm
GitHub repository. -
Follow the instructions in the README file to clone the repository, synthesize the application, and deploy the resources into your account.
-
This needs to be deployed into the same Region as your studio.
-
After successful deployment, continue to the next step.
Step 2: Retrieve the Incredibuild private record name
In this step, you will retrieve the Incredibuild private record name created as a part of the infrastructure deployment from Step 1: Deploy Incredibuild server infrastructure to your AWS account.
Sign in to the AWS Management Console and open the AWS CloudFormation
console. -
Select the stack named
NimbleStudioBuildFarm
. -
Select the Outputs tab of the stack.
-
Find the Key named
IncredibuildPrivateRecordName
.-
Notice the value associated with that key, which is the record name for the Incredibuild server.
-
Step 3: Create a custom streaming image with the Incredibuild Agent
In this step, you'll create a custom streaming image for use with your Nimble Studio. It will have the Incredibuild clients installed for interacting with the server.
-
Follow the Update AMIs: Setting up tutorial to launch an Amazon Elastic Compute Cloud (Amazon EC2) instance with a Nimble Studio compatible base AMI for workstations.
-
After you get to Step 4: Connect with NICE DCV for Windows workstation AMIs, continue to the next step in this guide.
-
-
Download the Incredibuild
installer. The link should be in the email you received from Incredibuild when you got your license. -
Choose the latest available version for Windows.
-
Download the installer.
-
-
Install the Incredibuild agent.
-
Use the URL that you retrieved from CloudFormation in step 5a of Step 2: Retrieve the Incredibuild private record name .
-
-
Finish installation of the Incredibuild Agent, then follow the remainder of the Nimble Studio docs for creating the encrypted AMI, and updating a launch profile with the new streaming image AMI.
Step 4: Connect Incredibuild to your launch profiles
As part of the deploy, a studio component automatically configures Nimble Studio workstations to connect to the Incredibuild coordinator. The following steps will allow you to use the studio component.
Sign in to the AWS Management Console and open the Nimble Studio
console. Choose Launch profiles in the left navigation pane.
-
Select the radio button for the launch profile that you want to change.
Choose Action. Then choose Edit.
-
Select the new streaming image that you created in Step 3: Create a custom streaming image with the Incredibuild Agent.
-
Select the check box next to Incredibuild in the Launch profile components section.
-
Select Update launch profile.
Now any newly launched streaming workstation using this launch profile will be able to work with Incredibuild.
Step 5: Connect Incredibuild to your launch profiles
An Auto Scaling group (which defaults to zero instances) is created when you install Incredibuild. The Auto Scaling group allows you to scale up (or down) the number of Incredibuild agents that are able to accelerate builds in your Nimble Studio.
Sign in to the AWS Management Console and open the Amazon EC2
console. -
At the bottom left, select Auto Scaling Groups.
-
Select the Auto Scaling group with the name NimbleStudioBuildFarm-IncredibuildWorkers.
-
On the Details tab, select Edit.
-
Select Update and the number of active Incredibuild Agents will increase or decrease to match your Desired capacity.
-
Specify the number of Incredibuild Agents that you want by modifying Desired capacity.
-
You can increase the Maximum capacity if that number is lower than your Desired capacity.
-
You can reduce (or keep) the Desired capacity at 0 so that the only Incredibuild Agents are the streaming workstations.
-
-
Select Update.
Step 6: Manage your Incredibuild Coordinator
You can view the Incredibuild Coordinator settings from any streaming workstation. However, to change anything, like remove old streaming workstations, connect to the Incredibuild Coordinator.
The Incredibuild Coordinator doesn’t have a public IP address, so there are two ways that you can connect. Either use Remote Desktop Protocol (RDP) from a streaming workstation, or use a combination of AWS Session Manager and RDP from your local computer.
Get credentials to sign in to the instance via RDP
In the following steps, you will create a password so that you can connect to the Incredibuild Coordinator. The Incredibuild Coordinator isn't joined to your AWS Managed Microsoft AD domain, so AWS Managed Microsoft AD credentials won’t work.
Sign in to the AWS Management Console and open the Amazon EC2
console. -
Find the instance named Incredibuild Coordinator, and select its instance ID.
-
Select Connect at the top right of this page.
-
Make sure that you are on the Session Manager tab, and select Connect.
-
Enter
net user Administrator *
and enter a password that you will use to connect through RDP. -
You’ll have to reenter the password again to confirm.
Now you have the credentials to sign in to the instance through RDP. When you use a streaming workstation, you can connect through RDP. The URL is what you retrieved earlier from CloudFormation in Step 2: Retrieve the Incredibuild private record name.
Connect to the instance from your local machine
To connect to the instance directly from your local machine, you’ll need the AWS CLI installed, plus you will need the Session Manager plugin installed. Once done, you can follow these instructions:
Sign in to the AWS Management Console and open the Amazon EC2
console. -
Find the instance named Incredibuild Coordinator.
-
Notice its instance ID because you will need it in the next step.
-
-
Run the following command in a local command prompt:
aws ssm start-session —document-name AWS-StartPortForwardingSession —parameters "localPortNumber=55678,portNumber=3389" —target
instance-id
-
The output should look similar to:
Starting session with SessionId:
session-id
Port 55678 opened for sessionIdsession-id
Waiting for connections...
-
Keep that process running in the background. Now you can use your local RDP client
and connect to localhost:55678
. The Session Manager plugin will route all
traffic between your local port 55678 and the RDP port 3389 on the Incredibuild
Coordinator EC2 instance. In both cases, you can sign in to your Incredibuild
Coordinator instance as Administrator
using the password that you entered
earlier. After that, you can load Incredibuild Coordinator.