You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 2-Create_CloudFront_Distribution/README.md
+9-5Lines changed: 9 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,12 +7,16 @@ In this step you will create an Amazon CloudFront distribution with your Amazon
7
7
2. Choose **Create Distribution**.
8
8
3. Under Web, choose **Get Started**.
9
9
4. For **Origin Domain Name** choose your Amazon S3 Bucket from Step 1.
10
-
5. For **Restrict Bucket Access** choose **Yes**.
11
-
6. For **Origin Access Identity** choose **Create a New Identity**.
12
-
7. For **Grant Read Permissions on Bucket** choose **Yes, Update Bucket Policy**. This will automatically add an Amazon Bucket policy to the your bucket allowing only this CloudFront distribution to read from the bucket.
10
+
5. For **Origin access** choose **Origin access control settings**.
11
+
6. For **Origin access control** choose **Create control setting**.
12
+
7. For **Signing behavior** choose **Sign requests**. Leave **Do not override authorization header** unchecked. Choose **Create**to continue.
13
13
8. Leave everything else as default and choose **Create Distribution**.
14
-
9. In the distribution details screen, note the **Distribution Status**. Wait for the status to change from **In Progress** to **Deployed**. It can take upward of 5 minutes for the process to complete.
15
-
10. Under **Domain Name** copy the FQDN, similar to `dxxxxxxxxxz.cloudfront.net`.
14
+
9. In the distribution view, choose **Origins** tab.
15
+
10. In the **Origins** tab, select the origin you just created and choose **Edit**.
16
+
11. In the **Edit origin** view, choose **Copy policy** to copy the S3 bucket policy to your clipboard.
17
+
12. Add the S3 bucket policy to your S3 bucket.
18
+
13. In the distribution details screen, note the **Distribution Status**. Wait for the status to change from **In Progress** to **Deployed**. It can take upward of 5 minutes for the process to complete.
19
+
14. Under **Domain Name** copy the FQDN, similar to `dxxxxxxxxxz.cloudfront.net`.
16
20
17
21
### Test Public Distribution
18
22
You want to test to verify that the distribution is setup correctly and has access to the Amazon S3 contents.
0 commit comments