Spot instance strategy configuration for controlling cost vs reliability. Spot instances provide significant cost savings (~70%) but may be interrupted by AWS. Available for non-production environments.
| Name | Type | Description | Notes |
|---|---|---|---|
| strategy | str | Spot instance strategy. 'off' = On-Demand only (highest reliability, no savings). 'spot-only' = 100% Spot instances (~70% savings, default for non-prod). 'mixed-safe' = 50% Spot instances (~35% savings, requires multiple instances). 'mixed-aggressive' = 80% Spot instances (~56% savings, requires multiple instances). | [default to 'spot-only'] |
from quantcdn.models.spot_configuration import SpotConfiguration
# TODO update the JSON string below
json = "{}"
# create an instance of SpotConfiguration from a JSON string
spot_configuration_instance = SpotConfiguration.from_json(json)
# print the JSON string representation of the object
print(SpotConfiguration.to_json())
# convert the object into a dict
spot_configuration_dict = spot_configuration_instance.to_dict()
# create an instance of SpotConfiguration from a dict
spot_configuration_from_dict = SpotConfiguration.from_dict(spot_configuration_dict)