メインコンテンツへスキップ

パススタイルと仮想スタイルの違い

Views:
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

環境

  • StorageGRID
  • AWS 

回答

  • 仮想ホスト形式のリクエストでは、バケットは URL パスではなくサブドメインの一部として使用されます (例については以下を参照)
    • 仮想ホストスタイルの例: https://bucket_name.s3.testdomain.com/object_key
    • パススタイルの例: https://s3.testdomain.com/bucket_name/object_key"

仮想ホストスタイル:

  • バケットへのアクセスには、仮想ホスト形式のURLを使用します。
  • 仮想ホスト形式は現在、AWS S3のデフォルトのアクセス方法となっています。StorageGRID
  • と多くのアプリケーションは依然としてパス形式をサポートしていますが、仮想ホスト形式のサポートを実装することがベストプラクティスです。
  • 仮想ホスト形式のURLには、ドメイン名の一部としてバケット名が含まれます。
  • 代わりにドメイン名を使用する場合は、StorageGRID の「仮想ホスト スタイルの URL」を使用することをお勧めします。
    • 例:https://bucket_name.s3.company.com/key-name
    • 例: bucket.domain.domain.domain
  • ワイルドカードDNSルックアップもサポートできます
    • 例:  *.s3.company.com
  • 仮想ホスト スタイルの構成に関する情報: S3 エンドポイント ドメイン名を構成する
  • 環境に仮想スタイルが必要な場合にのみ、S3 エンドポイント ドメイン ページを入力します。 

パススタイル:

  • バケットにアクセスするには、パス形式のURLを使用してください。
  • 「パス形式のURL」は、StorageGRIDを設定する際にクライアントが使用するデフォルトのURL形式です。
  • パス形式のURLでは、末尾にバケット名が含まれます。
  • このスタイルは、サーバー名 (FQDN) フィールドにドメイン名ではなく IP アドレスを指定する場合に使用されます。
  • 注意: パス形式の URL オプションは推奨されておらず、StorageGRID の将来のリリースでは廃止される予定です。

追加情報

AdditionalInformation_text

 

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.