docker / machine

Machine management for a container-centric world
https://docs.docker.com/machine/
Apache License 2.0
6.63k stars 1.96k forks source link

amazonec2 driver should not use spot blocks #4893

Open flavioleggio opened 3 years ago

flavioleggio commented 3 years ago

As stated on one of the latest deprecation notices from AWS and documented here

Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers from July 1, 2021. For customers who have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022.

For what I understand from the amazonec2 driver documentation, this driver only supports spot instances in block mode. In order to optimize costs with some use cases for non-production workloads (batch processes, automated build systems and so on) it would be nice if standard spot instances were supported too.