Prerequisites
- AWS Account: You need to have an AWS account to use AWS services, including CloudFormation.
- AWS EC2 Key Pair: Before creating the CloudFormation stack, you should have an EC2 Key Pair set up in your AWS account. If you don’t have one, you can follow the AWS documentation to create a key pair.
- Blink User: You must have either the Owner role,Contributor role, or a custom role that includes both the
runners:viewandrunners:editpermissions. To learn more about role-based access and permissions, see the User Roles documentation.
Deployment Guide
1
Add a New Runner
In the left-hand side navigation bar select Runners, then click the New Runner button in the top-right corner. A dialog opens.
2
Fill in the runner group details
The dialog opens on Add New Runner Group.
- Name: Enter a name for the Runner group. It must be unique in the workspace.
- Tags: Add or create tags (optional).
- Runner type: Cloud Formation
- Set as default runner: Check this box to set this Runner group as the default. When enabled, any workflows that do not explicitly specify a Runner group will automatically be assigned to this one.

3
(Optional) Pre-install Python packages
Expand Advanced to add packages. Packages are saved with the group when you create it in the next step.
By default, a workflow that needs a Python package installs it with the Pip Install action, which downloads and installs the package on every execution. Instead, you can define the packages once on the runner group. Every runner in the group installs them in advance, so Run Python steps can import them immediately.You can set the packages when you create a runner group, as described in this step, or add them later to an existing runner group: on the Runners page, click the menu on the runner, select Edit, and continue from the first item below.The runners download the packages from your environment, so they need network access to the package index (by default, PyPI). To remove all packages, clear the list and save. The deployment details shown in the next steps already include the package list, so new runners start with it from their first run.When you finish configuring the runner group, click Save (or Create for a new runner group).Once the runners are ready, import the package in a Run Python step, with no install step:

- Expand the Advanced section of the dialog and find Packages.
- Python version: Select the Python version the packages are installed into. To use them in a workflow, set the same Version in the Run Python action.
- Packages: Enter one package per line. Any package specifier that
pipaccepts is supported, for example:
- Packages are configured per runner group, and apply only to self-hosted runners. Blink Cloud runners are not affected by the package list.
- Workflows that use the Pip Install action keep working. You can still use it to add a package on top of the pre-installed ones.
4
Create the runner group
Click Continue. The runner group is created at this point, and the dialog moves to Configure group settings with a confirmation that the group was created.To go back to the group details, click Back:
- Name, Tags, Set as default runner and the packages are saved with the group and can no longer be changed in this dialog. To change them later, click the on the runner group in the Runners page and select Edit.
- Runner type stays editable. It only selects which install instructions are shown. Click Continue again to see the instructions for the new type; no other group is created.
If a runner group with the same name already exists, an error appears above the dialog buttons and the group is not created. Change the name and click the button again.
5
Open the CloudFormation stack
In Configure group settings, copy the RunnerApiKey shown in the instructions, then click the CloudFormation stack link to open AWS in a new tab. Click Done to close the dialog once you have the key.
6
Sign into your AWS Account
Please sign into your AWS Account if you are not already signed in. You will then be redirected to a new page where you must fill out the Quick create stack form.
7
Enter the values in the form as follows
8
Create Stack
Once you have entered all the correct values click ‘Create stack’. AWS will create a stack form with all the specific values you filled out in the form.
9
Navigate to the Runners page in the Blink Platform
Click ‘Close’. You can then head over to the Runners page in the Blink Platform, where you will see that your runner is now connected and how many instances it has.

10
Connecting to the Runner Host created with CloudFormation
Once the stack is fully created from the above template, navigate to the
Outputs tab. There you can find the Ec2InstanceUser and Ec2InstancePublicDnsName outputs, among others. Using the values of these 2 outputs and the key file which corresponds to the EC2 Key Pair you selected when creating the stack (The file should have been downloaded when the Key Pair was created), you should be able to log in to the Runner host by running the following command (given that the IP of the host from which you’re running the command is within the range defined by the CIDR block you specified when creating the stack):Managing Runner Packages
The package list is a setting of the runner group, shared by all of its runners. If you add, change or remove packages, or change the Python version, runners are updated the same way they are for a new Runner version, so workflows keep running throughout:- An Update button is shown for runners that run an older package list than their group. Click it, or let auto-update apply it, if enabled.
- A new runner is started and installs the packages. It receives no work until the installation is complete.
- When the new runner is ready, the old runner stops. Until then, the old runner keeps running workflows with the previous packages.
- The new runner is shown as Degraded, together with the reason, and receives no work.
- The old runner is not affected and keeps running workflows with the previous packages.
- Nothing is partially installed: if one package in the list cannot be installed, none of the packages in that list are.
The Packages section is not shown
The Packages section is not shown
The feature is not enabled for your workspace. Contact your Blink representative.
The runner is Degraded after saving a package list
The runner is Degraded after saving a package list
Open the runner to read the failure reason. Common causes are a misspelled package name, a version that does not exist, or a runner that cannot reach the package index. Fix the list, save, and click Update. The previous runner keeps serving workflows in the meantime.
A Run Python step cannot import the package
A Run Python step cannot import the package
Check that the Version in the Run Python action matches the Python version selected in the runner group, and that the workflow runs on that runner group.
Related Articles
Deploying a Runner
Learn how to deploy a Blink Runner to execute workflows securely within your environment.
Deploying a Runner with Docker
Guide to installing, configuring and deploying a Runner using Docker
Deploying a Runner with Kubernetes
Guide to installing, configuring and deploying a Runner using Kubernetes
Configuring a Runner Group
Deploy multiple on-prem Runners for high availability, parallel execution, or workload isolation.