A web2py API approach is a complet project which need a server and provide endpoint to manage the business logic. Basicaly You will run such a webapp on an AWS EC2 and it fully makes sense that the scalability will be handle both via horizontal and vertical scaling.
Whereas, the AWS lambda in the other hand is a fully RESTFul approach to build an api app by triggering every needed python simplest actions. Which provide the serverless gain (meaning You actually use resources only if needed).
It is quite simple, for some project, to see that the serverless approach is more flexible and financially more interesting than the EC2 approach for scaling.
So my question is : if you already have a web2py api webapp déployed on an EC2 instance, how to you go to deploy it in an aws lambda in other to gain the serverless aspect that aws lambda bring? Do You need to fundamentaly reshape the code architecture of the web2py apps to properly gain the AWS lambda fashion ?