S3 Quiz
Your company has a requirement to host a static web site in AWS. Which of the following steps would help implement a quick and cost-effective solution for this requirement? Choose 2 answers from the options given below. Each answer forms a part of the solution.
A. Uploadthe static content to an S3 bucket.
B. Createan EC2 Instance and install a web server.
C. Enableweb site hosting for the S3 bucket.
D. Uploadthe code to the web server on the EC2 Instance.
Answer – A and C
AWS Documentation mentions the
following on using S3 for static web site hosting:
You can host a static website on Amazon Simple Storage Service (Amazon S3). On a static website, individual webpages include static content. They might also contain client-side scripts.
For more information on static web site hosting using S3, please refer to the URL below.
https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html