Menu
Grafana Cloud

Amazon EC2

Grafana AWS Observability offers an out-of-the-box, embedded experience for you to efficiently explore and drill into your Amazon EC2 data. You can monitor your EC2 instances without managing and configuring local agents or building dashboards.

  1. To see EC2 data, configure CloudWatch metrics and create your scrape job. You’ll see the job in the list of scrape jobs on the Configuration Details tab.
  2. In the main menu, click AWS to open the Service overview tab.
    List of scrape jobs on **Service overview** tab
    List of scrape jobs on Service overview tab
  3. Locate the EC2 service in the list, and click AWS EC2 in the last column of the table to open the EC2 dashboard page in the Overview tab.

View instances at a high level

The Overview tab provides a high-level look of all EC2 instances across all your accounts and regions within a selected time frame, starting with a graph of instance count in all regions.

The default columns, which you can filter and sort, include:

**Overview** tab showing instances for last six hours
Overview tab showing instances for last six hours

You can use the Overview page to:

  • Uncover anomalies in your data.
  • Identify instances that do not contain expected tags.
  • Discover potential issues, such as instances with higher CPU than normal or instances that are about to burst or hit IO limits.
  • Add or remove tags and metrics within the selectors for more granularity.
    Tag selector
    Tag selector

Filter your views to narrow your focus to instances that you and your team care about, based on how you’re using AWS tags. For example, if you’re using tags to associate instances with the services being hosted, you can narrow your view to contain only instances for the services that your team owns.

When you add or remove tags, these are reflected in the URL as well. Then you can share the URL or bookmark it to come back to the same view later.

Drill into instance detail

From the list of instances on the Overview tab, click an instance for detailed information within a selected time frame.

Instance detail page showing data for two-day time frame
Instance detail page showing data for two-day time frame

The instance detail page includes instance metadata. This metadata can be helpful to access the instance, view more in the AWS portal, or understand what is running on the instance.

You can also explore the following CloudWatch metrics for the instance in your selected time frame:

  • CPUUtilization
  • Networkin and Networkout
  • DiskWriteOps and DiskReadOps
  • StatusCheckFailed
  • ebsReadBytes and ebsWriteBytes
  • ebsReadOps and ebsWriteOps

Close and expand panels for greater focus.

Instance detail page with some panels closed
Instance detail page with some panels closed

View regions

On the Regions tab, view instance count within a selected time frame by:

  • Region
  • Tag
  • All regions
**Regions** tab
Regions tab

On this page you can:

  • View how your instances scale over a region.
  • Choose a tag to see how the instance autoscales.

View resources for optimization

On the Rightsizing tab, sort by highest or lowest usage. When you sort from the bottom, you can identify:

  • Where to allocate more resources
  • Which instances are not fully utilized and you should repack
  • The amount of instances to scale down due to lack of need
**Rightsizing** tab sorted from the bottom
Rightsizing tab sorted from the bottom

You can also select the number of instances you would like to see in each table. Instances in the middle range (for instance, the instances that are in the 20th - 40th percentile for a certain metric) could indicate opportunities to repack.

Troubleshooting

The EC2 pages and panels require specific metrics to display all data correctly. If you do not see specific (or any) columns displaying in the list of instances, or panels are showing no data, you can reset your EC2 service to scrape the default metrics by completing the following steps:

  1. Navigate to the Configuration Details tab.
  2. Click Edit next to the scrape job you want to change.
    Scrape job
    Scrape job
  3. Click the icon next to AWS/EC2 to expand the metrics details.
    Icon for expanding details
    Icon for expanding details
  4. Scroll until you see the buttons that control the settings.
    Expanded details with settings buttons
    Expanded details with settings buttons
  5. Click Reset to defaults. This will ensure all metrics required for viewing EC2 data are set.
  6. Click Save service settings.