https://github.com/robandpdx/jekyll-aws-stack
https://github.com/robandpdx/jekyll-aws-stack
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/robandpdx/jekyll-aws-stack
- Owner: robandpdx
- Created: 2022-12-01T21:23:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-21T00:03:58.000Z (8 months ago)
- Last Synced: 2025-01-12T20:29:48.263Z (6 months ago)
- Language: Ruby
- Size: 31.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jekyll-aws-stack
[](https://github.com/stack-instance?stack_template_owner=robandpdx&stack_template_repo=jekyll-aws-stack)
## Why should you use this stack?
So you want to create a [Jekyll](https://jekyllrb.com/) static website and host it in [AWS](https://aws.amazon.com/) with SSL. Well, to make this all happen you need to configure the following [AWS](https://aws.amazon.com/) services: [Route53, S3](https://aws.amazon.com/route53/), [CloudFront](https://aws.amazon.com/cloudfront/), [AWS Certificate Manager](https://aws.amazon.com/certificate-manager/), [Lambda](https://aws.amazon.com/lambda/). That's a bit overwhelming, just for a simple static website!This project solves all of this by providing an [AWS sam](https://aws.amazon.com/serverless/sam/) template that sets up all the necessary infrastructure for serverless web hosting on AWS. There is also a [GitHub actions workflow](https://github.com/features/actions) to setup continuous delivery. The stack deploys the following:
- S3 bucket to host the static web files
- CloudFront distribution so you can add an SSL/TLS certificate
- SSL/TLS certificate
- Route53 record in your hosted zone
- Edge lamda for better SEO## Prerequisites
- [AWS account](https://aws.amazon.com/)
- [Hosted zone in Route53](https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/CreatingHostedZone.html)## What are the inputs to pass while setting up the stack?
```
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- DOMAIN_NAME
- HOST_NAME
- HOSTED_ZONE_ID
```