kislyuk / aegea

Amazon Web Services Operator Interface
Apache License 2.0
68 stars 17 forks source link

Use spot placement score API #73

Open kislyuk opened 2 years ago

kislyuk commented 2 years ago

https://aws.amazon.com/blogs/compute/identifying-optimal-locations-for-flexible-workloads-with-spot-placement-score/

I tried this but it yielded identical scores for all AZs, regions, and instance types:

aws ec2 get-spot-placement-scores --target-capacity 1 --instance-types m5d.8xlarge --single-availability-zone