---
title: "Deploying Servers"
description: "Choose a deployment method and install the Userify shim on servers in a server group."
url: "https://userify.published.dev/docs/deploying-servers.md"
canonical_url: "https://userify.published.dev/docs/deploying-servers"
section: "Docs"
updated: "2026-12-01"
---

> Breadcrumbs: Docs > Deploying Servers
> Sitemap: https://userify.published.dev/docs/sitemap.md
> LLMS index: https://userify.published.dev/docs/llms.txt

# Deploying Servers

Choose “Instant Deployment” in Userify to get an installation command. Run it
on the server you want to manage. Use an account that can install software.

## Choose a deployment method

To automate installation, choose a method that fits your environment:

- 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)

Servers in the same server group use the group's API ID and API key. Treat
these credentials as sensitive. Do not include real values in public examples,
screenshots, or support reports.

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

For servers that you can reach over SSH, you can run an installation command
from a Linux host that has access to them. The example below is an advanced
shell workflow. Review it and replace the placeholders before use.

## Install over SSH

The following script connects to a list of servers from a Linux host. This
example does not work on RHEL 8 or earlier because of a `sudo` configuration
issue noted in the current installer guidance.

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

```bash
for server in $(cat servers.txt)
do
cat << EOF | ssh $server
#! /bin/bash
curl -1 -sS "https://static.userify.com/installer.sh" | \
  api_id="API_ID" \
  api_key="API_KEY" \
  static_host="static.userify.com" \
  shim_host="configure.userify.com" \
  self_signed=0 \
  sudo -s -E
EOF
done
```

This connects to each server with your existing SSH access and runs the
installer there. Test the command on a disposable server before you use it
with a group of servers.

## Use UserData

![Advanced UserData at EC2](https://userify.published.dev/publishdev/assets/userify/deploying-servers-advanced-userdata.png "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.

## Next steps

- [Connect your first server](https://userify.published.dev/docs/first-server) and verify an SSH connection.
- [Learn how the shim works](https://userify.published.dev/docs/shim-internals) before choosing an automation method.

## Continue reading
- Previous: [Creating Server Groups](https://userify.published.dev/docs/creating-server-groups.md)
- Next: [Getting Help](https://userify.published.dev/docs/support-options.md)

## Section links
- [Docs home](https://userify.published.dev/docs)
- [LLMS index](https://userify.published.dev/docs/llms.txt)
- [Sitemap](https://userify.published.dev/docs/sitemap.md)