Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robandpdx/jekyll-aws-stack
https://github.com/robandpdx/jekyll-aws-stack
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/robandpdx/jekyll-aws-stack
- Owner: robandpdx
- Created: 2022-12-01T21:23:01.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T18:52:08.000Z (2 months ago)
- Last Synced: 2024-11-04T11:11:55.347Z (2 months ago)
- Language: Ruby
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# jekyll-aws-stack
[![Use this stack](https://github.com/stack-instance/badge.svg)](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
```