Skip to main content
Skip table of contents

Amazon CloudFront (AWS) Configuration Guide

Introduction

To forward requests to JENTIS via CloudFront we need to add new custom origin in the CloudFront distribution and define a behavior for the origin.


Prerequesits

  • Admin access to the AWS Management Console.


Step 1: Create Origin

  1. Sign in to the AWS Management Console and open the CloudFront console at https://console.aws.amazon.com/cloudfront/v4/home.

  2. Navigate to Distributions

  3. Open the distribution for your website

  4. Navigate to Origins

  5. Click Create origin

Screenshot 2025-04-11 at 15.19.39.png
  1. Specify the following:

    1. Origin domain: hash of the JENTIS container as subdomain + . + website domain, e.g. hash.yourwebsitedomain.com

    2. Protocol: HTTPS

    3. Port: 443

    4. MinimumSSL protocol: TLSv1.2

    5. Name: hash.yourwebsitedomain.com (or any other)

    6. Enable Origin Shield: No

Screenshot 2025-04-11 at 15.55.35.png
  1. Press Create Origin


Step 2: Define Behavior

  1. In your website distribution go to Behaviors;

  2. Click Create behavior

Screenshot 2025-04-11 at 16.02.33.png
  1. Specify the following:

    1. Path pattern: '/' + hash of the tracking container, e.g /hash

    2. Origin and origin groups: hash.yourwebsitedomain.com (origin from the previous step)

    3. Compress objects automatically: No

    4. Viewer protocol policy: HTTPS Only

    5. Allowed HTTP methods: GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE

    6. Cache HTTP methods: disabled

    7. Allow gRPC requests over HTTP/2: disabled

    8. Restrict viewer access: No

    9. Cache key and origin requests → Cache policy: CachingDisabled

    10. Cache key and origin requests → Origin request policy: None

    11. Cache key and origin requests → Response headers policy: None

Screenshot 2025-04-11 at 16.15.24.png
  1. Press Create Behavior


Conclusion

You have now created your new custom behaviour, and your request will from now on be forwarded.


If you have any questions or suggestions, contact us through our Helpdesk.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.