I am query AWS using boto ec2 in python.
Firstly I find all reserved instances by get_all_reserved_instances
then I am also able to find total count of each instance_type by instance_count
. I am trying to calculate total number of reserved instances under tags.
Eg. We have two tags group
and name
.
Then I want to show total number of reserved instances of particular type (Eg. i2.xlarge) under group
tag.
How to do this, I did not find this in AWS console also ?