Current repository contains short videos that demonstrate how to deploy Yandex Alice Skill back-end to the AWS environment. Here are considered two options:
- Lambda Function back-end
- Elastic Beanstalk
Proceed with the following steps to create a back-end:
- Login to AWS Management Console and open AWS Lambda homepage.
-
Create a new environment using Node.js runtime.
Chose option 'Enable function URL' without authorization (NONE). - Place the code from ./lambda/alice-cities-game-skill-handler.js to the code editor; deploy & build.
This way is much longer at it requires configuring communication over HTTPS protocol. In its turn, it requires any valid issued or self-signed certificate.
- Open Elastic Beanstalk page and create a new environment using Node.js. Upload application code from ./beanstalk/cloud.zip.
-
Open AWS Certificate Manager page and request a new certificate if needed. You are allowed to request
certificates only for domains you own.
You cannot request a certificate for *.elasticbeanstalk.com - Create an alias resource record (A) for your domain on Route 53 page. This record links your domain name with Elastic Beanstalk application.
Folder ./video/ contains provides video files containing detailed instructions.