It was pointed out recently on HN that Lambda is basically CGI-as-a-service. (CGI being a more language-agnostic spec that operates similarly to PHP)
Lemme just login to cPanel and check that
The real value-add from Lambda is integration with the rest of the AWS ecosystem. It doesn't even scale up without breaking the bank. But it does scale down to zero. And can process events from EventBridge, DDB, S3, SQS, SNS, and every AWS service under the sun. It's really good at that.
If you want to run an API, slap a Go executable on an EC2 or ECS instance.