Step 3: Install APM Serveredit

Install, set up, and run APM Server.

Next, use the config file if you need to change the default configuration that APM Server uses to connect to Elasticsearch, or if you need to specify credentials:

If you do change the listen address from localhost to something that is accessible from outside of the machine, we recommend setting up firewall rules to ensure that only your own systems can access the API. Alternatively, you can use a secret token and TLS.

If you have APM Server running on the same host as your service, you can configure it to listen on a Unix domain socket.

For detailed instructions on how to install and secure APM Server in your server environment, including details on how to run APM Server in a highly available environment, please see the full APM Server documentation.