This process requires you to have a verified Amazon Web Hosting account and a domain name pointed to your V2Ray-installed server with an already extracted VMESS.
Creating an Amazon Web Hosting Service Account
Go to the AWS official website and create an account with your real details.
Make sure to use the correct details, which should be similar to your credit card details, to avoid your free trial getting canceled due to fraud detection. Your account will undergo verification, and it takes between 20 and 30 minutes.
How to Make a Cloudflare Distribution
In the following steps, you will be directed briefly to CloudFront distribution creation, and kindly pay attention to both the screenshots and the text directions.
On your AWS account dashboard search bar, search and select "Cloudfront"
You will be directed to the AWS Cloudfront Distribution page. All you need to do is select "Create Distribution".
Finally, we are almost done! All you need is to click the "Create Distribution" button after which you will be re-directed to the Cloudfront distributions dashboard.
In the "Origin Domain Name", Enter the domain name you configured with v2ray on your server, select TLSv1 as the minimum origin SSL protocol, HTTPS only as the origin protocol policy, and leave the other settings default.
For viewer protocol policy, select HTTPS only and scroll to "Origin Request Policy" and select "Managed Allviewer".
The photo below shows a sample of successfully created Cloudfront distributions with a major focus on V2ray.