title: python boto issue with displaying latest snapshot for each instance
body: <p>I am trying to print Instance name, volume id , instance ID, instance private IP, snapshot start time snapshot ID in one tabular form. </p>
  
  <p>Code :-</p>
  
  <pre><code>#!/usr/bin/python
  import os
  import boto.ec2
  import time
  import datetime
  
  conn = boto.ec2.connect_to_region("eu-west-1")
  reservations = conn.get_all_instances()
  tags = conn.get_all_tags()
  snapshots = conn.get_all_snapshots(owner="self")
  instances = [i for r in reservations for i in r.instances]
  
  import datetime
  today = datetime.datetime.today()
  one_day = datetime.timedelta(days=1)
  yesterday = today - one_day
  
  from datetime import datetime
  
  for inst in instances:
      for snap in snapshots:
              start_time = datetime.strptime (snap.start_time.split('.')[0],'%Y-%m-%dT%H:%M:%S')
              if start_time &gt; yesterday and 'Name' in inst.tags:
                      print "%s (%s) (%s) (%s) [%s] " % (inst.tags['Name'], start_time, snap.volume_id
  </code></pre>
  
  <p>It's looping through all instances again &amp; again. E.g-> I have 17 instances then it loops through all instances 17*17 times and displays the result. </p>
  
  <p>Any suggestions.. </p>