Introduction
An EC2 (Elastic Compute Cloud) instance is a virtual server and a web service. As a web service, an AWS subscriber can request and provision a compute server in the AWS cloud.
Setup
To set up the OpsRamp AWS integration and discover the AWS service,
go to AWS Integration Discovery Profile and select EC2 Instances
.
Metrics
OpsRamp Metric | Metric Display Name | Unit | Aggregation Type | Description |
---|---|---|---|---|
aws_ec2_CPUUtilization | CPU utilization | Percent | MAX | Percentage of allocated EC2 compute units that are currently in use on the instance. This metric identifies the processing power required to run an application upon a selected instance. |
aws_ec2_DiskReadBytes | Disk Read Bytes | Disk Reads | AVERAGE | Bytes read from all instance store volumes available to the instance. This metric is used to determine the volume of the data the application reads from the hard disk of the instance. This can be used to determine the speed of the application. |
aws_ec2_NetworkOut | Network Out | Network Out | AVERAGE | Number of bytes sent out on all network interfaces by the instance. This metric identifies the volume of outgoing network traffic to an application on a single instance. |
aws_ec2_StatusCheckFailed | Status Check Failed(Any) | Count | AVERAGE | A combination of StatusCheckFailed_Instance and StatusCheckFailed_System that reports if either of the status checks has failed. Values for this metric are either 0 (zero) or 1 (one.) A zero indicates that the status check passed. A one indicates a status check failure. |
aws_ec2_StatusCheckFailed_Instance | Status Check Failed(Instance) | Count | AVERAGE | Reports whether the instance has passed the EC2 instance status check in the last minute. Values for this metric are either 0 (zero) or 1 (one.) A zero indicates that the status check passed. A one indicates a status check failure. |
aws_ec2_DiskReadOps | Disk Read Operations | Disk Reads | AVERAGE | Completed read operations from all instance store volumes available to the instance in a specified period of time. If the instance uses Amazon EBS volumes. |
aws_ec2_DiskWriteBytes | Disk Write Bytes | Disk Writes | AVERAGE | Bytes written to all instance store volumes available to the instance. This metric is used to determine the volume of the data the application writes onto the hard disk of the instance. This can be used to determine the speed of the application. |
aws_ec2_DiskWriteOps | Disk Write Operations | Disk Writes | AVERAGE | Completed write operations to all instance store volumes available to the instance in a specified period of time. If the instance uses Amazon EBS volumes. |
aws_ec2_NetworkIn | Network In | Network In | AVERAGE | Number of bytes received on all network interfaces by the instance. This metric identifies the volume of incoming network traffic to an application on a single instance. |
aws_ec2_CPUCreditBalance | CPUCreditBalance | Count | AVERAGE | [T2 instances] Number of CPU credits available for the instance to burst beyond its base CPU utilization. Credits are stored in the credit balance after they are earned and removed from the credit balance after they expire. Credits expire 24 hours after they are earned. CPU credit metrics are available only at a 5 minute frequency. |
aws_ec2_CPUCreditUsage | CPUCreditUsage | Count | AVERAGE | [T2 instances] Number of CPU credits available for the instance to burst beyond its base CPU utilization. Credits are stored in the credit balance after they are earned and removed from the credit balance after they expire. Credits expire 24 hours after they are earned. CPU credit metrics are available only at a 5 minute frequency. |
aws_ec2_StatusCheckFailed_System | Status Check Failed System | Count | Average | Reports whether the instance has passed the system status check in the last minute. |
aws_ec2_CPUSurplusCreditsCharged | CPU Surplus Credits Charged | Count | Average | Number of spent surplus credits that are not paid down by earned CPU credits and that incur an additional charge. |
aws_ec2_CPUSurplusCreditBalance | CPU Surplus Credit Balance | Count | Average | Number of surplus credits that have been spent by an unlimited instance when its CPUCreditBalance value is zero. |
aws_ec2_NetworkPacketsIn | Number of packets received | Count | Average | Number of packets received on all network interfaces by the instance. This metric identifies the volume of incoming traffic in terms of the number of packets on a single instance. This metric is available for basic monitoring only. |
aws_ec2_NetworkPacketsOut | Number of packets sent | Count | Average | Number of packets sent out on all network interfaces by the instance. This metric identifies the volume of outgoing traffic in terms of the number of packets on a single instance. This metric is available for basic monitoring only. |
aws_ec2_MetadataNoToken | Number of times Metadata is accessed | Count | Average | Number of times the instance metadata service was succesfully accessed using a method that does not use a token. |
Event support
CloudTrail event support
- Supported: CloudTrail events (ModifyInstanceAttribute, RebootInstances, ResetInstanceAttribute, RunInstances, StartInstances, StopInstances, TerminateInstances)
- Configurable in OpsRamp AWS Integration Discovery Profile.
CloudWatch alarm support
- Supported
- Configurable in OpsRamp AWS Integration Discovery Profile.