跳转到主内容

路径样式与虚拟样式

Views:
1
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 访问存储桶。
  • 虚拟托管式 URL 现已成为 AWS S3 的默认访问方式。StorageGRID
  • 和许多应用程序仍然支持路径样式,因此最佳实践是实现虚拟托管式 URL 支持。
  • 虚拟托管式 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 地址而不是域名时,使用此样式。
    • 示例https: //s3.company.com/bucket_name/key-name
    • 示例:domain.domain.domain/ bucket
  • 注意:不建议使用路径样式 URL 选项,并且该选项将在 StorageGRID 的未来版本中弃用。

追加信息

其他信息文本

 

 

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.