CNAME record setup
If you use the CloudFront DNS service, the CloudFront servers function as proxy for all DNS records. The CloudFlare's DDoS protection and CDN services are based on that.
If you want to use ALTERNcloud Edge CDN as your CDN provider, disable the proxying in the CloudFlare DNS settings by clicking the cloud icon during the CNAME record creation.
Origin Pull Protocol setup
Due to the differences in our and CloudFlare's infrastructures, if you set HTTPS as your "Origin Pull Protocol", you will likely start getting 502 errors.
To avoid it, add the Change SNI Hostname option in the "Security" section or change "Origin Pull Protocol" to HTTP.