code: def hard_reboot_instance(self):
          
          self._stop_instance()
          self._start_instance()
          self._set_instance_ip()
          self.logger.debug('IP of instance: %s' % self.instance_ip)
          ipa_utils.clear_cache()
docs: Stop then start the instance.