def terminate(self):
        """
        Terminate the instance
        """
        rs = self.connection.terminate_instances([self.id])
        if len(rs) > 0:
            self._update(rs[0])
dataset/ETHPy150Open darcyliu/storyboard/boto/ec2/instance.py/Instance.terminate/original