About this blog

This is a brief introduction on this blog. It describes the overall architecture and some of the design decisions behind it.

Q&A

Architecture

This is a simplified view of the architecture of this blog:

Architectural Diagram

The authoer uploads markdown files and images to an S3 bucket. Images triggers a lambda function to resize it to a standard size and markdowns are compiled to HTML fragments. The MD compiler is provided by GitHub.

Compiled fragments are tagged in a DynamoDB table and used by an extra Lambda function to create the index files.

This means all content becomes static and stored in S3. CloudFront is used to distribute said content, with Lambda@Edge being responsible for applying the HTML template before caching and sending the result back to the viewer.

Assumptions

Architectural Q&A