Usage Instructions for the AppDynamics Pro AMIs There are 2 Amazon Machine Images (AMIs) for AppDynamics Pro. Users who wish to buy AppDynamics Pro should launch an instance using one of AMIs listed below:
AMI ID: ami-06ed316f
AMI Name: AD-Pro-Linux-32bit-AMI
Description: 32 bit Linux AMI for AppDynamics Pro
AMI ID: ami-faea3693
AMI Name: AD-Pro-Linux-64bit-AMI
Description: 64 bit Linux AMI for AppDynamics Pro
Launching instances for the AppDynamics Pro AMIs
While selecting the parameters for launch, users should choose the Instance Type as c1.medium and create a new key pair unless one already exists for that user.
Once the instance is running, the user may ssh into the new instance using:
1. The DNS name for that instance
2. the .pem (key pair) file from above
3. the user ec2-user as shown below.
prantadas# ssh -i ~/pranta-keypair2.pem email@example.com
The authenticity of host 'ec2-174-129-132-163.compute-1.amazonaws.com (22.214.171.124)' can't be established.
RSA key fingerprint is 2a:43:4c:d6:4f:c5:d1:66:d3:01:33:4c:a4:bd:66:c2.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'ec2-174-129-132-163.compute-1.amazonaws.com,126.96.36.199' (RSA) to the list of known hosts.
Last login: Tue Mar 13 00:53:58 2012 from c-98-248-137-177.hsd1.ca.comcast.net
__| __|_ )
_| ( / Amazon Linux AMI
See /usr/share/doc/system-release/ for latest release notes.
There are 23 security update(s) out of 37 total update(s) available
[ec2-user@ip-10-245-153-127 ~]$ pwd
In case the 32-bit AMI is used, the following files will be found in the home directory:
[ec2-user@ip-10-245-153-127 ~]$ ls
appdynamics-appagent appdynamics-machineagent controller_32bit_linux.sh
In case the 64-bit AMI is used, the following files will be found in the home directory:
[ec2-user@ip-10-245-153-127 ~]$ ls
appdynamics-appagent appdynamics-machineagent controller_64bit_linux.sh
The newly launched AppDynamics Pro instance contains:
The AppServerAgent directory appdynamics-appagent
The MachineAgent directory appdynamics-machineagent
The Controller installer controller_[32|64]bit_linux.sh
To install the controller, execute the installer script in the home directory:
[ec2-user@ip-10-245-153-127 ~]$ chmod a+x controller_64bit_linux.sh
This will install AppDynamics Controller on your computer.
OK [o, Enter], Cancel [c]
. . .
For detailed instructions on how to install the Controller and the Agents, please browse: http://docs.appdynamics.com
There are specifically 2 usage patterns and these are described below:
Usage-Pattern-1: In this pattern, the user deploys the application to be monitored onto the AWS instance above that contains the AppDynamics components and instruments that application using the AppServerAgent and MachineAgent available there.
Usage-Pattern-2: In this pattern, the user continues to run the application wherever it is currently running, but zips up and downloads the AppDynamics AppServerAgent and MachineAgent from the AWS instance and copies it to the machine where the application is running. The user then attaches the AppServerAgent and MachineAgent to the application on a separate machine and configures those agents to point to the Controller running on the AWS instance above. To achieve this zipping up and copying of the agents, the following steps need to be followed:
Step 1: Zip up the AppServerAgent and Machine into zip files
[ec2-user@ip-10-245-153-127 ~]$ zip -r appdynamics-appagent.zip appdynamics-appagent/