Auto Tag EC2 Spot Instances and Volumes with Boto

Tags are a great way to organize Amazon Web Services (AWS) resources. For example, you can use tags to itemize your AWS bill into different projects. Unfortunately, with spot requests, there is no automatic way to tag the EC2 spot instances and EBS volumes once the spot request has been fulfilled. Here is one way to do that using boto, the Python SDK for AWS.

Continue reading