serverless-architecture / reference-architectures

A community project for capturing, sharing, exploring, and debating the patterns and practices being used in serverless production applications.
https://www.jeremydaly.com/serverless-reference-architectures/
195 stars 26 forks source link

Tenant Subdomains #2

Open bahrmichael opened 4 years ago

bahrmichael commented 4 years ago

To give customers their own branded websites, while keeping the source code lean, I've used the following approach a couple times:

tenant subdomain

Everything on AWS (Route53, Certificates, CloudFront, S3, APIGW), just the CMS is on Contentful right now. CMS can be skipped if you just want convenient subdomains.

Do you think this is a pattern worth exploring further for the reference architectures?

jeremydaly commented 4 years ago

Definitely. Can you submit a more detailed architecture?

bahrmichael commented 4 years ago

Yes, I'm currently working on a blog post which also covers this topic. Once I figured out what problem exactly this is good for and have a rough draft, I'll add more details here :)