> For the complete documentation index, see [llms.txt](https://awsnotes.dendron.so/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://awsnotes.dendron.so/developer-tools/aws-x-ray/topics/x-ray-daemon.md).

# X-Ray daemon

{% hint style="info" %}
This page was generated from content adapted from the [AWS Developer Guide](https://github.com/awsdocs/aws-xray-developer-guide.git)
{% endhint %}

## On Elastic Beanstalk

* **Note**\
  The daemon uses your environment's instance profile for permissions. For instructions about adding permissions to the Elastic Beanstalk instance profile, see [Giving the daemon permission to send data to X-Ray](https://github.com/kevinslin/aws-reference-notes/blob/main/services/aws_x_ray/xray-daemon.md#xray-daemon-permissions).

## On Amazon ECS

* **Note**\
  Flags `-t` and `-b` are required to specify a binding address to listen to the loopback of a multi-container environment.
