Step By Step — Build a Static Website on AWS using S3 and CloudFront

Prerequisits:

Steps:

Sub-Section - Create an Application:

Sub-Section - Register a Domain Name with Route 53:

Sub-Section - Get a Public Certificate using Certificate Manager:

Sub-Section - Create Two S3 Buckets:

Sub-Section - Configure the Subdomain S3 Bucket:

Sub-Section - Configure the Root Domain S3 Bucket:

Sub-Section - Configure CloudFront for the Subdomain:

Sub-Section - Configure CloudFront for the Root Domain:

Sub-Section - Configure DNS Traffic in Route 53: