[PHP] configure AWS ECS on the EC2 instance


You can help me with how I configure AWS ECS on the EC2 instance?

I need to configure with PHP APM. I read some docs of New Relic, but in my case, I don’t see a practical example to configure on AWS ECS.

On examples of New Relic Docs, the example is a little confusing to apply on the ec2 instance.

If you can help me I appreciate it.


Hi @kelvin.ferraz ,

Thanks for using our Online Technical Community! I’d be happy to help out with the inquiry you have regarding the PHP agent. To answer your question, essentially the PHP agent is two parts; the agent, which is a PHP module, and the newrelic-daemon process, a separate executable that sends the data from the agent to our collector servers. Since this is the case, we wouldn’t necessarily worry about the EC2 instance itself and would instead be installed on the operating system inside the EC2 instance. You would only need to use the standard install documentation to assist in this installation, which you can view at the following link:

PHP agent installation overview | New Relic Documentation

Hopefully this helps! Let us know if you have any further questions or concerns and we’ll be happy to help out!