Hugo Lambda

screenshot of Hugo Lambda

Use AWS Lambda to run the Hugo static site generator

Overview

Hugo Lambda is a wrapper around the Hugo static site generator that allows it to run in AWS Lambda whenever new content is uploaded. It provides a solution for running a CMS-like system without the need for a server, making it more cost-effective for infrequently edited sites.

Features

  • CloudFormation template for IAM roles and buckets
  • Diagnostic/debug functionality for functions
  • Storage of configuration in a secure location
  • Download site sources to Lambda instance
  • Run Hugo to generate the site
  • Upload the output to a configured bucket

Summary

Hugo Lambda is a tool that allows Hugo, a static site generator, to run in AWS Lambda. By using Hugo Lambda, you can have the benefits of a CMS without the need for a server. This makes it a more cost-effective solution for infrequently edited sites. The installation process is straightforward and requires basic configuration changes.