Search code examples
amazon-web-servicesnetwork-programmingalexa-skills-kit

How to make Alexa Skill reach internal network devices


I've developed an Alexa for business skill which connects to some of our local devices and performs several tasks on them. During development, I gave several of these devices public IP addresses so that they could be accessed by AWS. However, I would like for AWS to be able to connect to them when they are within our LAN. I was thinking that the connection could be made through a VPN, though I do not know whether this is possible or a good idea. Is there any way to do this?

Thank you


Solution

  • You could accomplish this by using AWS Direct Connect, however there are some limitations as your network must be able to connect to a Direct Connect location. See this guide for more info: https://aws.amazon.com/directconnect/getting-started/

    There are also options for using a VPN as you suggest: https://docs.aws.amazon.com/vpc/latest/userguide/vpn-connections.html

    And finally you might be able to use something like Localtunnel or ngrok.com, but this would require opening ports on your private network.