News for hackers. Stuff that matters.
Re:Cloudflare Sippy: Incrementally Migrate Data from AWS S3 ... by kmeisthax on Monday October 16, 2023 @12:05AM (#37895824)
So, 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?
Re:Cloudflare Sippy: Incrementally Migrate Data from AWS S3 ... by attentive on Monday October 16, 2023 @03:47AM (#37896859)
Correct, 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".