Building an IoT Analytics Pipeline on Google Cloud
The term Internet of Things (IoT) refers to the interconnection of physical devices with the global Internet. These devices are equipped with sensors and networking hardware, and each is globally identifiable. Taken together, these capabilities afford rich data about items in the physical world.
Cloud IoT Core is a fully managed service that allows you to easily and securely connect, manage, and ingest data from millions of globally dispersed devices. The service connects IoT devices that use the standard
Message Queue Telemetry Transport (MQTT) protocol to other Google Cloud data services.
Cloud IoT Core has two main components:
- A device manager for registering devices with the service, so you can then monitor and configure them.
- A protocol bridge that supports MQTT, which devices can use to connect to Google Cloud.
What You'll Learn
In this lab, you will dive into Google Cloud's IoT services and complete the following tasks:
Connect and manage MQTT-based devices using Cloud IoT Core (using simulated devices)
Ingest a stream of information from Cloud IoT Core using Cloud Pub/Sub.
Process the IoT data using Cloud Dataflow.
Analyze the IoT data using BigQuery.
This is an advanced level lab and having a baseline level of knowledge on the following services will help you better understand the steps and commands that you'll be writing:
- Cloud Pub/Sub
If you want to get up to speed in any of the above services, check out the following Qwiklabs:
Join Qwiklabs to read the rest of this lab...and more!
- Get temporary access to the Google Cloud Console.
- Over 200 labs from beginner to advanced levels.
- Bite-sized so you can learn at your own pace.
Create a Cloud Pub/Sub Topic
Add IAM binding policy to Pub/Sub topic
Create a BigQuery dataset
Create an empty table in BigQuery Dataset
Create a Cloud Storage Bucket
Set up a Cloud Dataflow Pipeline (region: us-central1)
Create a Registry for IoT Device
Add Simulated Devices to the Registry