capabilities.work

Request Spot Instances and Track

A 2-step recipe with Amazon EC2. We can help you get access.

Recipe · 2 steps

Request Spot Instances and Track

with Amazon EC2 · IT Infrastructure Management

Submit a Spot Instance request and poll until it appears.

  1. Submit the Spot Instance request.
  2. Describe Spot Instance requests and branch on whether the request set has appeared, looping until it is non-empty.
What you'll need to have ready
  • spotPrice: The maximum price per unit hour for a Spot Instance.
  • instanceCount: The number of Spot Instances to request.
  • requestType: The Spot request type (one-time or persistent).
For your developer

Arazzo workflow amazon-ec2:request-spot-and-track, 2 operations: RequestSpotInstances → DescribeSpotInstanceRequests. Specs on APIs.io.