Menu

πŸ“°
0

1 CloudFront Distribution with Multiple Domains and Origins vs Separate Distributions?

Reddit r/devopsΒ·u/Successful-Ship580Β·about 1 month ago
#a6pdQWtg
Reading 0:00
15s threshold

1 CloudFront Distribution with Multiple Domains and Origins vs Separate Distributions? I recently joined a company and inherited an AWS setup that uses a single CloudFront distribution with 3 alternate domain names and 3 origins. Set up looks like this: * 2 origins are S3 buckets hosting frontend applications * 1 origin is an Application Load Balancer connected to backend apps running on EC2 * Different domains point to the same CloudFront distribution Example: * [app1.company.com](http://app1.company.com) β†’ S3 frontend * [app2.company.com](http://app2.company.com) β†’ S3 frontend * [api.company.com](http://api.company.com) β†’ ALB backend In my previous company, we used separate CloudFront distributions for different applications/origins, so this shared setup is new to me. I wanted to ask experienced AWS / DevOps engineers: * Is this a common production setup? * What are the pros and cons of using one shared CloudFront distribution? * At what scale do companies usually split into separate distributions?…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More