6 ms·
Anyone doing serious traffic with AWS will use cloud front and then you get additional savings on-top of that and you can negotiate a better rate then provided
by ludjer 3y ago
Anyone doing serious traffic with AWS will use cloud front and then you get additional savings on-top of that and you can negotiate a better rate then provided depending on usage so some people pay way less then the advertised price.
- judge2020 3y agoSure, if you're a business that has to burn money on servers anyways, but a lot of people avoid AWS for side-projects and non-business applications because it can easily balloon to over $100/month with just a few services and moderate traffic.
- kmeisthax 3y agoAlso, CloudFront can't proxy bare EC2 servers, you have to shove them behind an ELB, which is additional cost.
- abcdefg12 3y agoOf course it can.
- kmeisthax 3y agoSo, the CloudFront setup process only surfaces S3, ELBs, API Gateways, Mediastore, and Mediapackage domains as origin domains. I do notice that it will let me type in an arbitrary domain - is that how you're supposed to stick bare EC2 instances behind CloudFront? Just provide it something like realoriginserverplsdonthack.example.com and use some other method (e.g. VPC configuration) to prevent bypassing CloudFront?
- attentive 3y agoCorrect, you can put multiple instances (A records) there, if on route53 you can also use healthchecks, geo etc. If you want to lock ec2 access to cloudfront only you can do it in SG with "managed prefix list for CloudFront".
- pnpnp 3y agoCounter-point: it can also be extremely cheap. I’m in a seemingly small subset of people that is very happy with AWS for side projects. Granted I’m not doing anything that requires many resources.