-
Notifications
You must be signed in to change notification settings - Fork 18
Creating a Lambda Function
Joe Schmitt edited this page Jun 28, 2017
·
1 revision
This Skill is designed to be easily hosted on Amazon's AWS Lambda service. You'll need to create an Amazon AWS account, and then head over to the Lambda Dashboard. Once there, click "Create a Lambda function", and provide the following settings:
- Select blueprint: Click on Blank Function.
- Configure triggers: This one can be easy to miss. You should see a dotted out rounded square to the left of the Lambda logo. Click on it and from the dropdown, choose Alexa Skills Kit.
- Configure function:
- Name:
alexa-libby
. Honestly this can be whatever you want, but if you want to use the deploy function later, it's best to use the same name as the project here. - Description: Doesn't matter. Feel free to copy the project description.
- Runtime: Node.js 6.10. You can choose the older version if you want, but if you do make
sure to update the
.babelrc
file to tell babel to target the older verison of Node. If you don't know what that means, just go with 6.10. - Code entry type: Upload a .ZIP file. (You can grab the pre-built zip and customize the config, or read on below for instructions on generating a ZIP from source)
- Lambda function handler and role: Under Existing role choose
lambda_basic_execution
.
Click Create lambda function and you're done. After you've created your Lambda function, look at the top right of the page to get your Lambda ARN number. You'll need this when Creating the AWS Alexa Skill, so either write that number down, or keep this page open.
Getting Started Resources
Libby Configuration
Configuring AWS Lambda
Deploying The Project to Lambda
Configuring the AWS Alexa Skill
Local Development