How to setup your own secure IoT cloud server

How to setup your own secure IoT cloud server



$1 a month IoT service manages 10,000 edge nodes.

This DIY video is for the following tutorial:

NOTE: Berry.pw is no longer in business. See the tutorial for details or simply select

Most IoT cloud server solutions, whether they provide ready-to-use hosted services or not, are based on a standard Virtual Private Server (VPS). Most developers probably think of Amazon or Microsoft Azure’s services when considering the server side of their IoT solution. These high-end services are great if you need to scale up to millions of connected devices. However, for most small-scale operations and DIY projects, a low-cost VPS is more than adequate.

Low Cost (Edge Node) Device:

We recommend checking out the ESP8266 if you are looking for a low cost device you can use for connecting to your cloud server. The ESP8266 is a low cost WiFi SoC built around a Tensilica Xtensa LX3 processor and clocked at 80MHz.

We provide two client device SMQ stacks for the ESP8266, one for the Arduino environment, and one for FreeRTOS/lwIP. The Arduino version connects to the server using a non secure connection and the FreeRTOS/lwIP version connects to the server using a secure (SSL/TLS) connection.

Free ESP8266 IDE:

Arduino version:

FreeRTOS/lwIP version:

We also recommend reading the DZone article:
Cheaper Alternatives to IoT Cloud Services

In this video we are using one VPS as the online server, however, technically a cloud server is a cluster — i.e. cloud servers utilize multiple servers connected together. We use the SMQ IoT protocol in this video and SMQ includes clustering as an option. SMQ can be used with traditional cloud server providers such as Amazon (AWS) and Microsoft Azure. SMQ can also be used with a cluster setup based on round robin DNS, a setup that is low cost and avoids the single point of failure in the load balancer found in traditional cloud services.

See the SMQ cluster example page for details:

Cluster documentation:

Another great article is the Arduino IoT Christmas Light Controller DIY Project. What can be more fun than assembling your own IoT Christmas Light Controller and at the same time learn about IoT and security? We are talking about a ready to use IoT project designed for educational purposes. The DIY project teaches you all aspects of IoT, including using a basic Arduino relay board, flashing the ready to use Arduino firmware in the relay board, setting up your own online IoT server, and configuring the solution.
Introduction:
Tutorial:
Video:

21 thoughts on “How to setup your own secure IoT cloud server

  1. Nice, but you should use IPv6 now. :-9
    And XMPP have a great and secure connection for IoT, where the device owner decide who get to use the device.
    Yes, you can have a more powerful server to aggregate many less powerful devices.

  2. Hi there,

    U paid to berry $8 for DNS i guess for getting IP
    That cost is only one time have to pay $8

    Or monthly or yearly need to pay?

  3. Just curious, what would happen if you had your OWN virtualized server, but it was windows 2012? How would this work?

Leave a Reply

Your email address will not be published. Required fields are marked *