The simplest way to target is using the Salt minion ID. This value can be set to anything you want in the minion configuration file, and can be specified using the
-i option in the bootstrap script at the time of installation.
In this scenario, we've already installed and configured a minion on an Ubuntu machine with a minion ID of
salt-minion. Once you know the ID, you can then target that minion and do things like run commands against it. For example, we could reach out to the minion to find some statistics on how the disk usage is looking by running
salt 'salt-minion' disk.usage.