On this page:


Related pages:

Your Rating:
Results:
PatheticBadOKGoodOutstanding!
0 rates
You can customize flow maps to show information based on performance criteria or to have specific tiers or databases and remote services visible. 

You can customize a built-in flow map, but in most cases, you will likely want to customize a flow map you have created. To customize a flow map, choose Edit Current Flow from the flow map menu. You can make the flow map shared or private. When shared, your custom flow map appears in the flow map menu for all users. 

Add ELBs to the Flow Map

This document contains links to AWS documentation. AppDynamics makes no representation as to the accuracy of Amazon documentation because Amazon controls its own documentation.

AppDynamics users can now view Amazon-hosted entities and data in several AppDynamics products by connecting their Amazon account to AppDynamics. This topic explains how to connect and view Amazon CloudWatch Elastic Load Balancing (ELB) data on a Network Visibility flow map, and describes what metric data is reported. AppDynamics uses the Amazon CloudWatch API to obtain metrics in near real-time from your Amazon Web Services (AWS) resources and applications. This combination of AppDynamics and AWS cloud-native monitoring helps identify and diagnose a variety of issues from a single Controller.

Requirements

  • AppDynamics SaaS Controller, version 4.5.13 or later.
    • Role Delegation in AWS is available from version 4.5.16 or later.
  • A Network Visibility license. 
  • An AWS Classic Load Balancer with at least one EC2 instance showing a status of InService. See Getting Started with Elastic Load Balancing in the Amazon documentation. 
  • An AWS Identity and Access Management (IAM) role with permission to create a user and assign a role to that user.

Create an Amazon IAM User and Service Role

To integrate AppDynamics with Amazon CloudWatch, create an AWS Identity and Access Management (IAM) user within your AWS account. Once you create the IAM user, attach read-only policies to limit the permissions that this policy grants to the user or role. See Creating IAM Users (Console).  

  1. Navigate and sign in to the AWS Management Console.
  2. Open the IAM console.
  3. In the Identity and Access Management (IAM) left navigation pane, select Users.
  4. Click Add user. If you are unable to add a user, see Access Management in the Amazon documentation.
  5. Enter the User name:  appD_monitoring_user or a username of your choice.
  6. Under Select AWS access type, check Programmatic access.
  7. Click Next: Permissions. 
  8. Under Grant permissions, select Attach existing policies directly

  9. Choose an appropriate policy for the appD_monitoring_user monitoring account. We recommend ReadOnlyAccess policies. You can also use custom policies specific to the active resource that you want to ingest Amazon CloudWatch metrics. See Access Management and Example IAM Identity-Based Policies in the Amazon documentationIn our example we chose these policies: 
    • AmazonEC2ReadOnlyAccess
    • CloudWatchReadOnlyAccess
    • ElasticLoadBalancingReadOnly
      Set permissions boundary (optional). 
  10. Click Next: Tags (optional).
  11. Click Next: Review.
     
  12. Click Create user.
     
  13. Note the Access Key ID and the Secret Access Key for the user, or click Download .csv. You’ll need the keys to add Amazon CloudWatch to your AppDynamics account.

If you navigate away from this window without capturing these keys, you won't be able to access them again. You will have to create a new appD_monitoring_user monitoring account.

Connect AppDynamics to Amazon CloudWatch

To connect your Amazon account to AppDynamics:

  1. Go to https://accounts.appdynamics.com/subscriptions.
  2. Sign in to your account. 
  3. Select the Controller that you want to connect to Amazon CloudWatch.
  4. Navigate to Home > Cloud Platform tab.
  5. Under Connect a Cloud Platform, select Amazon CloudWatch.
  6. Enter your Amazon Credentials.
    1. Enter a Connection Name.
    2. Enter the appD_monitoring_user Access Key ID.
    3. Enter the appD_monitoring_user Secret Access Key.
  7. Click Connect. This initiates the AppDynamics data connection with Amazon CloudWatch. 

The Home > Cloud Platform > Integration Status tab displays the connection status of your Amazon CloudWatch integration. After five minutes, refresh your browser to verify the connection. Confirm that the Integration Status of your AWS account shows success before navigating to the Network Dashboard.

View and Monitor Elastic Load Balancing Data

To view and analyze Amazon CloudWatch metrics in the Controller UI:

  1. Go to https://accounts.appdynamics.com/subscriptions.
  2. Sign in to your account. 
  3. Select the Controller that you want to connect to Amazon CloudWatch.
  4. Go to Applications and select the desired application.
  5. Click Network Dashboard. A flow map appears.

  6. Click on an Amazon Elastic Load Balancer (ELB)  icon. A dialog appears displaying Connections and Amazon CloudWatch tabs.
  7. Click the Amazon CloudWatch tab. The following metrics appear:
    • Backend Connection Errors: Count of backend connection errors per minute.
    • Latency: Average request latency per minute.
    • Requests: Average requests per minute. 
  8. Click See More Detail.
  9. Amazon CloudWatch ELB metrics appear in a time-series chart on the Application Dashboard.
  10. To modify the time interval, in the top right corner of the page, click Last 1 hour drop-down list, and choose your desired time range.

Edit an Elastic Load Balancing Connection

As an account administrator, to edit an existing connection:

  1. Go to https://accounts.appdynamics.com/subscriptions.
  2. Sign in to your account. 
  3. Select the Controller that you want to connect to Amazon CloudWatch.
  4. Navigate to the Home > Cloud Platform tab. A list of connections is displayed.
  5. Select the connection name that you want to edit.
  6. Click the Edit (pencil) icon.
  7. Click Connect.

It can take several minutes for your edits to be synced. Refresh your browser after five minutes to verify the connection. Confirm that the Integration Status of your Amazon account shows success before navigating to the Network Dashboard.

Delete an Elastic Load Balancing Connection

As an account administrator, to delete an existing connection:

  1. Go to https://accounts.appdynamics.com/subscriptions.
  2. Sign in to your account. 
  3. Select the Controller that you want to connect to Amazon CloudWatch.
  4. Navigate to the Home > Cloud Platform tab. A list of connections is displayed.
  5. Select the connection name that you want to delete.
  6. Click the Delete icon. A dialog asks you to confirm that you understand the consequences of deleting the connection.


  7. Click YesIf the connection has any metrics, deleting the connection also deletes these metrics.

Troubleshoot AWS Integration Issues

Connection Status is Pending

Navigate to the Home > Cloud Platform list of connections. If a connection in the Amazon CloudWatch Integration Status column is stuck showing a "connecting" state, check the following:

  • Confirm that you are using classic ELBs in your account.
  • Confirm there is at least one EC2 instance with the status of InService connected to at least one classic ELB in that account. 

If a connection in the Amazon CloudWatch Integration Status column is continuing to display "connecting":

  • Manually refresh your browser to verify the connection.
  • Wait an additional 5 minutes for the integration to connect.

Amazon Web Services, the AWS logo, AWS, and any other AWS Marks used in these materials are trademarks of Amazon.com, Inc. or its affiliates in the United States and/or other countries.

  • No labels