Production Deployment

How to best get instrumentald into production depends a lot on your setup. We provide puppet and chef modules as starting points with those tools, as well as deb and rpm packages. You can also install it manually.

Chef

An example Chef cookbook is available on GitHub.

Puppet

An example Puppet module is available on GitHub.

As a Package

These instructions rely on our packagecloud.io repo, and the commands below include piping curl to bash. Feel free to review the shell script before executing. We would. :)

sudo apt-get install curl
curl https://packagecloud.io/install/repositories/expectedbehavior/instrumental/script.deb.sh | sudo bash
sudo apt-get install instrumentald
su -c "apt-get install curl"
su -c "curl https://packagecloud.io/install/repositories/expectedbehavior/instrumental/script.deb.sh | bash"
su -c "apt-get install instrumentald"
curl https://packagecloud.io/install/repositories/expectedbehavior/instrumental/script.rpm.sh | sudo bash
sudo yum install instrumentald

Manually

First, download the desired version directly from GitHub.

Installation

sudo mkdir -p /opt/instrumentald/
sudo tar -zxvf ./instrumentald_<VERSION>_linux-x86_64.tar.gz -C /opt/instrumentald/ --strip 1
sudo cp /opt/instrumentald/etc/instrumentald.toml /etc/

Adding to System Startup

sudo cp /opt/instrumentald/lib/app/systemd/instrumentald.service  /etc/systemd/system/
sudo systemctl enable instrumentald.service
sudo systemctl start instrumentald
sudo cp /opt/instrumentald/lib/app/debian/instrumentald /etc/init.d/
sudo update-rc.d instrumentald defaults
sudo /etc/init.d/instrumentald start
sudo cp /opt/instrumentald/lib/app/rpm/instrumentald /etc/init.d/
sudo chkconfig --add instrumentald
sudo chkconfig instrumentald on
sudo service instrumentald start

Need help?

We want to help! Email us and we'll do whatever it takes to get you up and running.