Skip to content

An example of Yandex Alice skill with a back-end deployed to the AWS. It exposes how to deploy back-end either on Lambda function or on Elastic Beanstalk.

Notifications You must be signed in to change notification settings

cobalt12345/alice-cities-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository description

Current repository contains short videos that demonstrate how to deploy Yandex Alice Skill back-end to the AWS environment. Here are considered two options:

  1. Lambda Function back-end
  2. Elastic Beanstalk
Other options can also be used for the purpose - EC2, EKS, ECS etc. See the Yandex documentation for more details (in Russian): https://yandex.ru/dev/dialogs/alice/doc/deploy-aws.html

Lambda Function back-end

Proceed with the following steps to create a back-end:

  1. Login to AWS Management Console and open AWS Lambda homepage.
  2. Create a new environment using Node.js runtime.
    Chose option 'Enable function URL' without authorization (NONE).
  3. Place the code from ./lambda/alice-cities-game-skill-handler.js to the code editor; deploy & build.

Elastic Beanstalk back-end

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.

  1. Open Elastic Beanstalk page and create a new environment using Node.js. Upload application code from ./beanstalk/cloud.zip.
  2. 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
  3. Create an alias resource record (A) for your domain on Route 53 page. This record links your domain name with Elastic Beanstalk application.

Video Manuals

Folder ./video/ contains provides video files containing detailed instructions.

About

An example of Yandex Alice skill with a back-end deployed to the AWS. It exposes how to deploy back-end either on Lambda function or on Elastic Beanstalk.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published