Amazon EC2 Spot Instances let you take advantage of unused EC2 capacity in the AWS cloud.

Spot Instances is used for various stateless, fault-tolerant, or flexible applications such as:

  • Big data
  • Containerized workloads
  • CI/CD
  • Web servers
  • High-performance computing (HPC)
  • Other test and development workloads

You can:

  • Choose how to launch and maintain your applications running on Spot Instances. This is because Spot Instances are tightly integrated with AWS services such as Auto Scaling, EMR, ECS, CloudFormation, Data Pipeline, and AWS Batch.
  • Combine Spot Instances with On-Demand and RIs to further optimize workload cost with performance. Due to the operating scale of AWS, Spot Instances can offer the scale and cost savings to run hyper-scale workloads.
  • Hibernate, stop or terminate your Spot Instances when EC2 reclaims the capacity back with two-minutes of notice.

Use the AWS public cloud integration to discover and collect metrics against the AWS service.

External reference

Amazon Elastic Compute Cloud - Spot Instance requests

Setup

To set up the AWS integration and discover the AWS service, go to AWS Integration Discovery Profile and select Spot Requests.

Event support

CloudTrail event support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

CloudWatch alarm support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

Supported metrics

OpsRamp MetricMetric Display NameUnitAggregation Type
aws_ec2spot_AvailableInstancePoolsCount

The Spot Instance pools specified in the Spot Fleet request.
AvailableInstancePoolsCountCountAverage
aws_ec2spot_BidsSubmittedForCapacity

The Spot Instance pools specified in the Spot Fleet request.
BidsSubmittedForCapacityCountAverage
aws_ec2spot_EligibleInstancePoolCount

The Spot Instance pools specified in the Spot Fleet request where Amazon EC2 can fulfill bids. Amazon EC2 does not fulfill bids in pools where your bid price is less than the Spot price or the Spot price is greater than the price for On-Demand Instances.
EligibleInstancePoolCountCountAverage
aws_ec2spot_FulfilledCapacity

The capacity that Amazon EC2 has fulfilled.
FulfilledCapacityCountAverage
aws_ec2spot_MaxPercentCapacityAllocation

Maximum value of PercentCapacityAllocation across all Spot Fleet pools specified in the Spot Fleet request.
MaxPercentCapacityAllocationPercentMaximum
aws_ec2spot_PendingCapacity

The difference between TargetCapacity and FulfilledCapacity.
PendingCapacityCountAverage
aws_ec2spot_PercentCapacityAllocation

Capacity allocated for the Spot Instance pool for the specified dimensions. To get the maximum value recorded across all Spot Instance pools, use MaxPercentCapacityAllocation.
PercentCapacityAllocationPercentAverage
aws_ec2spot_TargetCapacity

Target capacity of the Spot Fleet request.
TargetCapacityCountAverage
aws_ec2spot_TerminatingCapacity

The capacity that is being terminated due to Spot Instance interruptions.
TerminatingCapacityCountAverage