if you just have webservers, api gateway + lambda is the way to go
Edit: to make myself clear, I meant the backend, frontend, of course, should be served like below
I've seen so many people just create an EC2 instance for serving static content.
If you have a banging new React app that generates static files, you don't need anything more.
Once worked at a place that needed to do rapid crawls of websites on short notice and we saved a lot of money by moving from.dedocatrd instances to lamdas that we could scale out and down as needed.
How you use them is important.