

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# Amazon Simple Storage Service 端點和配額
<a name="s3"></a>

若要以程式設計方式連線至 AWS 服務，您可以使用 endpoint. AWS services，在服務支援的部分或全部 AWS 區域中提供下列端點類型：IPv4 端點、雙堆疊端點和 FIPS 端點。有些 服務提供全域端點。如需詳細資訊，請參閱[AWS 服務端點](rande.md)。

服務配額也稱為限制，是 AWS 您的帳戶的服務資源或操作數量上限。如需詳細資訊，請參閱[AWS 服務配額](aws_service_limits.md)。

以下是此服務的服務端點和服務配額。

## 服務端點
<a name="s3_region"></a>

### Amazon S3 端點
<a name="s3-core"></a>

當您使用 REST API 將請求傳送至下表所示的端點時，您可以使用虛擬託管樣式和路徑樣式方法。如需詳細資訊，請參閱[儲存貯體的虛擬託管](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html)。

**注意**  
某些區域支援舊版端點。如需路徑樣式和虛擬託管樣式 URL 請求的 Amazon S3 回溯相容性相關資訊，請參閱[回溯相容性](https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html#VirtualHostingBackwardsCompatibility)。

#### Amazon S3 一般端點
<a name="auto-endpoints-s3"></a>

[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/general/latest/gr/s3.html)

#### Amazon S3 Tables 端點
<a name="s3-tables"></a>

`s3-tables` 端點僅用於 Amazon S3 Tables 操作。如需詳細資訊，請參閱[使用 Amazon S3 Tables 和資料表儲存貯體](https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-tables.html)。

[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/general/latest/gr/s3.html)

#### Amazon S3 一般端點
<a name="auto-endpoints-s3"></a>

[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/general/latest/gr/s3.html)

#### Amazon S3 存取點端點
<a name="auto-endpoints-ap-s3"></a>

`s3-accesspoint` 端點僅用於透過 Amazon S3 存取點提出請求。如需詳細資訊，請參閱[使用 Amazon S3 存取點](https://docs.aws.amazon.com/AmazonS3/latest/dev/access-points.html)。

若要與這些端點互動，您必須在端點名稱前面加上下列其中一種格式的相關存取點名稱：

{{access-point}}.s3-accesspoint.{{AWS 區域 code}}.amazonaws.com

{{access-point}}.s3-accesspoint-fips.dualstack.{{AWS 區域 code}}.amazonaws.com

{{access-point}}.s3-accesspoint-fips.{{AWS 區域 code}}.amazonaws.com

{{access-point}}.s3-accesspoint.dualstack.{{AWS 區域 code}}.amazonaws.com

[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/general/latest/gr/s3.html)

#### Amazon S3 控制端點
<a name="auto-endpoints-control-s3"></a>

`s3-control` 端點會與 Amazon S3 帳戶層級操作搭配使用。若要與這些端點互動，您必須在端點名稱前面加上下列其中一種格式的相關 AWS 帳戶 ID：

{{account-id}}.s3-control.{{AWS 區域 code}}.amazonaws.com

{{account-id}}.s3-control.dualstack.{{AWS 區域 code}}.amazonaws.com

{{account-id}}.s3-control-fips.dualstack.{{AWS 區域 code}}.amazonaws.com

{{account-id}}.s3-control-fips.{{AWS 區域 code}}.amazonaws.com

[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/general/latest/gr/s3.html)

**注意**  
Amazon S3 雙堆疊端點支援透過 IPv6 與 IPv4 的 S3 儲存貯體要求。如需詳細資訊，請參閱[使用雙堆疊端點](https://docs.aws.amazon.com/AmazonS3/latest/userguide/dual-stack-endpoints.html)相關文章。

 使用上述端點時，適用下列其他考量：
+ Amazon S3 將美國標準區域重新命名為美國東部 （維吉尼亞北部） 區域，以符合 AWS 區域命名慣例。端點本身沒有任何變更，所以不必變更您的應用程式。
+ 如果您使用美國東部 （維吉尼亞北部） 端點以外的區域來建立儲存貯體，則必須將儲存`LocationConstraint`貯體參數設定為相同的區域。 適用於 Java 的 AWS SDK 和 都 適用於 .NET 的 AWS SDK 使用列舉來設定位置限制 (`Region`適用於 Java，`S3Region`適用於 .NET)。如需詳細資訊，請參閱《Amazon Simple Storage Service API 參考》**中的 [https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUT.html](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUT.html)。

**多值回答 DNS 路由**  
Amazon S3 使用多值回答 (MVA) DNS 路由傳回多個回答，以回應其端點的 DNS 查詢。此行為可讓應用程式跨多個 Amazon S3 IP 地址平行處理其請求，藉此改善效能和可用性。

若要自動受益於 MVA，您可以使用較新版本的 AWS SDKs，包括[適用於 Java 的 SDK 2.x](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/home.html)、[適用於 C\+\+ 的 SDK](https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/welcome.html) 和[適用於 Python 的 SDK (Boto3)](https://docs.aws.amazon.com/personalize/latest/dg/getting-started-python.html)。如果您使用[適用於 Java 的 SDK 2.x](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/migration.html)，並針對非同步操作啟用[通用執行期 (CRT)](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/http-configuration-crt.html) 程式庫，您的請求將自動使用 MVA 路由。

 [AWS CRT 型 S3 用戶端](https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/crt-based-s3-client.html)是替代的 Amazon S3 非同步用戶端，可讓您自動利用 S3 [分段上傳 API](https://docs.aws.amazon.com/AmazonS3/latest/userguide/mpuoverview.html) 和[位元組範圍擷取](https://docs.aws.amazon.com//whitepapers/latest/s3-optimizing-performance-best-practices/use-byte-range-fetches.html)，在 S33 之間來回傳輸物件。 AWS CRT S3-based用戶端透過自動重試分段檔案傳輸的個別失敗部分，而無需從頭重新開始傳輸，從而提高可靠性。與 MVA 搭配使用時，會對替代 IP 地址進行這些重試，進一步改善您與 S3 連線的可靠性。

 在應用程式不支援 MVA 路由的情況下，他們會使用回應中的第一個 IP。所有 都支援 Amazon S3 MVA 路由 AWS 區域，但 除外 AWS GovCloud (US)。如需詳細資訊，請參閱[多值答案路由](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/routing-policy-multivalue.html)。

### Amazon S3 網站端點
<a name="s3_website_region_endpoints"></a>

當您將儲存貯體設定為網站時，可以使用下列區域特定的網站端點來取得網站。請注意，網站端點與先前表格中所列的 REST API 端點不同。如需在 Amazon S3 上託管網站的詳細資訊，請參閱《Amazon *Simple Storage Service 使用者指南*》中的在 [Amazon S3 上託管網站](https://docs.aws.amazon.com/AmazonS3/latest/userguide/WebsiteHosting.html)。使用 Amazon Route 53 API 將別名記錄新增至您的託管區域時，您需要託管區域 IDs。

**注意**  
Amazon S3 網站端點不支援 HTTPS 或 Amazon S3 存取點。若要使用 HTTPS，您可以使用 Amazon CloudFront，為 Amazon S3 上託管的靜態網站提供服務。如需詳細資訊，請參閱《*Amazon S3*[3 使用者指南》中的使用註冊 Route 53 的自訂網域設定靜態網站](https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-custom-domain-walkthrough.html)，以及[使用 CloudFront 改善網站的效能](https://docs.aws.amazon.com/AmazonS3/latest/userguide/website-hosting-cloudfront-walkthrough.html)。

#### Amazon S3 網站端點和 HostedZone IDs
<a name="auto-endpoints-website-s3"></a>

[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/general/latest/gr/s3.html)

## Service Quotas
<a name="limits_s3"></a>

### Amazon S3
<a name="limits-s3-classic"></a>

[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/general/latest/gr/s3.html)

### Amazon S3 on Outposts
<a name="limits-s3-outposts"></a>

[See the AWS documentation website for more details](http://docs.aws.amazon.com/zh_tw/general/latest/gr/s3.html)