Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.59 KB

README.md

File metadata and controls

35 lines (24 loc) · 1.59 KB

The Cloud Optimist

Screenshot of the blog

This project is a personal blog focused on Cloud & DevOps topics.

It features a static website built with Hugo (with the Paper theme) and hosted on AWS. The infrastructure is managed using Terraform, and all deployments are automated using GitHub Actions.

Architecture

The blog is hosted on AWS using the following services:

  • S3: For hosting the static website files.
  • CloudFront: To deliver content quickly and securely across the globe.
  • Route 53: For managing the domain name.
  • ACM: To manage SSL/TLS certificates.

On new commits, a GitHub Action job will deploy the new infrastructure via Terraform (if any changes were detected), build the Hugo website and deploy its content to AWS S3 (again, if new changes are detected).

Automatic deploy static website AWS drawio

Upgrade

Hugo

To upgrade Hugo, edit the main.yml file with hugo's latest release:

# Replace this URL with a newer version
- run: sudo wget https://github.com/gohugoio/hugo/releases/download/v0.133.1/hugo_extended_0.133.1_linux-amd64.deb -O hugo.deb

Make sure to update the hugo's theme as well:

git submodule init
git submodule update --remote --merge