---
title: AWS metrics
description: To analyze EC2 instance metrics, you can select view filters based on the following predefined metrics, or you can add custom metrics. To analyze S3 bucket...
url: https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/reference/observability/observability-aws-metrics
products:
  - Elastic Cloud Serverless
  - Elastic Observability
---

# AWS metrics
<important>
  Additional AWS charges for GetMetricData API requests are generated using this module.
</important>


## Monitor EC2 instances

To analyze EC2 instance metrics, you can select view filters based on the following predefined metrics, or you can add [custom metrics](/elastic/docs-content/pull/4236/solutions/observability/infra-and-hosts/view-infrastructure-metrics-by-resource-type#custom-metrics).

|                                            |                                                  |
|--------------------------------------------|--------------------------------------------------|
| **CPU Usage**CPU Usage                     | Average of `aws.ec2.cpu.total.pct`.              |
| **Inbound Traffic**Inbound Traffic         | Average of `aws.ec2.network.in.bytes_per_sec`.   |
| **Outbound Traffic**Outbound Traffic       | Average of `aws.ec2.network.out.bytes_per_sec`.  |
| **Disk Reads (Bytes)**Disk Reads (Bytes)   | Average of `aws.ec2.diskio.read.bytes_per_sec`.  |
| **Disk Writes (Bytes)**Disk Writes (Bytes) | Average of `aws.ec2.diskio.write.bytes_per_sec`. |


## Monitor S3 buckets

To analyze S3 bucket metrics, you can select view filters based on the following predefined metrics, or you can add [custom metrics](/elastic/docs-content/pull/4236/solutions/observability/infra-and-hosts/view-infrastructure-metrics-by-resource-type#custom-metrics).

|                                        |                                                      |
|----------------------------------------|------------------------------------------------------|
| **Bucket Size**Bucket Size             | Average of `aws.s3_daily_storage.bucket.size.bytes`. |
| **Total Requests**Total Requests       | Average of `aws.s3_request.requests.total`.          |
| **Number of Objects**Number of Objects | Average of `aws.s3_daily_storage.number_of_objects`. |
| **Downloads (Bytes)**Downloads (Bytes) | Average of `aws.s3_request.downloaded.bytes`.        |
| **Uploads (Bytes)**Uploads (Bytes)     | Average of `aws.s3_request.uploaded.bytes`.          |


## Monitor SQS queues

To analyze SQS queue metrics, you can select view filters based on the following predefined metrics, or you can add [custom metrics](/elastic/docs-content/pull/4236/solutions/observability/infra-and-hosts/view-infrastructure-metrics-by-resource-type#custom-metrics).

|                                                    |                                          |
|----------------------------------------------------|------------------------------------------|
| **Messages Available**Messages Available           | Max of `aws.sqs.messages.visible`.       |
| **Messages Delayed**Messages Delayed               | Max of `aws.sqs.messages.delayed`.       |
| **Messages Added**Messages Added                   | Max of `aws.sqs.messages.sent`.          |
| **Messages Returned Empty**Messages Returned Empty | Max of `aws.sqs.messages.not_visible`.   |
| **Oldest Message**Oldest Message                   | Max of `aws.sqs.oldest_message_age.sec`. |


## Monitor RDS databases

To analyze RDS database metrics, you can select view filters based on the following predefined metrics, or you can add [custom metrics](/elastic/docs-content/pull/4236/solutions/observability/infra-and-hosts/view-infrastructure-metrics-by-resource-type#custom-metrics).

|                                            |                                            |
|--------------------------------------------|--------------------------------------------|
| **CPU Usage**CPU Usage                     | Average of `aws.rds.cpu.total.pct`.        |
| **Connections**Connections                 | Average of `aws.rds.database_connections`. |
| **Queries Executed**Queries Executed       | Average of `aws.rds.queries`.              |
| **Active Transactions**Active Transactions | Average of `aws.rds.transactions.active`.  |
| **Latency**Latency                         | Average of `aws.rds.latency.dml`.          |

For information about the fields used by the Infrastructure UI to display AWS services metrics, see the [Infrastructure app fields](https://docs-v3-preview.elastic.dev/elastic/docs-content/pull/4236/reference/observability/fields-and-object-schemas).