Deploying Servers


Email our fast, friendly support if you have a question not covered here: [email protected].

Deploying Servers

The fastest way to deploy Userify is to choose “Instant Deployment”, which provides a simple bash one-line script to paste into your console – and it really is instant, too.

If you want to automate installation, just choose from one of the following deployment methods:

  • Ansible
  • Chef
  • Puppet
  • Cloudformation
  • UserData (use bash recipe)
  • Salt (use bash recipe with -b added to the sudo command)
  • Terraform (use bash recipe with -b added to the sudo command)
  • Shell Scripting (bash)
  • Bake directly into your “golden” image (Launch Configuration)

All servers in the same server group will share API ID’s and API Keys, so you can re-use the same installation across all instance in an Auto-Scaling Group.

We recommend that you modify these scripts, especially the Ansible, Chef, and Puppet recipes, to fit your requirements.

The fastest way to get it installed in an existing server is just to paste it.

To install the shim to a particular set of servers, try a simple script like this. (This will not work on RHEL 8 or earlier due to a bug in the RHEL sudo configuration.)

First create a file called servers.txt with a separate IP address on each line, and then execute this from a Linux server.

for server in $(cat servers.txt)
cat << EOF | ssh $server
#! /bin/bash
curl -1 -sS "" | \
  api_id="API_ID" \
  api_key="API_KEY" \
  static_host="" \
  shim_host="" \
  self_signed=0 \
  sudo -s -E

This will log into each server using your existing access and install the Userify shim automatically.

UserData in Seconds

Advanced UserData at EC2 UserData input screen at EC2

Any platform that supports UserData can accept the bash command, including AWS EC2, Digital Ocean, etc.


So, that’s it – you’ve mastered Userify. If you haven’t already, go sign up and give it a try!

Contact [email protected] with any questions.


Fast, free support is just a click away

Start managing your users and SSH keys in seconds     Try for free