AWS EC2

Note: Learn about the other supported AWS services with our AWS documentation.

Sensor (Data Collection)

Tracked Configuration

  • EC2 Instance Details

    • Public Hostname
    • Instance ID
    • Type
    • Availability Zone
    • Public IP
    • AMI ID
    • Reservation ID
    • Security Groups
    • Public Keys
  • EC2 Availability Zone

Required Permissions

  • ec2:DescribeInstances
  • ec2:DescribeTags

Configuration

Tags for EC2 instances are pulled every 30 seconds, this can be changed via agent configuration in <agent_install_dir>/etc/instana/configuration.yml:

com.instana.plugin.aws.ec2:
  tags-poll-rate: 30

To disable tags retrieval of EC2 instances use the following configuration:

com.instana.plugin.aws.ec2:
  enabled: false

Monitoring multiple AWS accounts

Refer to the Monitoring multiple AWS accounts documentation to set up monitoring of multiple AWS accounts with one AWS agent in the same region.

To override which profiles should be used to monitor Elastic Cloud Computing, use the following configuration:

com.instana.plugin.aws.ec2:
  profile_names:
    - 'profile2'
    - 'profile3'

Note: Defining profiles on service level will override global AWS configuration.

Instana Agent Tags

Please note that tags are only available in conjunction with the AWS Agent. More details on using tags are described here.