'Shutdown this instance. This method will terminate traditional
instance-store instances and stop EBS-backed instances
(i.e. not destroy EBS root dev)'

def shutdown(self):

    if self.is_stoppable():
        self.stop()
    else:
        self.terminate()
