Giter Site home page Giter Site logo

jgrove90 / static-meme Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 536 KB

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

HTML 2.84% CSS 1.36% HCL 95.80%
aws cloudflare codepipeline terraform

static-meme's Introduction

Static MEME

About โ€ข AWS Diagram โ€ข Installation โ€ข Improvements

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.

static-meme's People

Contributors

jgrove90 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.