Step 4: Install the Collector

Installing the collector on an Amazon EC2 Instance

For this step, you first need to choose whether you want to install the collector on an existing EC2 instance, or run a new one.

The pganalyze collector is a daemon process that continuously collects database statistics, and submits them to the pganalyze dashboard in recurring intervals.

You can either run it on a small instance (a t3.small suffices), or add it to an existing EC2 instance in your environment.

Starting a new EC2 instance

Start a new t3.small instance, Amazon Linux 2 based, that has the IAM role applied:

Then follow the step to install the collector on Amazon Linux 2 based instances.

Installing the collector on the instance

We recommend running our install script to automatically detect your platform and install the correct package:

curl https://packages.pganalyze.com/collector-install.sh | bash
Repository Signing Key Fingerprint: C09B 2CAB 0DB3 78F6 E7FD 93F1 0E6D EC71 A2B5 F2F9

Alternately, you can follow the manual install instructions.

After successful installation the pganalyze collector will now be running in the background on your server.

Proceed to Step 5: Configure the Collector

Couldn't find what you were looking for or want to talk about something specific?
Start a conversation with us →