Join us at MongoDB.local London on 7 May to unlock new possibilities for your data. Use WEB50 to save 50%.
Register now >
Docs Menu
Docs Home
/ /

プライベートエンドポイントからの管理と接続

注意

この機能は、 無料クラスターと Flex クラスターでは使用できません。使用できない機能の詳細については、Atlas 無料クラスターの制限 を参照してください。

クラスターの プライベートエンドポイントを設定 したら、次の手順に従って Atlas プライベートエンドポイントの管理と接続を行います。

Atlas でプライベート エンドポイントを使用する方法の詳細については、「Atlas のプライベート エンドポイントについて」を参照してください。

プライベートエンドポイントを表示するには、プロジェクトへの Project Read Only アクセス権が必要です。

プライベートエンドポイントを削除するには、プロジェクトに対するProject Owner以上のアクセス権が必要です。

Organization Owner アクセス権を持つユーザーは、自分自身を Project Owner としてプロジェクトに追加する必要があります。

マルチリージョンクラスターでは、各リージョンにノードを持つプライベートエンドポイントを作成する必要があります。

マルチリージョンクラスターでメンテナンスを行う際は、クラスターのダウンタイムを避けるため、メンテナンスが完了するまでプライベートエンドポイントを変更または削除しないでください。

マルチリージョンから単一リージョンのクラスターに移行する場合、新しい単一リージョンの設定でクラスターが完全に機能し、すべてのトラフィックを新しい単一リージョンのプライベートエンドポイントに方向付けしたことを確認した後にのみ、古いプライベートエンドポイントを削除できます。

考慮事項の完全なリストについては、「 考慮事項 」を参照してください。

重要

プライベートエンドポイントを認識する接続文字列について詳しくは、「プライベートエンドポイントを認識する接続文字列 」を参照してください。

プライベートエンドポイント対応の接続文字列を使用してAtlasクラスターに接続するには、次の手順で行います。

1
  1. まだ表示されていない場合は、希望するプロジェクトを含む組織を選択しますナビゲーション バーのOrganizationsメニュー

  2. まだ表示されていない場合は、ナビゲーション バーのProjectsメニューから目的のプロジェクトを選択します。

  3. サイドバーで、 Database見出しの下のClustersをクリックします。

[ クラスター]ページが表示されます。

2

接続するクラスターの Connect をクリックします。

3
4
5

重要

Atlas がSetup connection security の手順でプロジェクトに少なくとも 1 人のデータベースユーザーが設定されていることを示している場合は、この手順をスキップします。既存のデータベースユーザーを管理するには、「データベースユーザーの構成」を参照してください。

クラスターにアクセスするには、プロジェクト内のクラスター上の目的のデータベースまたはデータベースにアクセスできるMongoDBユーザーが必要です。プロジェクトにMongoDBユーザーがいない場合、Atlas は Atlas 管理者 ロールを持つ新しいユーザーを作成するように要求します。

  1. 新しいユーザーの Username を入力します。

  2. この新しいユーザーの Password を入力するか、Autogenerate Secure Password をクリックします。

  3. Create Database User をクリックしてユーザーを保存します。

次のステップでは、このユーザーを使用してクラスターに接続します。

データベースユーザーを追加したら、[ Choose Your Connection Method ] をクリックします。

6

Amazon Web Servicesを使用して指定したAtlas CLI プライベートエンドポイントの詳細を返すには、次のコマンドを実行します。

atlas privateEndpoints aws describe <privateEndpointId> [options]

Amazon Web Servicesを使用してプロジェクト内のすべてのAtlas CLI プライベートエンドポイントを一覧表示するには、次のコマンドを実行します。

atlas privateEndpoints aws list [options]

前のコマンドの構文とパラメータの詳細については、 Atlas CLIドキュメントのatlas privateEndpoints aws describeatlas privateEndpoints aws listを参照してください。

指定したAmazon Web Servicesのプライベートエンドポイント インターフェイスを返します。 Atlas CLI を使用して、次のコマンドを実行します。

atlas privateEndpoints aws interfaces describe <interfaceEndpointId> [options]

コマンドの構文とパラメータの詳細については、Atlas CLI ドキュメントの atlas privateEndpoints aws interfaces describe を参照してください。

1
  1. まだ表示されていない場合は、プロジェクトを含む組織をナビゲーション バーの Organizations メニューで選択します。

  2. まだ表示されていない場合は、ナビゲーション バーの Projects メニューからプロジェクトを選択します。

  3. サイドバーで、 Security見出しの下のDatabase & Network Accessをクリックします。

[ データベースとネットワーク アクセス ] ページが表示されます。

2
  1. サイドバーで、Private Endpoint をクリックします。

  2. [Dedicated Cluster] タブをクリックします。

Atlas CLI を使用して指定したAzureプライベートエンドポイントの詳細を返すには、次のコマンドを実行します。

atlas privateEndpoints azure describe <privateEndpointId> [options]

Atlas CLI を使用してプロジェクト内のすべてのAzureプライベートエンドポイントを一覧表示するには、次のコマンドを実行します。

atlas privateEndpoints azure list [options]

前のコマンドの構文とパラメーターの詳細については、 Atlas CLIドキュメントのAtlas privateEndpoints Azure describeおよびAtlas privateEndpoints Azure list を参照してください。

指定したAzureプライベートエンドポイント インターフェイスを返します。 Atlas CLI を使用して、次のコマンドを実行します。

atlas privateEndpoints azure interfaces describe <privateEndpointResourceId> [options]

コマンドの構文とパラメータの詳細については、Atlas CLI ドキュメントの atlas privateEndpoints azure interfaces describe を参照してください。

1
  1. まだ表示されていない場合は、プロジェクトを含む組織をナビゲーション バーの Organizations メニューで選択します。

  2. まだ表示されていない場合は、ナビゲーション バーの Projects メニューからプロジェクトを選択します。

  3. サイドバーで、 Security見出しの下のDatabase & Network Accessをクリックします。

[ データベースとネットワーク アクセス ] ページが表示されます。

2
  1. サイドバーで、Private Endpoint をクリックします。

  2. [Dedicated Cluster] タブをクリックします。

Google Cloud Platformを使用して指定したAtlas CLI プライベートエンドポイントの詳細を返すには、次のコマンドを実行します。

atlas privateEndpoints gcp describe <privateEndpointId> [options]

Google Cloud Platformを使用してプロジェクト内のすべてのAtlas CLI プライベートエンドポイントを一覧表示するには、次のコマンドを実行します。

atlas privateEndpoints gcp list [options]

前のコマンドの構文とパラメーターの詳細については、 Atlas CLIドキュメントのAtlas privateEndpoints GCP describeおよびAtlas privateEndpoints GCP list を参照してください。

指定したGoogle Cloud Platformプライベートエンドポイントのインターフェースを返します。 Atlas CLI を使用して、次のコマンドを実行します。

atlas privateEndpoints gcp interfaces describe <id> [options]

コマンド構文とパラメータの詳細については、 Atlas CLIドキュメントのAtlas privateEndpoints GCP interfaces describe を参照してください。

1
  1. まだ表示されていない場合は、プロジェクトを含む組織をナビゲーション バーの Organizations メニューで選択します。

  2. まだ表示されていない場合は、ナビゲーション バーの Projects メニューからプロジェクトを選択します。

  3. サイドバーで、 Security見出しの下のDatabase & Network Accessをクリックします。

[ データベースとネットワーク アクセス ] ページが表示されます。

2
  1. サイドバーで、Private Endpoint をクリックします。

  2. [Dedicated Cluster] タブをクリックします。

Amazon Web Servicesを使用して指定したAtlas CLI のプライベートエンドポイントを削除するには、次のコマンドを実行します。

atlas privateEndpoints aws delete <privateEndpointId> [options]

コマンド構文とパラメータの詳細については、 Atlas CLIドキュメントの「 Atlas privateEndpoints Amazon Web Services delete 」を参照してください。

を使用して指定したAmazon Web Services のプライベートエンドポイントAtlas CLI インターフェイスを削除するには、次のコマンドを実行します。

atlas privateEndpoints aws interfaces delete <interfaceEndpointId> [options]

コマンド構文とパラメータの詳細については、 Atlas CLIドキュメントの「 Atlas privateEndpoints Amazon Web Services interfaces delete 」を参照してください。

1
  1. まだ表示されていない場合は、プロジェクトを含む組織をナビゲーション バーの Organizations メニューで選択します。

  2. まだ表示されていない場合は、ナビゲーション バーの Projects メニューからプロジェクトを選択します。

  3. サイドバーで、 Security見出しの下のDatabase & Network Accessをクリックします。

[ データベースとネットワーク アクセス ] ページが表示されます。

2
  1. サイドバーで、Private Endpoint をクリックします。

  2. 削除するプライベートエンドポイントの横にあるTerminate ] をクリックします。

  3. 確認するには、ダイアログボックスで [ Confirm ] をクリックします。

警告

Do not delete a failed endpoint if it is the only endpoint registered with that private endpoint service. If you delete the last endpoint, the entire endpoint service is automatically deleted, and you must restart the entire configuration process.

Atlas CLI を使用して指定したAzureプライベートエンドポイントを削除するには、次のコマンドを実行します。

atlas privateEndpoints azure delete <privateEndpointId> [options]

コマンド構文とパラメーターの詳細については、 Atlas CLIドキュメントのAtlas privateEndpoints Azure delete を参照してください。

Atlas CLI を使用して指定したAzureプライベートエンドポイント インターフェイスを削除するには、次のコマンドを実行します。

atlas privateEndpoints azure interfaces delete <privateEndpointResourceId> [options]

コマンド構文とパラメーターの詳細については、 Atlas CLIドキュメントの「 Atlas privateEndpoints Azure interfaces delete 」を参照してください。

1
  1. まだ表示されていない場合は、プロジェクトを含む組織をナビゲーション バーの Organizations メニューで選択します。

  2. まだ表示されていない場合は、ナビゲーション バーの Projects メニューからプロジェクトを選択します。

  3. サイドバーで、 Security見出しの下のDatabase & Network Accessをクリックします。

[ データベースとネットワーク アクセス ] ページが表示されます。

2
  1. サイドバーで、Private Endpoint をクリックします。

  2. 削除するプライベートエンドポイントの横にあるTerminate ] をクリックします。

  3. 確認するには、ダイアログボックスで [ Confirm ] をクリックします。

警告

Do not delete a failed endpoint if it is the only endpoint registered with that private endpoint service. If you delete the last endpoint, the entire endpoint service is automatically deleted, and you must restart the entire configuration process.

Google Cloud Platformを使用して指定したAtlas CLI プライベートエンドポイントを削除するには、次のコマンドを実行します。

atlas privateEndpoints gcp delete <privateEndpointId> [options]

コマンド構文とパラメータの詳細については、 Atlas CLIドキュメントのAtlas privateEndpoints GCP delete を参照してください。

を使用して指定したGoogle Cloud Platform プライベートエンドポイントAtlas CLI インターフェースを削除するには、次のコマンドを実行します。

atlas privateEndpoints gcp interfaces delete <id> [options]

コマンド構文とパラメータの詳細については、 Atlas CLIドキュメントの「 Atlas privateEndpoints GCP interfaces delete 」を参照してください。

1
  1. まだ表示されていない場合は、プロジェクトを含む組織をナビゲーション バーの Organizations メニューで選択します。

  2. まだ表示されていない場合は、ナビゲーション バーの Projects メニューからプロジェクトを選択します。

  3. サイドバーで、 Security見出しの下のDatabase & Network Accessをクリックします。

[ データベースとネットワーク アクセス ] ページが表示されます。

2
  1. サイドバーで、Private Endpoint をクリックします。

  2. 削除するプライベートエンドポイントの横にあるTerminate ] をクリックします。

  3. 確認するには、ダイアログボックスで [ Confirm ] をクリックします。

警告

Do not delete a failed endpoint if it is the only endpoint registered with that private endpoint service. If you delete the last endpoint, the entire endpoint service is automatically deleted, and you must restart the entire configuration process.

You can configure which AWS regions can connect to your private endpoint service. This enables cross-region private endpoint connectivity, allowing applications in different AWS regions to connect to your Atlas clusters through private endpoints.

To add or remove accepted endpoint regions from the Atlas UI:

1
  1. まだ表示されていない場合は、プロジェクトを含む組織をナビゲーション バーの Organizations メニューで選択します。

  2. まだ表示されていない場合は、ナビゲーション バーの Projects メニューからプロジェクトを選択します。

  3. サイドバーで、 Security見出しの下のDatabase & Network Accessをクリックします。

[ データベースとネットワーク アクセス ] ページが表示されます。

2
  1. サイドバーで、Private Endpoint をクリックします。

  2. [Dedicated Cluster] タブをクリックします。

  3. Locate the private endpoint service for which you want to manage accepted regions.

3
  1. Click the Edit link next to the endpoint service.

  2. In the Accepted Endpoint Regions section, select the AWS regions that you want to allow connections from.

  3. To remove a region, deselect it from the list.

  4. 変更を適用するには、Save をクリックします。

4

After you add accepted endpoint regions, you must create the corresponding interface endpoints in those regions within your AWS account. To learn more about creating interface endpoints, see Set Up a Private Endpoint for a Dedicated Cluster.

戻る

専有クラスター

ルール バッジを取得する

「ネットワークセキュリティ: Atlas」を無料でマスター!

詳細

項目一覧