Skip to content

Terraform IaC to provision AWS infrastructure for a clone of alldrops.info website at aws.alldrops.info subdomain.

Notifications You must be signed in to change notification settings

rossijonas/alldrops-infra

Repository files navigation

alldrops-infra

Terraform IaC to provision AWS infrastructure for a clone of alldrops.info website at aws.alldrops.info subdomain.

About

The website alldrops.info is accessible on the following domain and subdomain:

  1. https://alldrops.info - Hosted on Netlify

  1. https://aws.alldrops.info - A clone, hosted on an AWS set of components, provisioned by the Terraform Infrastructure as Code contained in this repo.

The repository's main goals is playing with Terraform/AWS, and serving as example for others.

Project Structure

This project assumes the following premises.

  • Terraform uses Terraform Cloud as the Backend to maintain its state.

  • An AWS S3 private bucket creation to host the website content, with no public access.

  • AWS CloudFront used as CDN, fetching the website content at the private S3 bucket.

  • Route53 serving as DNS for the subdomain aws.alldrops.info (alldrops.info is served by another service outside AWS).

  • AWS Certificate Manager provides certificates and allow https.

  • A CloudFront Function (JS) used to fetch index.html files for non-root URIs (for example.: https://alldrops.info/posts/linux-drops/ )

About

Terraform IaC to provision AWS infrastructure for a clone of alldrops.info website at aws.alldrops.info subdomain.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published