Lambda
To be able to run a 'webserver' on Lambda, you need to setup API Gateway, and configure every path defined by your code to link to your Lambda.
This is how a normal deployment looks like : [img](Lambda Deployment)
But don't worry, with Webda it is as simple as a command
webda deploy -d LambdaDeployment
This command will do several step for you :
- Create the policy and role for your Lambda
- Create if needed the Dynamo table used in your application
- Create S3 buckets used in your application
- Deploy the code to your Lambda
- Create the API Gateway mapping
- Add permission for API Gateways to your Lambda