2.5.6 Static Frontend Hosting (React)
1. S3 Bucket
• Store production builds (npm run build) in an S3 bucket (e.g., sumplus1-web-app).
2. CloudFront Distribution
• Serve S3 content globally with caching at edge locations.
• HTTPS + custom domain (SSL certificate in ACM).
3. Invalidations
• Invalidate CloudFront cache on new deployments, ensuring users get the latest assets.
Last updated