Adding partner data sources to SiteWise Edge gateways
When using an Amazon IoT SiteWise Edge gateway you can connect a partner data source to your SiteWise Edge gateway and receive data from the partner in your SiteWise Edge gateway and the Amazon cloud. These partner data sources are Amazon IoT Greengrass components that are developed in partnership between Amazon and the partner. When you add a partner data source, Amazon IoT SiteWise will create this component and deploy it on your SiteWise Edge gateway.
To add a partner data source, do the following:
Go to the partner’s web portal and configure the partner data source so it connects to the SiteWise Edge gateway.
Topics
Security
As part of the Shared Responsibility Model
- Customer responsibility
-
Vetting the partner.
Configuring the network access given to the partner.
- Amazon responsibility
-
Isolating the partner from the customer Amazon cloud resources except those needed by the partner. In this case, Amazon IoT SiteWise ingestion.
Restricting the partner solution to a reasonable usage of the SiteWise Edge gateway machine resources (CPU, memory, file system).
- Partner responsibility
-
Using secure defaults.
Keeping the solution secure over time through patches and other appropriate updates.
Keeping customer data confidential.
Add a partner data source
To connect a partner data source to your SiteWise Edge gateway, add it as a data source. When you add it as a data source, Amazon IoT SiteWise will deploy a private Amazon IoT Greengrass component to your SiteWise Edge gateway.
Prerequisites
To add a partner data source, you must do the following:
Create an account with the partner.
Bind the accounts.
To create a SiteWise Edge gateway with a partner data source
If you want to create a new SiteWise Edge gateway, complete the steps in Creating a SiteWise Edge gateway. After you’ve created SiteWise Edge gateway follow the steps in To add a partner data source to an existing SiteWise Edge gateway to add a partner data source.
To add a partner data source to an existing SiteWise Edge gateway
-
Navigate to the Amazon IoT SiteWise console
. -
In the navigation pane, choose Gateways.
-
Choose the SiteWise Edge gateway you want to connect the partner data source to.
-
Under Data sources, choose Add data source.
-
For Source type, choose the partner you want to connect your SiteWise Edge gateway to.
Note
Currently, EasyEdge is the only available partner data source. The first time you add an EasyEdge data source, you'll need to create an EasyEdge account
. -
Enter a name for the source.
-
To grant the partner access to the data source, select Authorize.
-
To let Amazon IoT SiteWise update your Amazon IoT SiteWise publisher component and, if the data processing pack is enabled, the Amazon IoT SiteWise processor component, select Update components.
-
Choose Save.
Set up docker on your SiteWise Edge gateway
To add a partner data source, Docker Engine
Note
Version 20.10 is the latest version that is verified to work with the SiteWise Edge gateway software.
To verify Docker is installed
To verify Docker is installed, run the following command from a terminal connected to your SiteWise Edge gateway:
docker info
If the command returns a docker is not recognized
result, or an older version of Docker is installed, Install
Docker Engine
To set up Docker
The system user that runs a Docker container component must have root or administrator permissions, or you must configure Docker to run it as a non-root or non-admistrator user.
On Linux devices, you must add a ggc_user
user to the docker
group to call Docker commands without sudo
.
To add ggc_user
, or the non-root user that you use to run Docker container components, to the docker
group, run the following command:
sudo usermod -aG docker ggc_user
For more information, see Linux post-installation steps for Docker Engine