Configure Cloudfront

Cloudfront Origin request policy

  1. In the Distributions interface

    • Select the Distributions you just created distribution
    • Select Origins
    • Select the Origin name you just created
    • Select Edit Edit distribution
  2. On the Edit origin interface

    • Select the OAC you just created.

    • Select Copy policy

    • Redirect to the S3 bucket you created Edit origin

    • After entering your Bucket select Permissions Bucket

    • Scroll down to find Bucket policy, select Edit Bucket policy

    • Paste the code into the S3 Bucket policy

    • Select Save changes Bucket policy

    • You have successfully created an Origin request policy