Header Ads Widget

Cloudfront Distribution Setup With AWS For V2ray

Also Read


A step-by-step guide for creating Cloudfront distributions for V2ray with ingnix. With Amazon Web Hosting Services with a major focus on V2ray and the best method for AWS hosted SNI. However, this process is done after installing v2ray onto your server to boost your VPN speed and add an extra security layer to your V2ray VPN traffic. As a trial, AWS provides 50GB of free data usage on their Cloudfront platform to new accounts.

This process requires you to have a verified Amazon Webhosting account and a domain name pointed to your V2Ray installed server with already extracted VMESS.

We also made a video tutorial - Click here to watch it 

Creating Amazon Webhosting Service Account

Go to AWS official website and create an account in 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".




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".






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.


The photo below shows a sample of successfully created Cloudfront distributions with a major focus on V2ray.



Copy the new URL provided by AWS and replace your primary domain in V2ray Vmess using your preferred V2ray client, click save and connect. Enjoy!!

We also made a video guide for you Click here to watch it
What else have we missed in this article? Kindly leave us a comment in case you need assistance.

Post a Comment

0 Comments