Quantcast
Channel: Active questions tagged amazon-ec2 - Stack Overflow
Viewing all articles
Browse latest Browse all 29245

How to specify Target Capacity for AWS Spot Fleet in terms of vCPU or memory in Cloudformation?

$
0
0

in terms of specifying a Target Capacity for a Spot Fleet the documentation is clear:

You can choose to set the target capacity in terms of instances or a performance characteristic that is important to your application workload, such as vCPUs, memory, or I/O

However, when it comes to cloudformation, the TargetCapacity property is simply an Integer, as can be seen in the docs.

If I can specify only a simple integer, how is it possible to differentiate between a number of instances versus a number of vCPU for example? Is there any other property that complements the value of TargetCapacity?

I am finding the documentation very vague when it comes to practical terms on how to properly specify Target Capacity in a more ‘advanced’ way in Cloudformation.

Any advise/guidance is appreciate.

Thanks.


Viewing all articles
Browse latest Browse all 29245

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>