Prerequisites:
- Amazon Web Services (AWS) account.
- Atatus license key. If you do not have a license key, create a new account
Installation Steps:
Instructions on how to install the Atatus Java APM for AWS Elastic Beanstalk apps.
Option 1:
Create a folder called
.ebextensionsinside the Beanstalk app followed by creating a new file inside it calledatatus.config.Add following contents to download the java agent in
.ebextensions/atatus.config:copycontainer_commands: 01_download_atatus_jar: command: "sudo wget -P /usr/local/atatus/ https://atatus-artifacts.s3.amazonaws.com/atatus-java/downloads/latest/atatus-java-agent.jar"Create/Update
Procfilefile with agent optionscopyweb: java -javaagent:/usr/local/atatus/atatus-java-agent.jar -Datatus.license_key=your_license_key -Datatus.app_name=your_java_app_name -jar my-server.jarAdd and commit the
.ebextensionsfolder andProcfilefile in your Beanstalk application.Then deploy your app to AWS Elastic Beanstalk.
copyeb deploy
Option 2:
Download the latest Java agent
copysudo wget https://atatus-artifacts.s3.amazonaws.com/atatus-java/downloads/latest/atatus-java-agent.jarCreate/Update
Procfilefile with agent optionscopyweb: java -javaagent:/var/app/current/atatus-java-agent.jar -Datatus.license_key=your_license_key -Datatus.app_name=your_java_app_name -jar /var/app/current/my-server.jarBundle server Jar, agent Jar and Procfile into single zip file
copyzip my-app.zip atatus-java-agent.jar My-application.jar ProcfileUpload the zip file from AWS Elastic Beanstalk UI.
+1-415-800-4104