Google Cloud IoT Core,通过 SSH 连接到设备

Google Cloud IoT Core, SSH into devices

我使用 Google Cloud 的 IoT Core 有一段时间了,需要通过 SSH 连接到设备。由于我们做 BtoB,所以主要是为了支持和调试目的。我在想这个服务是否可以为我提供设备的外部 IP 或任何可以帮助我建立 SSH 连接的东西。

提前致谢!

SSH into devices as come up

Device state 用于存储设备的当前状态。这可能包括设备 IP 以及您希望在设备和云之间共享的任何其他元数据。

假设您可以访问该设备并且它在您的注册表中,您可以store a state message that you can later retrieve for the device

如果您想 "trigger" 检索设备状态,您可以发送遥测消息 - 创建 PubSub 消息 - 然后更新任何持久存储(例如 Cloud SQL, BigQuery 等)用于跟踪在线设备。