Hosting your entire web application using S3 + CloudFront

"There are several ways to host an application on the internet, but the one that I am most familiar with is to use a web server such as Apache or NGINX where you can host all the static components of your application and also use it as a reverse proxy server to direct API calls. 

But recently I came across another way to host a web application that is more elegant, cost-effective, and has no need for maintenance. This method makes use of AWS S3 and AWS Cloudfront and it’s turned out to be significantly easier to set up, scales infinitely, and is cheaper than the alternative."