Skip to content

MauriceBrg/cloudfront-course

Repository files navigation

CloudFront Course

This is the companion repository to the CloudFront Deep Dive course that's available here:

The directories contain different demos that are written to be deployed with OpenTofu but should also work with Terraform. Keep in mind, that the infrastructure code is written to enable the Demos, it may not be suitable for production use, tread carefully.

Deployment Instructions

Note: Deploying these demos may incur costs in your AWS account unless you stay within the free tier!

Unless otherwise specified, the deployment works usually like this:

(you can replace tofu with terraform)

  1. Ensure the appropriate credentials for your AWS environment are set up (e.g. AWS_PROFILE env variable.)
  2. Initiate the app using tofu init
  3. Deploy the app using tofu apply, confirm the changes with yes
  4. (Optional) Tear down everything with tofu delete

Demos