跨区域 IoT 消息 Publishing/Subsribing(不同区域中的端点)
IoT messages Publishing/Subsribing across regions (Endpoint in a different region)
我想Publish/Subscribe(相对于 AWS IoT JavaScript)到位于另一个区域的 AWS IoT 端点。
假设我在美国打开一个网页,其中 Publishes/Subscribes AWS IoT 主题到位于孟买(印度)的 AWS IoT 端点。
这个通讯可以吗?
如果是,延迟时间是多少?
AWS 会在他们自己的基础设施内重新路由我的消息吗?或者我的消息会通过自动路由直接发送到孟买?
跨区域发送 IoT 消息时我需要任何其他资源吗?
谢谢。
一一解答您的问题
是的,这种交流是完全可以的。只要您有权访问有效凭证,就可以从任何地理位置连接到任何区域的 AWS IoT Message Broker 端点。
是的,会有延迟。
没有。 AWS 不会在其自己的基础设施内重新路由任何消息。如果您命中孟买地区 (ap-south-1
),它只会命中孟买地区的端点。最近发表了一篇关于 multi-region IoT 解决方案部署的文章。你可以找到它here。这显示了如何根据地理位置配置物联网设备。
来自文档:
The topic namespace is isolated for each AWS account and region pair. For example, the Sensor/temp/room1 topic for an AWS account is independent from the Sensor/temp/room1 topic for another AWS account. This is true of regions, too. The Sensor/temp/room1 topic in the same AWS account in us-east-1 is independent from the same topic in us-east-2. AWS IoT does not support sending and receiving messages across AWS accounts and regions.
我想Publish/Subscribe(相对于 AWS IoT JavaScript)到位于另一个区域的 AWS IoT 端点。
假设我在美国打开一个网页,其中 Publishes/Subscribes AWS IoT 主题到位于孟买(印度)的 AWS IoT 端点。
这个通讯可以吗?
如果是,延迟时间是多少?
AWS 会在他们自己的基础设施内重新路由我的消息吗?或者我的消息会通过自动路由直接发送到孟买?
跨区域发送 IoT 消息时我需要任何其他资源吗?
谢谢。
一一解答您的问题
是的,这种交流是完全可以的。只要您有权访问有效凭证,就可以从任何地理位置连接到任何区域的 AWS IoT Message Broker 端点。
是的,会有延迟。
没有。 AWS 不会在其自己的基础设施内重新路由任何消息。如果您命中孟买地区 (
ap-south-1
),它只会命中孟买地区的端点。最近发表了一篇关于 multi-region IoT 解决方案部署的文章。你可以找到它here。这显示了如何根据地理位置配置物联网设备。来自文档:
The topic namespace is isolated for each AWS account and region pair. For example, the Sensor/temp/room1 topic for an AWS account is independent from the Sensor/temp/room1 topic for another AWS account. This is true of regions, too. The Sensor/temp/room1 topic in the same AWS account in us-east-1 is independent from the same topic in us-east-2. AWS IoT does not support sending and receiving messages across AWS accounts and regions.