Logo James Ray's Blog
  • Home
  • About
  • Accomplishments
  • Projects
  • Experiences
  • Posts
  • Notes
  • Photography
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo
  • Categories
  • Aromatic
  • Astrophotography
  • Automation
  • Aws
  • Backend
  • Blog
  • Burley
  • Cavendish
  • Cognito
  • Day in the Life
  • DevOps
  • Documentation
  • Dogwood
  • Frontend
  • Hugo
  • Infrastructure
  • Jenkins
  • Latakia
  • Learning
  • Life
  • Loose Cut
  • Mochajs
  • Monitoring
  • Moon
  • No-Code
  • Perique
  • Pine Trees
  • Projects
  • Red Virginia
  • Ribbon Cut
  • Security
  • Snow
  • Terraform
  • Toenail Moon
  • Tools
  • Turkish
  • Vuejs
Hero Image
Complete Guide to Hugo on AWS: From CI/CD to Production Infrastructure

Welcome to the complete guide for deploying Hugo sites on AWS! This comprehensive series covers everything from basic CI/CD automation to production-grade infrastructure with security, monitoring, and global distribution. Architecture Overview Our complete setup provides a robust, secure, and globally distributed static site hosting solution: What You’ll Learn This guide is structured as a progressive journey from basic automation to enterprise-grade infrastructure: Part 1: CI/CD Pipeline with GitHub Actions Set up GitHub Actions for automated Hugo builds Configure AWS OIDC for secure, keyless authentication Deploy to S3 with proper IAM permissions Implement scheduled publishing with Hugo’s publishDate Part 2: Complete AWS Infrastructure Set up Route 53 for custom domain management Configure CloudFront for global content delivery Implement SSL/TLS with AWS Certificate Manager Advanced caching strategies and performance optimization Part 3: Security with AWS WAF Deploy AWS WAF for web application protection Configure rate limiting and DDoS protection Implement IP allowlists/blocklists Set up security monitoring and alerting Part 4: Monitoring and Operations CloudWatch dashboards and custom metrics Real User Monitoring (RUM) integration Automated health checks and alerting Performance optimization based on analytics Key Benefits This architecture provides:

Monday, August 25, 2025 Read
Hero Image
Part 1: CI/CD Pipeline with GitHub Actions

Building and deploying a static site with Hugo can be as simple as running a couple of commands on your local machine. But if you want to publish updates frequently, automate your workflow, and avoid the possibility of human error, a continuous integration/continuous delivery (CI/CD) pipeline is essential. In this first part of our comprehensive guide, we’ll set up GitHub Actions to automatically build and deploy your Hugo site to AWS S3 using Terraform for infrastructure management and AWS OIDC for secure, keyless authentication.

Monday, September 1, 2025 Read
Hero Image
Part 2: Complete AWS Infrastructure

In Part 1, we set up automated deployments to S3. While functional, your site is still missing crucial production features: a custom domain, SSL certificate, and global content delivery. In this part, we’ll complete the AWS infrastructure stack using Terraform to create a professional, high-performance hosting solution. This is Part 2 of our Complete Guide to Hugo on AWS. Make sure you’ve completed Part 1: CI/CD Pipeline first. Why CloudFront and Route 53? While you can serve a Hugo site directly from S3, using CloudFront and Route 53 provides significant benefits:

Monday, September 8, 2025 Read
Navigation
  • About
  • Accomplishments
  • Projects
  • Experiences
Contact me:
  • james@rayprogramming.com
  • (812)955-0729

Stay up to date with email notification


By entering your email address, you agree to receive the newsletter of this website.

Toha Theme Logo Toha
© 2025 Copyright.
Powered by Hugo Logo