How to create an IoT Hub
A Hub is the central piece to which Devices can connect to exchange messages, and by which they get access to cloud services.
Under the hood, a Hub acts as an MQTT broker, meaning devices use it to publish messages on topics or subscribe to them. Hub Routes allow Devices to push messages to other, non MQTT, services.
- You have an account and are logged into the Scaleway Console
Click IoT Hub in the IoT Station section of the side menu. If you do not have a Hub already created, the product presentation is displayed.
Click Create a Hub. The hub creation wizard displays.
Enter a name for your Hub and choose the geographical region to deploy your hub.
Choose a product plan for your IoT Hub. Currently three product plans are available for Hubs:
Shared plan: This is a cost-effective, straightforward plan. Good for proofs-of-concept or DIY projects. The price is kept low by sharing resources between users, but it is therefore forbidden to use MQTT features which require memory (no messages with
retainedand no anonymous devices). Although this plan does not limit the number of devices, you will be billed for devices exceeding the number allowed within the free tier.
Dedicated Plan: This plan offers dedicated resources for the Hub, which means more predictable performances and full support of the MQTT protocol.
HA Plan: Not only are resources dedicated to the Hub, but they are also replicated so that the broker is highly available. This setting is ideal for workloads that require greater robustness for their Hub.
5 . Click Create a Hub or Create a Hub and Add a Device.
If you want to add directly a first device to the hub, click Create a Hub and Add a Device and continue with the Add device documentation.