AWS IoT Secure Tunneling Demo
The intent of this demo is to enable you to quickly test the AWS IoT Secure Tunneling feature.
On this demo, you will establish bidirectional communication to remote devices over a secure connection that is managed by AWS IoT. Secure tunneling does not require updates to your existing inbound firewall rule, so you can keep the same security level provided by firewall rules at a remote site. The picture below illustrate how this demo works:
- First, we will create an AWS Cloud9 environment, from where you will run this demo.
- We will use the AWS CLI to provision the AWS IoT Core resources needed for this workshop: an iot thing, certificate and policy.
- We will use the AWS Cloud Development Kit (CDK) to deploy the device VPC with an EC2 instance running the device agent and the local proxy.
- When the EC2 instance starts, it automatically runs the device agent. The agent leverages the AWS IoT Device SDK For JS to subscribe to a specific MQTT topic on AWS IoT Core. The device uses that MQTT subscription to receive notificatios about any AWS IoT Tunnel created with that device as a target.
Getting started
To get started, please follow theese instructions:
License
This library is licensed under the MIT-0 License. See the LICENSE file.