How to get price per instance of EC2?

I am trying to create instances of an ec2 instance using boto3 api, so far I can get the value of the instance instance history, expand the spot instance, etc.

But I don’t know how to get the price we pay for the spot instance using boto api.

Does anyone know how to do this?

thank

+4
source share
1 answer

When you start a spot instance on Amazon EC2, you specify the maximum hourly price known as the bid . This is the maximum price that will be charged per copy.

running, ..

- , , , . , , .

", -", - . , .

, , , Spot Instance . Amazon S3, . .

+8

Source: https://habr.com/ru/post/1598795/


All Articles