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…


Image for post
Image for post

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…


Image for post
Image for post
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 access Raspberry Pi behind router or firewall remotely from outside network over the Internet using SocketXP IoT Remote Access Solution.

What is SocketXP

SocketXP is a cloud based secure reverse proxy tunneling service that provides remote SSH access to your IoT devices using secure SSL/TLS tunnels. SocketXP solution does not require any changes to your firewall or gateway…


Image for post
Image for post

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…


Image for post
Image for post

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…


Image for post
Image for post

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


Image for post
Image for post
Secure Remote Access to Home Assistant Using SocketXP Add-on

What is Home Assistant:

Home Assistant is a home automation software that acts like a home automation hub. It’s free and open source. It can be installed locally on your server and is a great alternative to things like HomeBridge and SmartThings. It gives you the power of home automation without the cloud. This results in faster operation and control.

What is the difference between SocketXP Add-on and Nabu-Casa solution

Problem Statement:

As I said, Home Assistant is a local installation on your home server. So the Home Assistant server(and its add-ons) run on your localhost network. Home routers don’t have a static public IP address…


Without requiring any public IP addresses, using SocketXP reverse proxy TLS tunnels.

With the emergence of microservices architecture, more and more micro web services are popping out of monolithic applications each day. These microservices are all not colocated in a single server in a single facility but distributed across different servers in different regions. Some services are run in-house while some are run in the cloud (public or private). Some services are developed in-house while some are subscribed services offered by online SaaS vendors such as GitHub, DockerHub, Salesforce, and payment gateways such as Stripe, Paypal etc.

When these distributed web services in different geographic locations need to talk to each other…

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