Re:30K Page Views for $0.21: A Serverless Story
by adzicg on Wednesday August 17, 2016 @04:17PM
(#12308075)
API gateway takes a bit to set up, and there are silly limits on error responses etc still, but returning a html page is very easy. Check out the web HTML example project for Claudia https://github.com/claudiajs/example-projects/blob/master/we...
You're also kind of stuck with hash URLs if you want to link to anything in your app.
If you've got a truly single page app hitting an API, or you can generate pages and upload them to S3, you're golden.
But there isn't currently a way of having Lambda serve up dynamically generated HTML pages without some funny business.
I'm sure this will change in the future, but it's stopped me from using it for now.