Personal Blog on OCI and GitHub

Published:

  • Duration: from 2022

Motivation

I want a blog with the lowest cost while still providing low latency and convenient development.

Overview

I build this blog with multiple Jekyll templates which are compiled into multiple static HTML and JavaScript files. I use Terraform to develop the cloud architecture using:

  • Gateway
  • S3 Storage
  • Functions

To automate the build pipeline, I use GitHub Actions to automatically run the Terraform build and deployment.

To reduce costs and latency, I use Cloudflare as a CDN.

Why not directly use GitHub Pages?

  1. It is blocked in mainland China.
  2. For flexible architectures with multiple sites and templates.

Total cost: < $0.05 per month.

Related Techniques

  • Oracle Cloud Infrastructure
  • Serverless
  • Terraform
  • Cloudflare
  • GitHub Actions

Status

Done.