Install BugSnag On-premise on a high availability cluster.
To get started with your BugSnag On-premise installation, you’ll need the following prepared in advance:
1.23
and at most version 1.30
kubectl
command line toolIf you are installing BugSnag On-premise on AWS you can follow our guide to provision AWS resources with CloudFormation which will provide an EKS kubernetes cluster, ECR docker registry, config server with management tooling installed and load balancers to access the BugSnag dashboard.
BugSnag On-premise uses Replicated KOTS to perform and manage installations.
The Replicated KOTS CLI is a kubectl plugin that runs locally on the machine you will use to manage the cluster.
Run the install script to download and install the plugin:
curl -sSL https://kots.io/install/1.115.1 | REPL_USE_SUDO=y bash
The Replicated KOTS admin console provides a user interface for installing and managing BugSnag On-premise in your kubernetes cluster. Install the admin console by running the following command:
kubectl kots install bugsnag-clustered-kots \
--name Bugsnag \
--namespace bugsnag
See the kots install command reference for all the options available.
You can change the namespace you wish to install Replicated KOTS to, however it must match the namespace you later provide in the BugSnag configuration.
You will be asked to create a password for accessing the admin console.
After installation, the Replicated KOTS admin console is available at http://localhost:8800
.
If you are disconnected you can re-establish the port forward:
kubectl kots admin-console --namespace bugsnag
In the Replicated KOTS admin console upload the BugSnag On-premise license file you received from BugSnag.
You will be presented with the config page from which you can configure your BugSnag installation.
Finally, you will be shown the preflight checks page, where the system will be analyzed to determine whether the environment meets the minimum requirements. These checks are done to ensure that your installation is successful.
It can take several minutes for BugSnag On-premise to deploy and fully start up. Once complete the admin console will indicate that it is ‘Ready’.
Visit your BugSnag dashboard in a web browser to set up your account and create projects for each of the applications you wish to monitor.
Once you have created your account and first project you will need to configure your applications to send errors and sessions information to your BugSnag instance instead of notify.bugsnag.com and sessions.bugsnag.com respectively. Follow the instructions on configuring platform notifiers for how to do this.
Similarly, you will also need to configure your applications to send performance trace/span data to your BugSnag instance instead of otlp.bugsnag.com/v1/traces. Follow our performance integration guides to get started.