DEV Community

loading...

Massively Scalable Realtime Voting Deployed on Hybrid Cloud

drnugent profile image Dave Nugent 🌉 ・Updated on ・1 min read

Hybrid cloud deployments offer the easy scaling of public cloud services combined with the privacy and security of an application deployed on a private cloud or on a private server.

In this article, we'll walk through how to deploy a Node.js application that allows users to vote and see a visualization of results. This application will be hosted on a Red Hat OpenShift cluster, which can be deployed on a private or public cloud. We'll also use Twilio Sync, a public cloud service that is scalable and will manage the real-time communication between browsers.

Getting your Red Hat OpenShift Cluster

Red Hat OpenShift is the Enterprise Kubernetes platform. In order to get the benefits of running Red Hat OpenShift you'll need to spin up multiple nodes and pay for a license -- but today, we'll be taking advantage of a free cluster offered by IBM Cloud through their labs.

1. Sign Up for IBM Cloud. This will give you an account that you can use to get your cluster.

2. Visit the IBM Open Labs page.

3. Sign Up for Twilio

4. Follow the instructions in the Crowdcast: Here is Lizzie's GitHub: https://github.com/elizabethsiegle/twilio-sync-realtime-data-vis (we'll use the tree/3stocks branch)

Further Reading

Discussion (0)

pic
Editor guide