Plan a Spot Fleet request
Before you create a Spot Fleet request, review Spot Best
Practices
-
Determine whether you want to create a Spot Fleet that submits a one-time request for the desired target capacity, or one that maintains a target capacity over time.
-
Determine the instance types that meet your application requirements.
-
Determine the target capacity for your Spot Fleet request. You can set the target capacity in instances or in custom units. For more information, see Spot Fleet instance weighting.
-
Determine what portion of the Spot Fleet target capacity must be On-Demand capacity. You can specify 0 for On-Demand capacity.
-
Determine your price per unit, if you are using instance weighting. To calculate the price per unit, divide the price per instance hour by the number of units (or weight) that this instance represents. If you are not using instance weighting, the default price per unit is the price per instance hour.
-
Review the possible options for your Spot Fleet request. For more information, see the request-spot-fleet command in the Amazon CLI Command Reference. For additional examples, see Spot Fleet example configurations.