Logo James Ray's Blog
  • Home
  • About
  • Accomplishments
  • Projects
  • Experiences
  • Posts
  • Notes
  • Photography
  • Dark Theme
    Light Theme Dark Theme System Theme
Logo
  • Posts
  • Projects
    • Video Streamer
      • Video Streamer Info
      • Infrastructure
        • Getting Started
        • S3 Object Creation
        • GitHub Terraform
        • Terraform vs CDK
      • Frontend
        • Adding Cognito
        • Front End Design 1/?
        • Writing Mocha Part 1/?
      • Backend
    • Real-Time Chat
  • DevOps & CI/CD
    • AI in DevOps
    • Jenkins
      • Change Jenkins URL
      • Disabling Jenkins Security
    • DevOps & Mental Health
  • Homelab
    • Home Lab Kubernetes
  • Hugo Projects
    • Hugo AWS Complete Guide
      • Hugo AWS Complete Guide (intro)
      • Part 1: CI/CD Pipeline
      • Part 2: AWS Infrastructure
      • Part 3: WAF Security
      • Part 4: Monitoring
    • Hugo PlantUML Extension
    • Hugo Include Code
  • Tips & Tooling
    • Maintenance Mode
    • No Code
  • Life Updates
    • Aug. 2025
    • Jan. 2022
    • Life Update 1
    • Why I blog
    • Reflections
  • Hobbies
    • Pipes, Cigars, and Tobacco
      • Tobacco
        • Gurkha Rare Breed
        • Lane Burley
        • SF - Classic Black
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
Hero Image
Part 3: Security and WAF - Complete Hugo on AWS Guide

In Part 2, we set up a production-ready hosting infrastructure with CloudFront and Route 53. While CloudFront provides some built-in DDoS protection, adding AWS WAF (Web Application Firewall) gives us granular control over traffic filtering, rate limiting, and protection against common web attacks. In this part, we’ll implement comprehensive security measures for your Hugo site. This is Part 3 of our Complete Guide to Hugo on AWS. Make sure you’ve completed Part 2: AWS Infrastructure first.

Monday, September 15, 2025 Read
Hero Image
Part 4: Monitoring and Operations - Complete Hugo on AWS Guide

In this final part of our Hugo on AWS series, we’ll implement comprehensive monitoring and operational excellence practices. After building your CI/CD pipeline, infrastructure, and security layer, it’s crucial to have visibility into your site’s performance, availability, and user experience. What We’ll Build By the end of this guide, you’ll have: 📊 CloudWatch Dashboards for infrastructure and application metrics 🔔 Intelligent Alerting for availability and performance issues 👥 Real User Monitoring to understand actual user experience 🏥 Automated Health Checks with multi-region monitoring ⚡ Performance Optimization based on data-driven insights 💰 Cost Monitoring and budget alerts Architecture Overview Step 1: CloudWatch Dashboards Infrastructure Monitoring Dashboard First, let’s create a comprehensive dashboard to monitor our infrastructure components.

Monday, September 22, 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