def METHOD_NAME(self):
    on_completion = self.sd.get('on_completion', 'shutdown')
    if on_completion == 'shutdown':
        if self.instance_id:
            time.sleep(60)
            c = boto.connect_ec2()
            c.terminate_instances([self.instance_id])