AWS AmazonCloudFront: CloudFront VPC origins: add dual-stack IPv6 and prefix list guidance
Summary
Updates VPC origin documentation to support dual-stack (IPv4+IPv6) prerequisites, clarifies which CloudFront managed prefix lists to allow in security groups per origin type, adds an 'Origin type' console step, and renumbers the step-by-step procedures.
Security assessment
The change is not tied to a specific vulnerability but refines security-relevant guidance: it tells users which CloudFront managed prefix lists to allow for IPv4 vs dual-stack VPC origins, which restricts security group ingress to CloudFront and preserves private origin exposure. It also adds IPv6 subnet requirements and a console 'Origin type' selection step for dual-stack support. This is network hardening/security-adjacent documentation rather than a fix for a disclosed issue.
Evidence
* **Option 1:** Allow traffic from the CloudFront managed prefix list. For more information, see [Use the CloudFront managed prefix list](./LocationsOfEdgeServers.html#managed-prefix-list). This can be done before the VPC origin is created as well. For an IPv4 VPC origin, use only `com.amazonaws.global.cloudfront.origin-facing`. For a dual-stack VPC origin, use both `com.amazonaws.global.cloudfront.origin-facing` and `com.amazonaws.global.ipv6.cloudfront.origin-facing`.
Diff
diff --git a/AmazonCloudFront/latest/DeveloperGuide/private-content-vpc-origins.md b/AmazonCloudFront/latest/DeveloperGuide/private-content-vpc-origins.md index cf42817..8c67865 100644 --- a//AmazonCloudFront/latest/DeveloperGuide/private-content-vpc-origins.md +++ b//AmazonCloudFront/latest/DeveloperGuide/private-content-vpc-origins.md @@ -40 +40 @@ Your VPC must include the following: - * **Private subnet with at least one available IPv4 address** – CloudFront routes to your subnet by using a service-managed elastic network interface (ENI) that CloudFront creates after you define your VPC origin resource with CloudFront. You must have at least one available IPv4 address in your private subnet so that the ENI creation process can succeed. The IPv4 address can be private, and there is no additional cost for it. + * **Private subnet with at least one available IPv4 address (and, for dual-stack support, at least one available IPv6 address)** – CloudFront routes to your subnet by using a service-managed elastic network interface (ENI) that CloudFront creates after you define your VPC origin resource. You must have at least one available IPv4 address (and, for dual-stack support, at least one available IPv6 address) in your private subnet so that the ENI creation process can succeed. These addresses can be private, and there is no additional cost for them. @@ -66 +66 @@ To allow traffic from CloudFront to reach your VPC origin, update the security g - * **Option 1:** Allow traffic from the CloudFront managed prefix list. For more information, see [Use the CloudFront managed prefix list](./LocationsOfEdgeServers.html#managed-prefix-list). This can be done before VPC origin created as well. + * **Option 1:** Allow traffic from the CloudFront managed prefix list. For more information, see [Use the CloudFront managed prefix list](./LocationsOfEdgeServers.html#managed-prefix-list). This can be done before the VPC origin is created as well. For an IPv4 VPC origin, use only `com.amazonaws.global.cloudfront.origin-facing`. For a dual-stack VPC origin, use both `com.amazonaws.global.cloudfront.origin-facing` and `com.amazonaws.global.ipv6.cloudfront.origin-facing`. @@ -102 +102 @@ The following procedure shows you how to create a VPC origin for your new CloudF - 4. Choose **Create VPC origin**. + 4. Select the **Origin type**. The default is IPv4. @@ -104 +104 @@ The following procedure shows you how to create a VPC origin for your new CloudF - 5. Wait for your VPC origin status to change to **Deployed**. This can take up to 15 minutes. + 5. Choose **Create VPC origin**. @@ -106 +106 @@ The following procedure shows you how to create a VPC origin for your new CloudF - 6. Choose **Distributions** , **Create distribution**. + 6. Wait for your VPC origin status to change to **Deployed**. This can take up to 15 minutes. @@ -108 +108,3 @@ The following procedure shows you how to create a VPC origin for your new CloudF - 7. For **Origin domain** , select your VPC origins resource from the dropdown list. + 7. Choose **Distributions** , **Create distribution**. + + 8. For **Origin domain** , select your VPC origins resource from the dropdown list. @@ -112 +114 @@ If your VPC origin is an EC2 instance, copy and paste the **Private IP DNS name* - 8. Finish creating your distribution. For more information, see [Create a CloudFront distribution in the console](./distribution-web-creating-console.html#create-console-distribution). + 9. Finish creating your distribution. For more information, see [Create a CloudFront distribution in the console](./distribution-web-creating-console.html#create-console-distribution). @@ -131 +133,3 @@ Optionally, you could choose to add your VPC origin to your existing distributio - 4. Choose **Create VPC origin**. + 4. Select the **Origin type**. The default is IPv4. + + 5. Choose **Create VPC origin**. @@ -133 +137 @@ Optionally, you could choose to add your VPC origin to your existing distributio - 5. Wait for your VPC origin status to change to **Deployed**. This can take up to 15 minutes. + 6. Wait for your VPC origin status to change to **Deployed**. This can take up to 15 minutes. @@ -135 +139 @@ Optionally, you could choose to add your VPC origin to your existing distributio - 6. In the navigation pane, choose **Distributions**. + 7. In the navigation pane, choose **Distributions**. @@ -137 +141 @@ Optionally, you could choose to add your VPC origin to your existing distributio - 7. Choose the ID of your distribution. + 8. Choose the ID of your distribution. @@ -139 +143 @@ Optionally, you could choose to add your VPC origin to your existing distributio - 8. On the **General** tab, under **Continuous deployment** , choose **Create staging distribution**. For more information, see [Use CloudFront continuous deployment to safely test CDN configuration changes](./continuous-deployment.html). + 9. On the **General** tab, under **Continuous deployment** , choose **Create staging distribution**. For more information, see [Use CloudFront continuous deployment to safely test CDN configuration changes](./continuous-deployment.html). @@ -141 +145 @@ Optionally, you could choose to add your VPC origin to your existing distributio - 9. Follow the steps in the **Create staging distribution** wizard to create a staging distribution. Include the following steps: + 10. Follow the steps in the **Create staging distribution** wizard to create a staging distribution. Include the following steps: @@ -151 +155 @@ If your VPC origin is an EC2 instance, copy and paste the **Private IP DNS name* - 10. In your staging distribution, test the VPC origin. + 11. In your staging distribution, test the VPC origin. @@ -153 +157 @@ If your VPC origin is an EC2 instance, copy and paste the **Private IP DNS name* - 11. Promote the staging distribution configuration to your primary distribution. For more information, see [Promote a staging distribution configuration](./working-with-staging-distribution-continuous-deployment-policy.html#promote-staging-distribution-configuration). + 12. Promote the staging distribution configuration to your primary distribution. For more information, see [Promote a staging distribution configuration](./working-with-staging-distribution-continuous-deployment-policy.html#promote-staging-distribution-configuration). @@ -155 +159 @@ If your VPC origin is an EC2 instance, copy and paste the **Private IP DNS name* - 12. Remove public access to your VPC origin by making the subnet private. After you do this, the VPC origin won't be discoverable over the internet, but CloudFront will still have private access to it. For more information, see [Associate or disassociate a subnet with a route table](https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithRouteTables.html#AssociateSubnet) in the _Amazon VPC User Guide_. + 13. Remove public access to your VPC origin by making the subnet private. After you do this, the VPC origin won't be discoverable over the internet, but CloudFront will still have private access to it. For more information, see [Associate or disassociate a subnet with a route table](https://docs.aws.amazon.com/vpc/latest/userguide/WorkWithRouteTables.html#AssociateSubnet) in the _Amazon VPC User Guide_.