Chapter 3
Building a Serverless Application
Section 4
Deploying a Serverless Frontend on CloudFront
How do you deploy the frontend? In the first step, we deploy the frontend on S3. Then, we deploy the S3 bucket on CloudFront edge locations for improved performance in different geographic regions. - Host the frontend on S3 - Create a CloudFront distribution for the frontend - Test performance with a website speed testing service