-
Setting Up CloudFront Functions for Hugo Page Routing
When hosting a Hugo site on AWS CloudFront, URLs ending with a trailing slash (like
/about/) don’t automatically resolve to their correspondingindex.htmlfiles. While Lambda@Edge can solve this, CloudFront Functions provide a more cost-effective and faster solution. This article will guide you through setting up a CloudFront Function to handle this routing properly.Why CloudFront Functions?
CloudFront Functions are a perfect fit for this URL rewriting task because:
-
In today’s digital world, image recognition and matching have become crucial in various applications. AWS API Gateway, coupled with AWS Rekognition, offers a powerful combination to upload and process images, enabling us to find the closest matches effortlessly. In this article, we will explore how to utilize AWS API Gateway to upload images and leverage Velocity Template Language (VTL) to construct requests for AWS Rekognition to identify the closest image matches.