code: def _get_instance(self):
          
          resource = self._connect()
  
          try:
              instance = resource.Instance(self.running_instance_id)
          except Exception:
              raise EC2CloudException(
                  'Instance with ID: {instance_id} not found.'.format(
                      instance_id=self.running_instance_id
                  )
              )
          return instance
docs: Retrieve instance matching instance_id.