How to install the Linux agent on the EC2 instance?

How to install the Linux agent on the EC2 instance?

When you launch an instance in Amazon EC2, you have the option of passing user data to the instance. You can pass two types of user data to Amazon EC2: Shell scripts and cloud-init directives.

Download our Linux agent shell script "InstallSite24x7LinuxAgent.sh" and append the Device Key and pass it as user data to run the script when the instance starts.