To serve a static website, we do not need PHP nor AWS Lambda. We can host the website on any static hosting service (like Netlify, Vercel, etc.) or on AWS with CloudFront and S3:
To deploy such a website with Bref and
serverless.yml, we can use Lift (opens in a new tab):
static-websiteconstruct (opens in a new tab) for plain static HTML websites
single-page-appconstruct (opens in a new tab) for Single-Page Applications like React or VueJS
Lift allows configuring custom domains, root domain to www redirects, and more. Check out the documentation linked above for more details.