![]() The web server Nginx installed, with the firewall updated to allow traffic on ports 80 and 443, as describe in How To Install Nginx on Ubuntu (that guides also works for version 20.04).You’ll have to buy a domain name and point it to Digital Ocean Name Servers (like ).The best method to add an SSL certificate to your server is by having a domain name pointed at your server and use Let’s Encrypt SSL certificates. ![]() (Optional) Taking It Further – Node-RED SSL Certificate ![]() That’s it! Your server is ready and you can install Node-RED Dashboard or connect Node-RED to your cloud MQTT broker. To create a Digital Ocean Account, go to Digital Ocean and press the “ Sign Up” button. However, the purpose of this tutorial is to run Node-RED in the cloud to communicate with boards (or other IoT devices) across different networks. Note: you can also run Node-RED in your local network using a Raspberry Pi board. If you like our projects, you might consider signing up to the recommended hosting service, because you’ll be supporting our work. When you sign up for Digital Ocean, you can try it for 60 days (they give you free credits to test the platform). If you don’t have a hosting account, I recommend signing up for Digital Ocean. Any hosting service that offers a Linux Ubuntu VM with full console access should work. I’ve been using it since 2015 and I personally recommend it, but you can use any other hosting service. I recommend using Digital Ocean that offers an Ubuntu server that you can manage through a command line. To run your Cloud MQTT Mosquitto Broker, you need to use a hosting service that allows you to have access to the command line and install any software that you need. This allows you to control and monitor one or multiple ESP32/ ESP8266 boards from anywhere.You can access Node-RED dashboard using your computer or your smartphone from anywhere in the world. ![]() The ESP32 can send sensor readings to Node-RED and/or you can control its outputs by accessing the dashboard.The ESP32 can communicate with Node-RED as long as it is connected to a router with access to the internet.You have Node-RED software and Node-RED dashboard installed on Digital Ocean. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |