Skip to content

Latest commit

 

History

History
23 lines (13 loc) · 530 Bytes

README.md

File metadata and controls

23 lines (13 loc) · 530 Bytes

terraform-cloudfront-ecs-s3

This project demonstrates how to use Terraform to manage a bunch of AWS infrastructure for hosting a webapp.

The main thing I wanted to figure out was how to set up Cloudfront to route traffic to a webapp and to an S3 bucket, depending on the path.

Prerequisites

  • AWS account
  • Docker
  • Terraform

Table of contents

  1. Initial setup

  2. S3

  3. Cloudfront and S3

  4. Cloudfront and ECS and S3