- Terraform must be set up and working
- AWS CLI must be set up and working
- AWS credentials must be set up and working
- Clone this repository
- Run
terraform init
in the root directory - Adjust variables in
variables.tf
if necessary - Run
terraform apply
in the root directory - Wait for the instance to be created
- Copy the DNS address of the instance from cli
- Paste into your browser
- Enjoy the website!
If you apply and afterwards destroy the infrastructure, you might have to manually delete the S3 bucket as it will carry logs.