MQTT Broker Remote Access over the Internet using SocketXP IoT Cloud Gateway
MQTT Broker Remote Access over the Internet using SocketXP IoT Cloud Gateway

In this section, we’ll discuss how to securely connect and remotely access a private MQTT Broker located inside your office or home network behind a NAT router or a Firewall over the internet. We’ll use the open source Mosquitto MQTT broker and client for this demo.

Remote access to a private MQTT broker is required when IoT devices and sensors are placed remotely in customer sites or in some remote locations in the open fields to monitor and measure the environmental factors.

Data collected from the sensors needs to be streamed to the MQTT broker so that MQTT subscribers of…


IoT or Raspberry Pi remote SSH access is key to monitoring, controlling and debugging industrial machineries, automobile fleet, environmental IoT sensors and smart city IoT devices from far away remote locations when human access to such devices is not immediately possible.

Environment researchers and scientists use Raspberry Pi based IoT devices to collect and stream environmental data (as MQTT data stream) to a server(MQTT Broker) in their research institution’s network.

IoT or Raspberry Pi devices when placed in open fields or remote rural locations where internet access via WiFi is not readily available, 3G or 4G LTE dongle or 4G/5G…


Today, 3 factors affect the work dynamics of companies of all sizes — small, medium and large — around the world today:

  • The pandemic situation,
  • Geographically distributed workforce
  • The trend towards automation (reduce human involvement/errors)

These 3 factors drive the need for secure remote access to resources such as servers, IoT devices and cloud resources. These resources are not centralized in a single location such as a corporate Datacenter, but they are distributed across different geographical regions.

Commonly, remote command or remote script execution on servers and IoT devices is performed using SSH. This is OK for one-off accesses. But…


In this article, we’ll discuss how to develop, debug, and test a microservice locally on your laptop, without having to run all the other microservices of an app (distributed across various servers/clusters) also on your laptop.

The solution presented in this article could also be used to debug, fix, and test a problem reported by your customer in your live production cluster by routing accesses to your microservice (that has the bug) to the one running in your laptop with the fix.

Problem Statement:

Let’s say your team is focussed on developing and testing a front-end ReactJS microservice for your company’s application…


Kubernetes is a very popular and widely deployed container management and orchestration platform, preferred by devops engineers worldwide today.

Usually Kubernetes clusters and their worker nodes are not exposed to the public Internet but the apps running in them are. Also admins typically setup a Bastion Host to SSH securely into their public/private cloud resources.

In this article, I’ll discuss how to configure SocketXP lightweight VPN solution to remote SSH access your private Kubernetes cluster worker nodes in your on-prem cloud or private cloud or public cloud (AWS, MS Azure, GCP, Digital Ocean etc.) …


Setup Local kubectl remote access kuernetes cluster using SocketXP VPN tunnel
Setup Local kubectl remote access kuernetes cluster using SocketXP VPN tunnel

Kubernetes is a very popular and widely deployed Docker container management and orchestration platform, preferred by devops engineers worldwide today. Usually Kubernetes clusters are not exposed to the public Internet but the apps running in them are. In this article, I’ll discuss how to configure a local kubectl to remote access your Kubernetes cluster or minikube running in your laptop or server in your lab or private cloud or public cloud (AWS, MS Azure, GCP, Digital Ocean etc.).

Prerequisites:

You are expected to have a basic understanding on:

  • How to configure and setup a Kubernetes cluster or minikube
  • How to run…


Access Raspberry Pi Remotely from outside network over the Internet

Raspberry Pi remote SSH access is key to monitoring, controlling and debugging industrial machineries, automobile fleet and home automation devices from far away remote locations when human access to such devices is not possible at a particular moment.

In this article, we’ll discuss how to remote SSH into IoT devices or Raspberry Pi behind NAT router or firewall from outside network over the Internet using SocketXP IoT Controller.

What is SocketXP

SocketXP is a cloud based IoT Controller that empowers you to remotely connect, login, configure, debug, upgrade, monitor and manage millions of IoT, IIoT or Raspberry Pi devices installed in your customer’s…


Last week I discussed how to autoupdate a Docker Compose deployment using SocketXP on receiving a GitHub push or release webhook. This week I’ll discuss how to autoupdate a Kubernetes workload or deployment on receiving a GitHub Webhook when a new version of the app is released.

Prerequisites

For understanding and following the instructions in this demo you need to have a basic understanding and some working knowledge of the following tools.

Continuous Deployment Strategy

Our goal is to upgrade our demo app in a GitOps fashion, meaning we don’t want to upgrade whenever a new checkin happens into…


As developers (oh yeah, as devops guys), it’s a no-brainer to automate our workflows to make life simple and easy for us. In this article, I’ll demonstrate how to automatically deploy a nodejs web app from GitHub to a production or test server on git push. You can follow the same instructions to deploy any application written in any language.

Tools used in this demo

We use quite a few tools in this demo. Each one has a specific role to play in the Continuous Deployment(CD) pipeline we are about to setup. Each of these tools are briefly explained below.

Nodemon

Monitors any changes in your…


Imagine managing few thousands of Raspberry Pi devices at your work or at your customer site. How would you configure, setup, access or even debug them from remote locations?

SocketXP provides turnkey IoT solution that can bring up hundreds or thousands of Raspberry Pi devices online for remote SSH connectivity via secure tunneling in less than a minute(limited only by your ability to copy paste a command).

Not just that, it is highly secure (uses secure SSL/TLS tunneling — a lightweight VPN alternative solution)

Just 2 simple steps.

Step #1

Ganesh Velrajan

Ganesh Velrajan is the founder of SocketXP. Learn more about SocketXP Remote Access Solutions at https://www.socketxp.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store