Skip to content

tqhoughton/cloudformation-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CloudFormation Templates

This is a repository for some of my commonly used CloudFormation templates that I use to deploy serverless applications on AWS. Most of the time, you will need some basic infrastructure set up to deploy serverless applications efficiently. Lucky for you, I've already done the hard part of creating the templates.

Static Site with SSL

template here

Most of the time, you don't want to just deploy your site to an S3 bucket and leave it at that. There are a few problems, namely:

  1. You have an ugly S3 generated link to your site
  2. You don't have SSL on your site, so your users will not be able to log in securely if you have some kind of auth flow

This template requires you to have a hosted zone in Route53, a valid ACM Certificate for your domain, and the full domain name of your site. Once you provide that, this template will automatically create an S3 bucket, Route53 record, and CloudFront distribution that uses your SSL certificate. Takes ~20 minutes to deploy (the CloudFront distribution takes a while.)

Simple Pipeline

template here

This is a simple pipeline that packages and deploys a SAM template. You can find a demo application to deploy here.

Advanced Pipeline

template here

This is an advanced pipeline that packages and deploys a SAM template, while also deploying an index.html to a predefined S3 bucket in the s3/ directory, and also running unit tests defined in the test/ directory. You can find a demo application to deploy here.

About

A repo for some useful CloudFormation templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published