DEV Community

Discussion on: How I Setup My Own Personal CDN using Cloudflare and S3

Collapse
 
robcodes profile image
RobCodes

Just curious. Why cloudfare over aws cloudfront? With AWS Cloudfront you could assign a role, and then you would not have to make your S3 bucket private.

Collapse
 
joelnet profile image
JavaScript Joel

There are many options to do this. AWS Cloudfront is also a good solution. Same as the S3 back-end. It could have been any static host.

Collapse
 
robcodes profile image
RobCodes

What I mean is that Cloudfront is configured to pull from S3. So, what benefits did you have by using a different service provider such as Cloudfare? Was it cheaper? Easier to configure? Did you find it faster. or was this one of those "becasue I can" type of things?

Thread Thread
 
joelnet profile image
JavaScript Joel

For me, this piece with Cloudflare was easier than Cloudfront because there was no setup. All I had to do was change my DNS. If I used Cloudfront, I'd have to add that service and configure it. Cloudfront is also a good option, I just didn't need it for my specific use case.