Home › Forums › AWS › AWS Certified Solutions Architect Professional › How is this a static website?
-
How is this a static website?
Kenneth-Samonte-Tutorials-Dojo updated 2 years, 8 months ago 2 Members · 4 Posts -
I’m not clear in this question how a website that is for uploading photos with comments could be hosted in S3 and the explanation just talks about Cognito
The screen shot is not attaching.
The question starts with “A startup is building a web app that lets users post photos of good deeds in their neighborhood with a 143-character caption/article.”
- This discussion was modified 2 years, 8 months ago by Jon984732. Reason: photo didn't attach
-
Hello Jon984732,
Thanks for the feedback.
AWS has an example of this. You can find more information on this AWS page: https://aws.amazon.com/blogs/mobile/deploy-a-react-app-to-s3-and-cloudfront-with-aws-mobile-hub/
ReactJS is a modern framework for creating front-ends for your web applications. From the users perspective, this website is dynamic since it asks for users to login and users can upload images to it.
But since it is written on ReactJS framework, it is basically just a bunch of static files and the web browser renders the page dynamically.
We can have full-blown webpages like this and be hosted on Amazon S3 (with enabling static website hosting) with no problems.
So from Amazon S3 perspective, it is hosting a static website, since all files are on the bucket are static files only. But ReactJS allows the client’s web browser to interpret these static files and render the webpage dynamically for the user.
Hope this helps.
Let us know if you need further assistance. The Tutorials Dojo team is dedicated to helping you pass your AWS exam!
Regards,
Kenneth Samonte @ Tutorials Dojo
-
Thanks Kenneth. This helps it would be great to include this in the explanation of the correct and incorrect answers
-
Yup. I’ve updated the explanation part for this question to include information about ReactJS. 🙂
Thanks for the feedback.
-
-
Log in to reply.