Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 926 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 926 Bytes

Deploy Static website with S3


This is a Terraform recipe to create an AWS CodePipeline to deploy a static website from GitHub repository to AWS S3, with CloudFront and ACM providing security.

The recipe consists of four main steps:

  1. Create an ACM certificate for the domain name of the website.
  2. Create a CloudFront distribution that uses the ACM certificate and points to the S3 bucket as the origin.
  3. Create an S3 bucket that will host the website files.
  4. Create a CodePipeline that connects to the GitHub repository and triggers and deploy stage whenever there is a new commit.

AWS Resouces

Static Website