class DefaultBucket {

  @VisibleForTesting
  static String getRegionFromZone(String zone) {
    String[] zoneParts = zone.split("-");
    checkArgument(zoneParts.length >= 2, "Invalid zone provided: %s", zone);
    return zoneParts[0] + "-" + zoneParts[1];
  }

}