AWS IoT Core Connection
Overview
This section provides a guide on connecting an ESF device to the Amazon Web Services (AWS) IoT platform. This guide covers the usage of the ESF Cloud Connector for integrations with AWS IoT services.
Prerequisites
In order to connect a device to AWS IoT Core, the following prerequisites are needed:
- An AWS IoT account
- A device with ESF version 3.3 or greater installed
Device Provisioning
AWS IoT Core supports three types of provisioning:
- Single Thing Provisioning
- Just In Time Provisioning (JITP)
- Bulk Provisioning
Hint
Completing device provisioning is a prerequisite before an IoT device can successfully connect to AWS IoT Core.
Installation
The following steps should be performed on the device.
Install the new ESF Cloud Connector for AWS IoT Core in the Packages tab.
-
Click on Packages in the left panel, you should see this screen:
-
Drag the ESF Cloud Connector for AWS IoT Core deployment package from the Eclipse Marketplaceā¢ to this window.
Create a new Cloud Connection
This addon installs an ESF Cloud Connection to interact with AWS services. After installation, a Cloud Connection can be created following these steps:
-
Click on Cloud Connections in the left panel, you should see this screen:
-
Click on the New Connection button at the top of the page and set the following parameters in the dialog:
- Factory ->
com.eurotech.framework.aws.mqtt.cloudconnection.AwsCloudEndpoint
- Cloud Service Pid ->
com.eurotech.framework.aws.mqtt.cloudconnection.AwsCloudEndpoint-AWS
Press the Apply button to confirm and then select the newly created Cloud Service instance from the list. For the specific Cloud Connection configurations, reference the next section.
Available Cloud Connectors
The following Cloud Connectors are available through this addon:
- ESF AWS Cloud Endpoint (requires ESF 6.1.0+)
- ESF AWS Core Device Discovery (requires ESF 6.1.0+)
- ESF AWS Greengrass IPC Cloud Endpoint (requires ESF 6.1.0+)
- ESF Legacy AWS Cloud Endpoint (requires ESF 3.3.0+)
All ESF Connectors support all three provisioning techniques.