How To Setup Cloudfront With Cs-Cart 4.8

I need your help to configure CoudFront, the platform is hosted at AWS, the CS-cart installed in EC2 with an autoscaling group connected with mysql-RDS.

I tried many times after i read the CS-cart documentation the website doesn't load correctly, - Breaks after I clear the cache, and cs-csart redirect the session to the loadbalancer not to the cloudfront.

I didn't find any tutorial or guide regarding this.