Cloudfront and Global Accelerator
Cloudfront speeds up distribution of static and dynamic content through edge location. If content is not available in CF Point of presence and regional cache it is retrieved from origin - which can be S3 or Web Server (EC2) or ELB or API gateway. When using EC2 custom origin having redundant server helps. Content in S3 can be private and be accessed with signed URLs or signed cookies. If they are public they can be accessed directly. When S3 The default domain of cloudfront distribution can be modified to custom domains. Min expiry time for cache is 0 secs and no max limit. When caching is enabled CF can retrieve objects whose max size < 30 GB. When Caching is disable it can retrieve the object from origin. Range Gets can be used to retrieve large objects. We can define geo-restrictions to prevent users from certain countries . Use cases Accelerate static content delivery Video live streaming Serve private content using Lambda@Edge - Basically its public conte...