def _get_instance(self):
resource = self._connect()<EOL>try:<EOL><INDENT>instance = resource.Instance(self.running_instance_id)<EOL><DEDENT>except Exception:<EOL><INDENT>raise EC2CloudException(<EOL>'<STR_LIT>'.format(<EOL>instance_id=self.running_instance_id<EOL>)<EOL>)<EOL><DEDENT>return instance<EOL>
Retrieve instance matching instance_id.