-
Notifications
You must be signed in to change notification settings - Fork 13
Infrastructure & Tech Stack
Jacob Sommer edited this page Nov 18, 2024
·
7 revisions
We use SST to deploy to AWS. peterportal.org points to a cloudfront distribution which serves our site out of an s3 bucket. The distribution also has an additional behavior set up to forward requests to /api/*
to a lambda function with our backend. There are some other intricacies needed to make this work properly (forwarding host header, encoding query string); see more in #442
Note: if you ever intend to update sst and/or aws cdk dependencies, use pnpm sst update
so that the version of aws cdk we use isn't mismatched with the version SST uses internally.
- CDN = cloudfront distribution
- poorly drawn bucket = s3 bucket where our site is stored
- www = www subdomain (www.peterportal.org)