'Free up this Elastic IP address.
:see: :meth:`boto.ec2.connection.EC2Connection.release_address`'

def release(self, dry_run=False):

    if self.allocation_id:
        return self.connection.release_address(allocation_id=self.allocation_id, dry_run=dry_run)
    else:
        return self.connection.release_address(public_ip=self.public_ip, dry_run=dry_run)
