CloudFormation template for an S3 backed website.
Note: this template is still WIP
The template only requires a bucket name as input parameter.
The template's output is the Arn
of the bucket serving the static website content, as well as the HTTP & HTTPS endpoints.
The CloudFormation template creates two buckets:
- Public bucket serving the static website
- Private bucket for the Server Access Logs
The access logs are kept for 180 days and transitioned to Glacier after 30 days.