A development team needs to host a website that will be accessed by other teams. The website contents consist of HTML, CSS, client-side JavaScript, and images. Which method is the MOST cost-effective for hosting the website?
A.
Containerize the website and host it in AWS Fargate.
B.
Create an Amazon S3 bucket and host the website there.
C.
Deploy a web server on an Amazon EC2 instance to host the website.
D.
Configure an Application Load Balancer with an AWS Lambda target that uses the Express.js framework.
Ans B: Don't get confused by looking at JavaScript which can be dynamic. It is Client-side JavaScript. Means it get's executed at the Client side in a web browser. So it is all static and S3 is the cheapest option to host a static website.
I had initially thought Ans A... but its Ans C -- "cookieMr" makes it clear:
Ans A "Containerising the website and hosting with AWS Fargate involves additional complexity and costs associated with managing the container environment and scaling resources."
So it has to be...
Ans B: "...Amazon S3 to host the website, take advantage of its durability, scalability, and low-cost pricing model. Only pay for the storage and data transfer associated with your website, without the need for managing and maintaining web servers or containers. This reduces the operational overhead and infrastructure costs."
The MOST cost-effective method for hosting a website is to:
Create an Amazon S3 bucket and host the website there.
Amazon S3 is a highly scalable and cost-effective object storage service. It is a good option for hosting static websites, such as the website in this scenario.
To host a static website on Amazon S3, you would first need to create an S3 bucket. Then, you would need to upload the website files to the bucket. Once the files are uploaded, you can configure the bucket to serve as a website.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
masetromain
Highly Voted 2 years, 5 months agoBoboChow
Highly Voted 2 years, 5 months agodattateja8
Most Recent 5 days agosatyaammm
3 months agoPaulGa
7 months agoawsgeek75
1 year, 2 months agoA_jaa
1 year, 2 months agoRuffyit
1 year, 5 months agoAWSStudyBuddy
1 year, 5 months agohungpm
1 year, 6 months agoKawtarZ
1 year, 7 months agoevanhongo
1 year, 7 months agoTariqKipkemei
1 year, 8 months agojames2033
1 year, 8 months agomiki111
1 year, 8 months agoKaab_B
1 year, 8 months agokarloscetina007
1 year, 8 months ago