Users can securely access my website myprojectssatya.click to see a simple react application in action. They do so by going through any browser, which goes to Route53 which directs them to an edge location where a SSL/TLS certificate is attached and the origin is the s3 bucket.
Create two S3 buckets(www.myprojectssatya.click, myprojectssatya.click). The reason we create another bucket is to direct all users pointing to the main bucket that starts with www.
Use Cloudfront to cache your bucket in edge locations for low latency access.
CloudFront
Do this for both the domain names.
1)Click Create a Cloudfront distribution
Go to route 53 and create two alias to point to cloudfront distribution location.
1)Select create record to point to cloudfront distribution of respective domain names.
- Click www.myprojectssatya.click and myprojectssatya.click to check if you have secure connection.
This is the final result.