Blogs

Hosting a Hugo Website on AWS Made Easy with Terraform: S3, CloudFront, Route53, and SSL Automation

In this post I will show you how to deploy a Hugo site to AWS using Terraform. The idea is not only to store the Hugo site static files in an S3 bucket and serve it using CloudFront, but also to automate the process of creating any needed DNS records with Route53 and the corresponding certificates with AWS Certificate Manager. The architecture of the site is shown below: For simplicity, I will ignore terraform best practices, and create a single main.

Serverless Image Upload and Object Detection on AWS Using Lambda, Rekognition, DynamoDB, and Terraform

Introduction This post will show you how to build a serverless image upload and object detection application on AWS using Lambda, Rekognition, DynamoDB, and Terraform. The architecture of the application is shown below: The application allows users to upload images to an S3 bucket. When an image is uploaded, an S3 bucket notification triggers a Lambda function that reads the image from the S3 bucket, sends it to the Rekognition service for object detection, and stores the results in a DynamoDB table.