コンテンツへスキップ
言語を選択日本語

Private Networking

このコンテンツはまだ日本語訳がありません。

Private networking keeps traffic between your network and your Managed Keycloak cluster off the public internet. You set it up yourself from the cluster’s Private Networking page in the dashboard, with no call to arrange.

Private networking works in one of two directions, and each option below covers one of them.

  • Into the cluster. Your applications and workloads reach Keycloak over a private endpoint in your own cloud network. Use this to keep sign-in traffic off the public internet. AWS PrivateLink and Azure Private Link work this way.
  • Out to your network. Keycloak reaches hosts that live in your private network, such as an LDAP directory or a database used for user federation. Use this when those hosts must not be exposed to the internet. The Tunnel works this way.

In every case only the endpoint or the hosts involved are reachable. Your network and Skycloak’s are never joined, and VPC peering is not offered.

AWS PrivateLink Azure Private Link Tunnel
Direction Into the cluster Into the cluster Out to your network
Cloud AWS Azure Any cloud, or on premises
Supporting sites Oregon (AWS US West) Azure sites that offer it, currently Dublin and Sydney (New South Wales) Virginia (US East)
What you need An AWS account and a VPC where you can create a VPC endpoint An Azure subscription, with its ID, where you can create a private endpoint and a private DNS zone A Linux gateway host on your network with root access, Tailscale 1.80 or later, iptables and IP forwarding
Public hostname can be turned off No Yes No, the Tunnel does not change how the cluster is reached from outside

The sites listed are the ones at the time of writing, and the dashboard is always the current source. A site that has opened to new clusters shows its options on the location card, as described in Pick a site.

Step-by-step guides are available for Azure Private Link and Tunnel. The AWS PrivateLink guide is not published yet:

Private networking turns off when the add-on ends. If you cancel the add-on or move to a plan that does not include it, your private connections are turned off. Whatever depends on them stops working, such as LDAP user federation over the Tunnel, and the cluster is reachable over its public address again.

A cluster is created in one site, and not every site offers every option. Choose the site first, because it decides which options you can use.

  1. When you create a cluster, open the location step. Each location card lists its city, country and cloud.
  2. Look for the private networking chips on the card. A chip named AWS PrivateLink, Azure Private Link or Tunnel means the site supports that option. A card with no chip offers none.
  3. To narrow the list, select Private networking only. Only the sites with at least one chip remain. The cloud filter next to it keeps one cloud, which helps when your workloads run in AWS or Azure.
  4. Choose the card whose chip matches the option you want, and create the cluster.

A cluster on a site without an option cannot use it. Its Private Networking page shows only the options its site offers. See Clusters and the supported locations.