'Gets details about a specific instance'

def get_instance(self, region, instance_id):

    if self.eucalyptus:
        conn = boto.connect_euca(self.eucalyptus_host)
        conn.APIVersion = '2010-08-31'
    else:
        conn = ec2.connect_to_region(region)
    if (conn is None):
        print ('region    name:    %s    likely    not    supported,    or    AWS    is    down.        connection    to    region    failed.' % region)
        sys.exit(1)
    reservations = conn.get_all_instances([instance_id])
    for reservation in reservations:
        for instance in reservation.instances:
            return instance
