Networking for directory buckets in an Availability Zone
To reduce the amount of time your packets spend on the network, configure your virtual private cloud (VPC) with a gateway endpoint to access directory buckets in Availability Zones while keeping traffic within the AWS network, and at no additional cost.
Endpoints for directory buckets in Availability Zones
The following table shows the Regional and Zonal API endpoints that are available for each Region and Availability Zone.
| Region name | Region | Availability Zone IDs | Regional endpoint | Zonal endpoint |
|---|---|---|---|---|
|
US East (N. Virginia) |
|
|
|
|
|
US East (Ohio) |
|
|
|
|
|
US West (Oregon) |
|
|
|
|
|
Asia Pacific (Mumbai) |
|
|
|
|
|
Asia Pacific (Tokyo) |
|
|
|
|
|
Europe (Ireland) |
|
|
|
|
|
Europe (Stockholm) |
|
|
|
|
Configuring VPC gateway endpoints
Use the following procedure to create a gateway endpoint that connects to Amazon S3 Express One Zone storage class objects and directory buckets.
To configure a gateway VPC endpoint
-
Open the Amazon VPC Console
. -
In the navigation pane, choose Endpoints.
-
Choose Create endpoint.
-
Create a name for your endpoint.
-
For Service category, choose AWS services.
-
For Services, add the filter Type=Gateway and then choose the option button next to com.amazonaws.
region.s3express. -
For VPC, choose the VPC in which to create the endpoint.
-
For Route tables, choose the route table in your VPC to be used by the endpoint. After the endpoint is created, a route record will be added to the route table that you select in this step.
-
For Policy, choose Full access to allow all operations by all principals on all resources over the VPC endpoint. Otherwise, choose Custom to attach a VPC endpoint policy that controls the principals' permissions to perform actions on resources over the VPC endpoint.
For IP address type, choose from the following options:
-
IPv4 – Assign IPv4 addresses to the endpoint network interfaces. This option is supported only if all selected subnets have IPv4 address ranges and the service accepts IPv4 requests.
-
IPv6 – Assign IPv6 addresses to the endpoint network interfaces. This option is supported only if all selected subnets are IPv6 only subnets and the service accepts IPv6 requests.
-
Dualstack – Assign both IPv4 and IPv6 addresses to the endpoint network interfaces. This option is supported only if all selected subnets have both IPv4 and IPv6 address ranges and the service accepts both IPv4 and IPv6 requests.
-
-
(Optional) To add a tag, choose Add new tag, and enter the tag key and the tag value.
-
Choose Create endpoint.
After creating a gateway endpoint, you can use Regional API endpoints and Zonal API endpoints to access Amazon S3 Express One Zone storage class objects and directory buckets.
To learn more about gateway VPC endpoints, see Gateway endpoints in the AWS PrivateLink Guide. For the data residency use cases, we recommend enabling access to your buckets only from your VPC using gateway VPC endpoints. When access is restricted to a VPC or a VPC endpoint, you can access the objects through the AWS Management Console, the REST API, AWS CLI, and AWS SDKs.
Note
To restrict access to a VPC or a VPC endpoint using the AWS Management Console, you must use the AWS Management Console Private Access. For more information, see AWS Management Console Private Access in the AWS Management Console guideAWS Management Console guide.