Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 1.48 KB

File metadata and controls

30 lines (21 loc) · 1.48 KB

SpotConfiguration

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.

Properties

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']

Example

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)

[Back to Model list] [Back to API list] [Back to README]