Find answers, ask questions, and connect with our
community around the world.

Home Forums AWS AWS Certified Developer Associate ASG – AMI – user data – X-Ray daemon Reply To: ASG – AMI – user data – X-Ray daemon

  • Jon-Bonso

    May 7, 2020 at 1:57 pm

    Hi Robert,

    You have a valid point about integrating the X-Ray into the AMI. However, there are also some situations where you want to loosely couple your AMI and your custom configuration (via user data). Nevertheless, I agree that using an AMI with the X-ray configuration is valid, given that it doesn’t use the “xray-daemon.config” which is only meant for Elastic Beanstalk.

    For Auto Scaling, you can specify user data to configure an EC2 instance or run a configuration script during launch. If you launch more than one instance at a time, the user data is available to all the instances in that reservation.

    Let us know if you need further assistance. The Tutorials Dojo team is dedicated to help you pass your AWS exam on your first try!


    Jon Bonso @ Tutorials Dojo