Skip to content

Latest commit

 

History

History

cfn_infrastructure

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Description

Infrastructure to serve yourDomain from s3 using Cloudfront. Redirects http request to https. Serving both

Takes approx 30 min to build with cfn.

Requirements

  • AWS credentials configured, permissions to create related resources.

Creates

in your default region

  • S3 Buckets: yourDomain, www.yourDomain and logs.yourDomain
  • Hosted zone, DNS records
  • Certificate (in region us-east-1)
  • Cloudfront Distribution

Setup

  1. Fill out .settings.config file.

  2. Generate infrastructure by running bash stack.sh create.

  3. Add nameservers to your domain registrar. Get nameservers from hosted zone in AWS route 53.

  • Delete infrastructure with bash stack.sh delete.