AWS announces CloudFront Functions


AWS Logo
AWS Logo

AWS announced general availability of “CloudFront Functions“. The product allows deploying lightweight functions on the edge of CloudFront’s CDN deployment, bringing logic close to the end user. After CloudFlare initiated a trend with their Workers, AWS is the third major cloud player to enter the space with this offering.

The purpose of such an architecture is to bring specific logic closer to the consumer, therefore delivering richer, more personalized content with lower latency. With a distribution across 225+ CloudFront edge locations in 90 cities across 47 countries the promise is huge.

To get developers kickstarted, AWS published a Github repo with examples. As one would expect, these are primarily revolving around http header manipulation and authentication. CloudFront Functions runs JavaScript.