code: def get_ec2_instances(self):
          
          log = logging.getLogger(self.cls_logger + '.get_ec2_instances')
          log.info('Describing EC2 instances...')
          try:
              response = self.client.describe_instances()
          except ClientError:
              _, ex, trace = sys.exc_info()
              msg = '{n}: There was a problem describing EC2 instances\n{e}'.format(n=ex.__class__.__name__, e=str(ex))
              raise EC2UtilError, msg, trace
          return response
docs: Describes the EC2 instances
  
          :return: dict containing EC2 instance data
          :raises: EC2UtilError