Docs » Integrations Guide » Integrations Reference » AWS Optimizer

../../_images/integration_optimizer.png AWS Optimizer 🔗

DESCRIPTION 🔗

SignalFx AWS Optimizer gives you actionable insight into cost-saving opportunities, underutilized investments, usage patterns, and cost attribution. You can view data by InstanceType, AWS Region, AWS availability Zone and categories specific to your setup, such as Service, Team, or any other dimensions that are sourced from EC2 instance tags. SignalFx makes calls to the AWS API to retrieve cost and usage data and derives metrics with which you can visualize EC2 usage and approximated costs. You can also create detectors based on this data, so you can get alerted in real-time on unexpected changes in cost or usage patterns.

Notes on using AWS Optimizer:

  • The imported data does not include AWS Billing data.
  • Data is not imported for EC2 Spot Instances.
  • If you have multiple AWS Accounts, they must all be included in the SignalFx AWS integration and have “Import data for SignalFx AWS Optimizer” selected. If this is not the case, the generated metrics will not reflect accurate values.

FEATURES 🔗

AWS Optimizer generates usage & cost metrics and makes these available for visualization, analytics and alerting.

Built-in dashboards 🔗

  • EC2 Reservations: Suggestions to optimize EC2 Reservations.

    ../../_images/dashboard_optimizer_ec2_reservations.png

  • EC2 Cost and Usage: Details of EC2 Cost and Usage information.

    ../../_images/dashboard_optimizer_ec2_cost_usage.png

  • EC2 Worksheet: Charts to help dive deeper into and troubleshoot EC2 Usage.

    ../../_images/dashboard_optimizer_ec2_worksheet.png

INSTALLATION 🔗

To access this integration, connect to Amazon Web Services.

For the usage data to be imported, make sure the following lines are in your AWS Policy Document:

"ec2:DescribeInstances",
"ec2:DescribeInstanceStatus",
"ec2:DescribeTags",
"ec2:DescribeReservedInstances",
"ec2:DescribeReservedInstancesModifications",
"organizations:DescribeOrganization",

USAGE 🔗

SignalFx provides built-in dashboards for this service. Examples are shown below.

  • EC2 Reservations: Suggestions to optimize EC2 Reservations. ../../_images/dashboard_optimizer_ec2_reservations.png
  • EC2 Cost and Usage: Details of EC2 Cost and Usage information. ../../_images/dashboard_optimizer_ec2_cost_usage.png
  • EC2 Worksheet: Charts to help dive deeper into and troubleshoot EC2 Usage. ../../_images/dashboard_optimizer_ec2_worksheet.png

METRICS 🔗

Metric Name Description Type
instance.cost The average cost of a running EC2 instance (of a given instance type, region, platform, and tenancy). The calculation factors in Reserved Instance coverage and utilization, but does not factor in any negotiated discount. gauge
instance.count This metric reports a value of 1 for every running EC2 instance. All AWS tags associated with a specific instance are available as properties on the metric time series, and can be used in analytics for filtering and grouping by custom tags. gauge
instance.normalized_count This metric reports a value equivalent to the AWS normalization factor (e.g. 2.0 for a "medium" sized instance) for every running EC2 instance. All AWS tags associated with a specific instance are available as properties on the metric time series, and can be used in analytics for filtering and grouping by custom tags. gauge
instance.state_change Count of state changes of EC2 instances (e.g. instances started, stopped, or terminated) in the last minute. counter
on_demand_instance.count Number of running EC2 Instances (of a given instance type, region, platform, and tenancy) for which there are no Reserved Instances available to apply. gauge
on_demand_instance.normalized_count Number of running EC2 Instances (normalized to the small instance type of the instance_type dimension) for which there are no Reserved Instances available to apply. gauge
on_demand_instance.published_cost Cost of an EC2 On-Demand Instance (of a given instance type, region, platform, and tenancy) as publicly made available by AWS. gauge
reservation.amortized_cost Amortized average cost of an EC2 Reservation, taking into account the upfront cost and recurring costs over the entire term of the reservation. gauge
reservation.count Count of EC2 instances in a Reservation gauge
reservation.ms_until_expiration Time (in milliseconds) until an EC2 Reservation expires. gauge
ri.cost Amortized average cost of a purchased EC2 Reserved Instance (of a given instance type, region, platform, and tenancy). gauge
ri.count Number of EC2 Reserved Instances available (of a given instance type, region, platform, and tenancy). gauge
ri.normailized_count Number of EC2 Reserved Instances used (of a given instance type, region, platform, and tenancy), normalized to the small instance type of the RI's instance family. gauge
ri.normalized_cost Amortized average cost of a purchased EC2 Reserved Instance, normalized to the small instance type of the RI's instance family. gauge
ri.published_cost Cost of an EC2 3-Year No-Upfront Convertible Reserved Instance (of a given instance type, region, platform, and tenancy) as publicly made available by AWS. This metric can be used to estimate potential savings from the On-Demand to RI Conversion. gauge

instance.cost 🔗

gauge

The average cost of a running EC2 instance (of a given instance type, region, platform, and tenancy). The calculation factors in Reserved Instance coverage and utilization, but does not factor in any negotiated discount. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service

instance.count 🔗

gauge

This metric reports a value of 1 for every running EC2 instance. All AWS tags associated with a specific instance are available as properties on the metric time series, and can be used in analytics for filtering and grouping by custom tags. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service

instance.normalized_count 🔗

gauge

This metric reports a value equivalent to the AWS normalization factor (e.g. 2.0 for a “medium” sized instance) for every running EC2 instance. All AWS tags associated with a specific instance are available as properties on the metric time series, and can be used in analytics for filtering and grouping by custom tags. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service

instance.state_change 🔗

counter

Count of state changes of EC2 instances (e.g. instances started, stopped, or terminated) in the last minute. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service state

on_demand_instance.count 🔗

gauge

Number of running EC2 Instances (of a given instance type, region, platform, and tenancy) for which there are no Reserved Instances available to apply. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service

on_demand_instance.normalized_count 🔗

gauge

Number of running EC2 Instances (normalized to the small instance type of the instance_type dimension) for which there are no Reserved Instances available to apply. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service

on_demand_instance.published_cost 🔗

gauge

Cost of an EC2 On-Demand Instance (of a given instance type, region, platform, and tenancy) as publicly made available by AWS. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service cost_resolution_secs

reservation.amortized_cost 🔗

gauge

Amortized average cost of an EC2 Reservation, taking into account the upfront cost and recurring costs over the entire term of the reservation. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service cost_resolution_secs reserved_instance_id

reservation.count 🔗

gauge

Count of EC2 instances in a Reservation Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service reserved_instance_id

reservation.ms_until_expiration 🔗

gauge

Time (in milliseconds) until an EC2 Reservation expires. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service reserved_instance_id

ri.cost 🔗

gauge

Amortized average cost of a purchased EC2 Reserved Instance (of a given instance type, region, platform, and tenancy). Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service cost_resolution_secs

ri.count 🔗

gauge

Number of EC2 Reserved Instances available (of a given instance type, region, platform, and tenancy). Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service utilization

ri.normailized_count 🔗

gauge

Number of EC2 Reserved Instances used (of a given instance type, region, platform, and tenancy), normalized to the small instance type of the RI’s instance family. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service utilization

ri.normalized_cost 🔗

gauge

Amortized average cost of a purchased EC2 Reserved Instance, normalized to the small instance type of the RI’s instance family. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service cost_resolution_secs

ri.published_cost 🔗

gauge

Cost of an EC2 3-Year No-Upfront Convertible Reserved Instance (of a given instance type, region, platform, and tenancy) as publicly made available by AWS. This metric can be used to estimate potential savings from the On-Demand to RI Conversion. Associated Dimensions : aws_account_id aws_availability_zone aws_instance_family aws_instance_type aws_master_account_id aws_platform aws_region aws_tenancy cloud_provider cloud_provider_service cost_resolution_secs