Here is how the part of
index.js, which is used to run the app on AWS Lambda, looks like:
While for Alexa, the process of hosting a Skill on Lambda is straightforward, for a Google Action there are additional steps that need to be taken to create an API Gateway. To learn more about how to run your voice app on Lambda, please take a look at our step-by-step tutorials:
You can create a ready-to-deploy
bundle.zip file with either of the following commands:
This will copy the
src files into a
bundle folder, run a production-only npm install, and then zip it. You can then use this file and upload it to your Lambda function.
If you have a Lambda endpoint defined in your
project.js file, the
jovo deploy command will not only deploy platform projects, but also bundle and upload your source code to AWS Lambda:
Tutorial: Add DynamoDB to Store User Data
Any specific questions? Just drop them below. Alternatively, you can also fill out this feedback form. Thank you!
Be the first to get our free tutorials, courses, and other resources for voice app developers.