How to make Alexa Skill reach internal network devices












1















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










share|improve this question



























    1















    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










    share|improve this question

























      1












      1








      1








      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










      share|improve this question














      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







      amazon-web-services networking alexa






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 13 '18 at 18:20









      Yitzchak BlankYitzchak Blank

      588




      588
























          2 Answers
          2






          active

          oldest

          votes


















          2














          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.






          share|improve this answer































            3














            In most cases, it's best to avoid making connections back into your network and instead get the devices to poll out of your network to receive instructions.



            Depending on what the devices are, you might want to consider using AWS IoT as a mechanism for connecting the devices to a control plane in AWS. That control plane could comprise either device shadows for each device (if device state management is important), or an MQTT message broker (if simple messaging is required).



            Can you explain a bit more about what the tasks are and what the devices are?






            share|improve this answer

























              Your Answer






              StackExchange.ifUsing("editor", function () {
              StackExchange.using("externalEditor", function () {
              StackExchange.using("snippets", function () {
              StackExchange.snippets.init();
              });
              });
              }, "code-snippets");

              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "1"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53287272%2fhow-to-make-alexa-skill-reach-internal-network-devices%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              2














              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.






              share|improve this answer




























                2














                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.






                share|improve this answer


























                  2












                  2








                  2







                  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.






                  share|improve this answer













                  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.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Nov 14 '18 at 0:23









                  bwestbwest

                  5,84111745




                  5,84111745

























                      3














                      In most cases, it's best to avoid making connections back into your network and instead get the devices to poll out of your network to receive instructions.



                      Depending on what the devices are, you might want to consider using AWS IoT as a mechanism for connecting the devices to a control plane in AWS. That control plane could comprise either device shadows for each device (if device state management is important), or an MQTT message broker (if simple messaging is required).



                      Can you explain a bit more about what the tasks are and what the devices are?






                      share|improve this answer






























                        3














                        In most cases, it's best to avoid making connections back into your network and instead get the devices to poll out of your network to receive instructions.



                        Depending on what the devices are, you might want to consider using AWS IoT as a mechanism for connecting the devices to a control plane in AWS. That control plane could comprise either device shadows for each device (if device state management is important), or an MQTT message broker (if simple messaging is required).



                        Can you explain a bit more about what the tasks are and what the devices are?






                        share|improve this answer




























                          3












                          3








                          3







                          In most cases, it's best to avoid making connections back into your network and instead get the devices to poll out of your network to receive instructions.



                          Depending on what the devices are, you might want to consider using AWS IoT as a mechanism for connecting the devices to a control plane in AWS. That control plane could comprise either device shadows for each device (if device state management is important), or an MQTT message broker (if simple messaging is required).



                          Can you explain a bit more about what the tasks are and what the devices are?






                          share|improve this answer















                          In most cases, it's best to avoid making connections back into your network and instead get the devices to poll out of your network to receive instructions.



                          Depending on what the devices are, you might want to consider using AWS IoT as a mechanism for connecting the devices to a control plane in AWS. That control plane could comprise either device shadows for each device (if device state management is important), or an MQTT message broker (if simple messaging is required).



                          Can you explain a bit more about what the tasks are and what the devices are?







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Nov 14 '18 at 15:47

























                          answered Nov 14 '18 at 15:16









                          Ian MassinghamIan Massingham

                          613




                          613






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Stack Overflow!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53287272%2fhow-to-make-alexa-skill-reach-internal-network-devices%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Xamarin.iOS Cant Deploy on Iphone

                              Glorious Revolution

                              Dulmage-Mendelsohn matrix decomposition in Python