EC2 Gateways

The strongDM gateway works with any Linux distribution and any server with two CPUs and four gigabytes of memory.

  1. Launch an EC2 instance: we recommend a t3.medium with Amazon Linux 2.

    Modify the security group to allow your strongDM clients to reach this server. By default this is port 5000 from all sources. This can also be a custom port from a private subnet depending on your network configuration.
  2. Navigate to the strongDM Admin UI.

  3. Select the Gateways tab and click add gateway.

    Add Gateway
    Add Gateway
  4. Copy the hostname or IP address from the EC2 instance and paste it into the advertised host.

  5. Enter the port that you left open for the gateway to interact with strongDM clients (by default, 5000).

  6. Click create. This generates a token which is only shown to you one time that you'll need to use later in the installation process. Carefully copy the token and save it somewhere for later use.

  7. Log in to the EC2 instance you created to host your gateway.

  8. Download the strongDM binary:

    $ curl -J -O -L
  9. Unzip it (if this is a new server, you may need to install a package to unzip archives, such as with sudo apt-get install unzip on Ubuntu distributions):

    $ unzip
  10. Install the gateway:

    $ sudo ./sdm install --relay

    You will be prompted for the token you created above; paste it in and hit enter. Note that the token won't show in the terminal for security purposes, similar to the masking of a password.

    The installer must be run by a user that exists in the /etc/passwd file. Any users remotely authenticated, such as with LDAP or an SSO service, may fail to complete the installation.

  11. Switch back to the strongDM Admin UI. In the Gateways tab, the gateway you created should appear to be online, and have a heartbeat. If it doesn't appear online, perform a hard refresh of your browser. Within a couple of minutes, if it is still not online, verify that the strongDM daemon is running by running ps aux|grep sdm on the server and looking for a line that says sdm relay.

If you have problems, contact strongDM support.

Installation — Previous
Install Your Gateway
Next — Installation
ECS Fargate Gateways