Skip to content

🐸 This project automates the deployment of a static website on AWS using Terraform and AWS CodePipeline for CI/CD following DevOps best practices.

Notifications You must be signed in to change notification settings

jgrove90/static-meme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Static MEME

AboutAWS DiagramInstallationImprovements

About

This project automates the deployment of a static website on AWS using Terraform. It sets up the necessary infrastructure components such as an S3 bucket for storing website content, CloudFront for content delivery, configuring Cloudflare as a DNS service, and CodePipeline for continuous integration and continuous deployment (CI/CD) from this GitHub repository.

Though I am displaying a meme, this repository is a great starting point to launch a static website in AWS. Whether it be for a portfolio, resume, or a landing page website. I am using CloudFlare as my DNS provider since I use them for my homelab. Route 53 would an alternative if you're looking to use an AWS resource.

AWS Diagram

Installation

  1. Download and install AWS CLI.

  2. Download and install Terraform .

  3. Attach AWS credentials to AWS CLI .

aws configure
  1. Create terraform.tfvars file to store cloudflare_api and zone_id token.

  2. Run the following Terraform commands.

terrform init
terraform apply
  1. To delete resources run.
terraform destroy

Improvements

I would store the terraform state file in a s3 bucket for the reasons detailed here. I would also provide more resources with tags so they can be easily identified in AWS.

About

🐸 This project automates the deployment of a static website on AWS using Terraform and AWS CodePipeline for CI/CD following DevOps best practices.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published