Google Cloud IoT Core is a fully managed service used to manage and ingest data from millions of globally dispersed devices.
In this lab, you get hands-on with IoT Core to create a registry, add a device to the IoT Core Registry, and send sample data from a GCP VM instance configured with a simulator application.
By completing this lab, you will gain experience using IoT Core to collect data from a single device. However, you can use the same configuration to collect data from millions of devices.
Learning Objectives
Successfully complete this lab by achieving the following learning objectives:
- Create an IoT Core Registry
Create an IoT core registry using the following specifications:
- Registry Name:
us-iot-hr-trial
- Region:
us-central1
- Pub/Sub Topic Name:
us-iot-hr-queue
- Logging:
disabled
- CA certificate: Leave blank
- Registry Name:
- Register a Device in IoT Core (VM Instance)
Register a device using the provided specifications:
- Device ID:
hrsensor007
- Device Communication:
allow
- Cloud Logging:
disabled
- Authentication:
ES256
- Public key value:
<paste public key value>
- Expiration: Leave unchecked
- Device ID:
- Send Simulated Data to IoT Core
For our final objective:
- Send simulated data to the IoT Core using
ssh
and sign in to thehrsensor007
virtual machine instance. - Run a simulation.
- Verify that the IoT core received the data.
- Send simulated data to the IoT Core using