def _instance_zone(instance_data):
    """Removes most of a zone URI and returns the 'canonical' zone identifier situated
at the very end of the URI path.."""
    zone = instance_data.get('zone', None)
    assert zone
    return zone[zone.rindex("/") + 1:] if '/' in zone else zone