I Set Up MY OWN PERSONAL CDN using AWS S3 and Cloudflare to serve STATIC FILES

Joel Codes
Joel Codes
21.2 هزار بار بازدید - 4 سال پیش - I often find myself needing
I often find myself needing to host public static files. I want to do so in a way that is fast, efficient, reliable, and scalable.

So this time I decided to setup my own personal CDN.

Article: https://joel.net/how-i-setup-my-own-p...

0:05 - What is a CDN?
0:35 - Why would I need a CDN?
1:22 - Set up my AWS S3 Bucket
4:38 - Set up Cloudflare DNS
5:24 - Test. Is it working?
6:10 - Summary
6:29 - Subscribe
6:36 - Dumpling

My Bucket Policy:
{
   "Version": "2012-10-17",
   "Statement": [
       {
           "Sid": "PublicReadGetObject",
           "Effect": "Allow",
           "Principal": "*",
           "Action": "s3:GetObject",
           "Resource": "arn:aws:s3:::cdn.joel.net/*"
       }
   ]
}

I said RSync, but I meant RCLONE:
https://rclone.org
4 سال پیش در تاریخ 1399/07/21 منتشر شده است.
21,277 بـار بازدید شده
... بیشتر