Skip to content

CNoetzel/DivisionBy0-Infrastructure

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Infrastructure of DivisionBy0-Blog

Description

The following project contains the basic infrastructure of the divisionby0.de blog.

The blog is based on the Tailwind Nextjs Starter Blog project and is delivered via Vercel.

This project contains the basic AWS infrastructure as Terraform scripts.

infrastructure

As you can see the new infrastructure has less AWS components using Vercel for hosting the blog instead of AWS Cloudfront mentioned in the blog infrastructure with IaC article.

How to use

Prerequisites

If you want to use this scripts you should:

  • Have an AWS Acccount
  • Install and configure the AWS-CLI
  • Install Terraform
  • Update variables in this project to match your domain and bucket names

Deploying infrastructure

First initialize the Terraform working directory with the following command:

terraform init

Afterwards plan and apply your changes using:

terraform apply

When applying the infrastructure terraform will create a hosted zone in AWS Route53. Make sure the name servers of your domain points to this hosted zone, otherwise the certificate validation won't succeed.

See docs for further details regarding the Terraform CLI.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages