IBM Cloud Docs
Locations

Locations

IBM Cloud resources are organized into a hierarchy of geographic locations. IBM Cloud Kubernetes Service is available in a subset of the IBM Cloud locations, including worldwide multizone regions (MZRs) and single-campus multizone regions (SC-MZRs).

IBM Cloud Kubernetes Service locations
IBM Cloud Kubernetes Service locations

This image is an artistic representation and does not reflect actual political or geographic boundaries.

IBM Cloud Kubernetes Service locations

Availability of a cluster is based on the type of cluster it is and how many replicas of the resources you have.

The term zone in this document refers to different things depending the type of infrastructure being used. For VPC, the term zone refers to the zone names within an MZR, such as us-south-1. For Classic infrastructure, the term zone refers to a Classic data center, such as dal10.

Classic regions with multiple data centers

If you create a classic cluster with multiple data centers, the replicas of the highly available Kubernetes master are automatically spread across the data centers. You have the option to spread your worker nodes across classic zones (data centers) to protect your apps from a zone failure. To determine whether a classic region has multiple data centers from the CLI, your can run ibmcloud ks locations and look for the value in the Multizone Metro column.

Available multizone regions for classic clusters in IBM Cloud Kubernetes Service.
Geography Country Metro Region Zones
Asia Pacific Australia Sydney au-syd syd01, syd04, syd05
Asia Pacific Japan Osaka jp-osa osa21, osa22, osa23
Asia Pacific Japan Tokyo jp-tok tok02, tok04, tok05
Europe Germany Frankfurt de-fra fra02, fra04, fra05
Europe United Kingdom London uk-lon lon02, lon04, lon05, lon06
North America United States Dallas us-dal dal10, dal12, dal13
North America United States Washington DC us-wdc wdc04, wdc06, wdc07

* lon05 replaces lon02. New clusters must use lon05, which supports highly available masters that are spread across zones.

Classic regions with one data center

If you create a classic cluster in a region with only one data center, the highly available master includes three replicas on separate hosts, but is not spread across classic zones.

Classic regions with one data center are managed from the regional endpoint located in the nearest region that supports classic data centers, such as mon01 to us-east or sao01 to us-south.

Available single zone data centers for classic clusters in IBM Cloud Kubernetes Service.
Geography Country Metro Region Zone Managed from region
Asia Pacific India Chennai in-che che01 AP North (ap-north, jp-tok)
Asia Pacific Singapore Singapore sng-mtr sng01 AP North (ap-north, jp-tok)
Europe France Paris fr-par par01 EU Central (eu-central, eu-de)
Europe Italy Milan it-mil mil01 EU Central (eu-central, eu-de)
Europe Netherlands Amsterdam nl-ams ams03 EU Central (eu-central, eu-de)
North America Canada Montreal ca-mon mon01 US East (us-east)
North America Canada Toronto ca-tor tor01 US East (us-east)
North America United States San Jose us-sjc sjc03, sjc04 US South (us-south)
South America Brazil Sao Paulo br-sao sao01 US South (us-south)

VPC multizone regions

VPC resources are provisioned in a region, which is a separate group of zones within a metro. The zones are mapped to separate data centers to ensure that resources are distributed evenly across zones in a multizone architecture. In the API and CLI, zones use the regional zone name in the API and command line (us-south-1), but in the console, zones use by the data center location (Dallas 1). For the data center code that the VPC zone and location corresponds to, such as us-south-1 and DAL10, see Multizone regions.

Available multizone regions for VPC clusters in IBM Cloud Kubernetes Service.
Geography Country Metro Region Zones
Asia Pacific Australia Sydney au-syd au-syd-1, au-syd-2, au-syd-3
Asia Pacific Japan Osaka jp-osa jp-osa-1, jp-osa-2, jp-osa-3
Asia Pacific Japan Tokyo jp-tok jp-tok-1, jp-tok-2, jp-tok-3
Europe Germany Frankfurt eu-de eu-de-1, eu-de-2, eu-de-3
Europe Spain Madrid eu-es eu-es-1, eu-es-2, eu-es-3
Europe United Kingdom London eu-gb eu-gb-1, eu-gb-2, eu-gb-3
North America Canada Toronto ca-tor ca-tor-1, ca-tor-2, ca-tor-3
North America United States Dallas us-south us-south-1, us-south-2, us-south-3
North America United States Washington DC us-east us-east-1, us-east-2, us-east-3
South America Brazil São Paulo br-sao br-sao-1, br-sao-2, br-sao-3

These regions are available as multizone regions for clusters on VPC infrastructure only.

Where are the resources?

Where your resources are stored in the cluster depends on the availability of the cluster A cluster might be available in a single zone or multiple zones (multizone).

Resources in single zone clusters

Your cluster's resources remain in the data center in which the cluster is deployed, but management operations might be routed through a regional endpoint.

Your cluster's resources, including the master and worker nodes, are in the same zone that you deployed the cluster to. When you initiate local container orchestration actions, such as kubectl commands, the information is exchanged between your master and worker nodes within the same zone.

If you set up other cluster resources, such as storage, networking, compute, or apps running in pods, the resources and their data remain in the data center that you deployed your cluster to.

When you initiate cluster management actions, such as running ibmcloud ks commands, basic information about the cluster such as name, ID, user, the command is routed through a regional endpoint and the global endpoint.

Resources in multizone clusters

In multizone clusters, the cluster's resources are spread across multiple locations (zones for VPC and data centers for Classic) for higher availability.

Worker nodes are spread across multiple VPC zones or Classic data centers in the region to provide more availability for your cluster. The Kubernetes master replicas are also spread across zones or classic data centers. When you initiate local container orchestration actions, such as kubectl commands, the information is exchanged between your master and worker nodes through the global endpoint.

Other cluster resources, such as storage, networking, compute, or apps running in pods, vary in how they deploy to the zones in your cluster. For more information, review these topics:

When you initiate cluster management actions, such as running ibmcloud ks commands, basic information about the cluster, such as name, ID, user, the command is routed through the global endpoint.

Accessing resources

You can organize your resources across IBM Cloud services by using IBM Cloud locations (or regions). For example, you can deploy an app to a cluster by using a private Docker image that is stored in your IBM Cloud Container Registry of the same location. To access these resources, you can use the global endpoints and filter by location.

Accessing resources from the CLI

  1. Install the CLI.

  2. Log in to your account. If applicable, target the appropriate resource group. Set the context for your cluster.

    When you log in to the IBM Cloud (ibmcloud) command line, you are prompted to select a region. However, this region does not affect the IBM Cloud Kubernetes Service plug-in (ibmcloud ks) endpoint, which still uses the global endpoint. Note that you do still need to target the resource group that your cluster is in if it is not in the default resource group.

  3. Review the CLI commands.

    • Listing resources:

      • When you list resources, such as with the ibmcloud ks cluster ls, ibmcloud ks subnets, or ibmcloud ks zone ls commands, resources in all locations are returned. To filter resources by a specific location, certain commands include a --location option. For example, if you filter clusters for the wdc metro, multizone clusters in that metro and single-zone clusters in data centers (zones) within that metro are returned. If you filter clusters for the wdc06 data center (zone), multizone clusters that have a worker node in that zone and single-zone clusters in that zone are returned. ibmcloud ks cluster ls -l dal.

      • Other commands don't return resources in all locations. To run credential set/unset/get, api-key reset, and vlan spanning get commands, you must specify a region in the --region.

    • Working with resources:

      • When you use the global endpoint, you can work with resources that you have access permissions to in any location, even if you target one region and the resource that you want to work with is in another region.
      • If you have clusters with the same name in different regions, use the cluster ID when you run commands or set a region with the ibmcloud ks init command and use the cluster name when you run commands.

Accessing resources from the API

  1. Get started with the API.

  2. Review the API commands.

    To interact with the global IBM Cloud Kubernetes Service API, enter the command type and append global/v1/command to the endpoint.

    Example of GET /clusters global API:

    GET https://containers.cloud.ibm.com/global/v1/clusters
    

    If you need to specify a region in an API call, remove the /global parameter from the path and pass the region name in the X-Region header. To list available regions, review the Previous region column in the IBM Cloud Kubernetes Service locations table.

  3. Optional: Generate a client of the API to use in automation by using the swagger.json API.

Previous IBM Cloud region and zone structure

Previously, your IBM Cloud resources were organized into regions. Regions are a conceptual tool to organize zones, and can include zones (data centers) in different countries and geographies. The following table maps the previous IBM Cloud regions, IBM Cloud Kubernetes Service regions, and IBM Cloud Kubernetes Service zones. Multizone-capable zones are in bold.

Region-specific endpoints for IBM Cloud Kubernetes Service are deprecated. Use the global endpoint instead. If you must use regional endpoints, use the ibmcloud ks api command.

By using IBM Cloud Kubernetes Service regions, you can create or access Kubernetes clusters in a region other than the IBM Cloud region that you are logged in to. IBM Cloud Kubernetes Service region endpoints refer specifically to the IBM Cloud Kubernetes Service, not IBM Cloud as a whole.

You might want to log in to another IBM Cloud Kubernetes Service region for the following reasons: * You created IBM Cloud services or private Docker images in one region and want to use them with IBM Cloud Kubernetes Service in another region. * You want to access a cluster in a region that is different from the default IBM Cloud region that you are logged in to.

To switch regions, use the ibmcloud ks init command.

Corresponding Kubernetes Service and IBM Cloud regions, with zones. Multizone-capable zones are in bold.
IBM Cloud Kubernetes Service region Corresponding IBM Cloud regions Available zones in the region
AP North (standard clusters only) Tokyo che01, sng01, tok02, tok04, tok05
AP South Sydney syd01, syd04, syd05
EU Central Frankfurt ams03, fra02, fra04, fra05, mil01, par01
UK South London lon02, lon04, lon05, lon06
US East (standard clusters only) Washington DC mon01, tor01, wdc04, wdc06, wdc07
US South Dallas dal10, dal12, dal13, sjc03, sjc04, sao01