Architectural Diagram for Website

Continuous Delivery & Deployment Pipeline for Serverless Personal Website on AWS

A personal website is a good way of showcasing and demonstrating one's skills. This page is documenting the architecture of the Continuous Deployment of this website.

The Architecture

As shown below, there are no servers or virtual machines involved in this deployment. So, by definition, this is a serverless architecture.

Services are deployed by using Terraform configurations which is Infrastructure as Code (IaC):

  • S3 buckets for Storage of content and logs
  • CloudFront for Content Delivery Network (CDN)
  • ACM for SSL Certificate
  • Route 53 for DNS

The Deployment

CloudFront, the AWS Content Delivery Network (CDN), picks up the code from the S3 bucket and distributes the contents.

Route 53 is deployed and configured with the Domain Name of JuanSidberry.com and points it to the distribution endpoint of CloudFront.

Continuous Deployment (CD) Pipeline

Using AWS CodePipeline for CD is an automated process of making changes to the website.

  1. Stage-1: Pulls from GitHub repo
  2. Stage-2: Pushes content/source-code to S3 buckets
  3. Stage-3: Runs Lambda Function to clear the cache on CloudFront (CDN)