Coder Social home page Coder Social logo

cobalt12345 / alice-cities-game Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 8 KB

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.

JavaScript 100.00%
alice-skills beanstalk lambda tutorial video yandex-alice

alice-cities-game's Introduction

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.

alice-cities-game's People

Contributors

brodriges avatar cobalt12345 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.