• Print
  • Share
  • Dark

Linux AWS Elastic Beanstalk (Tomcat)

  • Updated on 12 Aug 2018
  • 1 minute to read
  • Contributors

Install for AWS Elastic Beanstalk (Tomcat)

Instructions on how to install the Retrace Linux Agent and Java APM on AWS Elastic Beanstalk.

Installing Stackify Linux Agent

  1. Create a new file named stackify.config in your application’s .ebextensions folder. Learn More about .ebextensions.
  2. Add the following to your stackify.config file: Replace [INSERT ACTIVATION KEY] with your activation key value. Optionally you can include the device name by replacing the [aliasname] with the desired device alias. You can find your activation key under Settings: Account.
      /home/ec2-user: https://s1.stackify.com/Account/AgentDownload/Linux
        command: sudo ./agent-install.sh --key [INSERT ACTIVATION KEY] --environment "Production" --devicealias [aliasname]
        cwd: /home/ec2-user/stackify-agent-install-32bit
  1. Deploy your app to Elastic Beanstalk

Installing Stackify Java APM

  1. Go to Elastic Beanstalk Environment Configuration and click on Software Configuration
  2. Add the following to JVM command line options:
  1. Restart App Server(s).