Using the Cloud IoT Core
Cloud IoT Core is a managed service from the GCP to connect, manage, and send/receive data to IoT devices anywhere in the world. Cloud IoT ensures secure communication with the end devices and seamlessly delivers to a global network of devices.
There are two main components to the IoT Core. The first is the device manager which registers the end devices, which enables us monitor and configure them. The second component is the protocol bridge, which connects the device to the Google Cloud Platform via two protocols—HTTP and MQTT.
To understand the basics, we'll see how to set up a mock IoT device by sending data over HTTP on IoT Core, and how we can read the data which has been sent.
Getting ready
The following are the initial setup verification steps for the creation of the network before the recipe can be executed:
- Create or select a GCP project
- Enable billing and enable the default APIs (some APIs like BigQuery, storage, monitoring, and a few others are enabled automatically...