Skip to main content

Syncing license usage from GitHub Enterprise Server to Cloud

You can sync license usage from GitHub Enterprise Server to GitHub Enterprise Cloud to view all license usage across your enterprise in one place and ensure that people with accounts in both environments only consume one user license.

この機能を使用できるユーザーについて

Enterprise owners can sync license usage between enterprise accounts on GitHub Enterprise Server and GitHub Enterprise Cloud.

About synchronization of license usage

GitHub では、一意ユーザーのライセンス モデルが使用されます。 GitHub Enterprise プランでは、GitHub Enterprise Cloud と GitHub Enterprise Server の両方を使用する権利があります。 GitHub Enterprise Cloud の許容量には、GitHub.com または GHE.com 上の 1 つのデプロイが含まれます。

GitHub により、配置全体の一意ユーザー数に基づいて、使用しているライセンス シートの数が決定されます。 各ユーザーは、そのユーザーが使う GitHub Enterprise Server インスタンスの数や、GitHub Enterprise Cloud のデプロイでそのユーザーがメンバーになっている organization の数に関係なく、1 つのライセンスのみを使います。 このモデルを使用すると、各ユーザーが、追加のコストなしで複数の GitHub Enterprise デプロイを使用できます。

複数の GitHub Enterprise 環境を使用しているユーザーが 1 つのライセンスのみを使用するためには、環境間でライセンス利用状況を同期する必要があります。 その後、ユーザー アカウントに関連付けられているメール アドレスに基づいて、GitHub によりユーザーの重複が除去されます。 GitHub により、GitHub Enterprise プラン自体と、GitHub Advanced Security 製品のライセンスの重複が除去されます。 詳しくは、「Troubleshooting license usage for GitHub Enterprise」をご覧ください。

To ensure that you see up-to-date license details on GitHub Enterprise Cloud, you can sync license usage to GitHub.com or GHE.com automatically, using GitHub Connect. For more information about GitHub Connect, see About GitHub Connect.

If you don't want to enable GitHub Connect, you can manually sync license usage by uploading a file from GitHub Enterprise Server to GitHub.com.

When you synchronize license usage, only the user ID and email addresses for each user account on GitHub Enterprise Server are transmitted to GitHub Enterprise Cloud.

ライセンス利用状況を同期すると、GitHub Enterprise Cloud のエンタープライズ設定で、すべての環境における使用済みライセンスのレポートを表示できます。 詳しくは、「Viewing usage for your GitHub Enterprise plan」をご覧ください。

メモ

トラブルシューティングを容易にするために、ライセンスの使用状況を同期して Enterprise Managed Users を使用しない場合は、GitHub Enterprise Cloud のEnterprise アカウントに対して検証済みのドメインを有効にすることを強くおすすめします。 GitHub Enterprise Cloud ドキュメントの「Enterprise のドメインを検証または承認する」を参照してください。

Automatically syncing license usage

You can use GitHub Connect to automatically synchronize user license count and usage between GitHub Enterprise Server and GitHub Enterprise Cloud weekly. For more information, see Enabling automatic user license sync for your enterprise.

After you enable GitHub Connect, license data will be automatically synchronized weekly. You can also manually synchronize your license data at any time, by triggering a license sync job.

Triggering a license sync job

  1. Sign in to your GitHub Enterprise Server instance.

  2. の右上で、ご自分のプロフィール フォトをクリックしてから、 [Enterprise 設定] をクリックします。

    GitHub Enterprise Server でプロフィール写真をクリックすると表示されるドロップダウン メニューのスクリーンショット。 [Enterprise settings] オプションが枠線で囲まれています。

  3. ページの左側にある Enterprise アカウント サイドバーの [ Settings] をクリックします。

  4. [設定] で、** ライセンス ** をクリックします。

  5. Under "License sync", click Sync now.

Manually uploading GitHub Enterprise Server license usage

You can download a JSON file from GitHub Enterprise Server and upload the file to GitHub Enterprise Cloud to manually sync user license usage between the two deployments.

  1. Sign in to your GitHub Enterprise Server instance.

  2. の右上で、ご自分のプロフィール フォトをクリックしてから、 [Enterprise 設定] をクリックします。

    GitHub Enterprise Server でプロフィール写真をクリックすると表示されるドロップダウン メニューのスクリーンショット。 [Enterprise settings] オプションが枠線で囲まれています。

  3. ページの左側にある Enterprise アカウント サイドバーの [ Settings] をクリックします。

  4. [設定] で、** ライセンス ** をクリックします。

  5. In the "User licenses" section, under "Quick links", to download a file containing your current license usage on GitHub Enterprise Server, click Export license usage.

    Screenshot of the "User licenses" section of the "License" page. A link, labeled "Export license usage", is outlined in dark orange.

  6. GitHub Enterprise Cloud に移動します。

  7. GitHub の右上の自分のプロフィール写真をクリックし、[自分の Enterprise] をクリックします。

  8. Enterpriseのリストで、表示したいEnterpriseをクリックしてください。

  9. ページの左側にある Enterprise アカウント サイドバーの [ Settings] をクリックします。

  10. [設定] で、** ライセンス ** をクリックします。

  11. Next to "Enterprise Server instances", click Add server usage.

  12. Upload the JSON file you downloaded from GitHub Enterprise Server.