Hello Everyone,
This is my latest update on the project. I had two calls with my mentors in the past week. As suggested by them I started to learn about serverless concepts with AWS. I created a simple web page to understand serverless concepts. There are two versions of the website where users can switch between them without reloading or changing the URL. All this with a simple button click. Here is the link to the website.
I used two S3 buckets to host my two websites. (version 1 and version 2).
I used the CloudFront and Lambda@edge to achieve the above functionality.
I think I gained so much knowledge on CDNs, Lambda functions, Lambda@edge and CloudFormations scripts through this.
I think my next task would be to build such a simple website using a CloudFormation template.
Resources:
[1] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-s3.html#scenario-s3-bucket
[2] https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/quickref-cloudfront.html
[3] AWS reInvent 2019, https://www.youtube.com/watch?v=9IYpGTS7Jy0
[4] Serving Multiple Websites with AWS CloudFront & Lambda at Edge, https://www.youtube.com/watch?v=Cz0unTbOfgo&t=1s
