menu
arrow_back

Building an IoT Analytics Pipeline on Google Cloud Platform

Building an IoT Analytics Pipeline on Google Cloud Platform

1 个小时 10 分钟 7 个积分

GSP088

Google Cloud Self-Paced Labs

Overview

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 Platform 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 the Google Cloud Platform.

What You'll Learn

In this lab, you will dive into GCP's IoT services and complete the following tasks:

  • Connect and manage MQTT-based devices using Cloud IoT Core (we will use 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.

Let's check out the requirements and prerequisites for this lab.

What You'll Need

Prerequisites

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:

  • BigQuery
  • Cloud Pub/Sub
  • Dataflow
  • IoT

If you want to get up to speed in any of the above services, check out the following Qwiklabs:

Ready to dive into IoT and related GCP services? If so, let's get started!

加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!

  • 获取对“Google Cloud Console”的临时访问权限。
  • 200 多项实验,从入门级实验到高级实验,应有尽有。
  • 内容短小精悍,便于您按照自己的节奏进行学习。
加入以开始此实验
分数

—/100

Create a Cloud Pub/Sub Topic

运行步骤

/ 10

Add IAM binding policy to Pub/Sub topic

运行步骤

/ 10

Create a BigQuery dataset

运行步骤

/ 10

Create an empty table in BigQuery Dataset

运行步骤

/ 10

Create a Cloud Storage Bucket

运行步骤

/ 10

Set up a Cloud Dataflow Pipeline (region: us-central1)

运行步骤

/ 20

Create a Registry for IoT Device

运行步骤

/ 10

Add Simulated Devices to the Registry

运行步骤

/ 20