question

newuser-5b2c9375-22f7-400e-a494-2a132ed617d5 avatar image

Alexa Skills Kit Web Service in Node.js and Deployed on Premise

I am reading Alexa Skills Kit for node.js , my requirement is to have the webservice handling the intents on a on-premise instance instead of Lambda . How can i achieve that with alexa Skills kit node.js library.

All the blogs point to the Alexa Skills Kit with implementation for Lambda.

Any pointers are kindly appreciated

alexa skills kitintentssdk
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

meep avatar image
meep answered

I did something similar in that I built my skill in node-red (on top of node.js) running on a local server.

I have a blog article about it here;

http://mediaserver8.blogspot.ie/2016/10/securing-skills.html

(check out some other posts around that date for related info)

Essentially, I set up an Apache instance with SSL cert and reverse proxy to my node-red install which runs in a docker. This covers the https endpoint requirement. Take care to use a cert. that's approved by Amazon - not all of them are.

Another option is to build a simply proxy in lambda that passes intents through Lambda to an external server. The advantage AND disadvantage here is that your skill can be built on a http server so no need to set up SSL certs but of course everything is over http and therefore wildly unsecure.

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.