def destroy(self):

        self.log("looking for instances to destroy")
        me = self.describe()
        if me.present:
            self.log("destroying instance")
            self.connection.terminate_instances(instance_ids=[me.provider_specific.id])
            self.log("instance destroyed")
        else:
            self.log("no instance found to destroy")

    # --------------------------------------------------------------------------
    # PRIVATE FUNCTIONS
    # --------------------------------------------------------------------------
Updates a vm group
dataset/ETHPy150Open mpdehaan/strider/lib/strider/virt/ec2.py/EC2.destroy--crossover with--dataset/ETHPy150Open jasonhancock/cloudstack-python-client/CloudStack/Client.py/Client.updateInstanceGroup