Running TIBCO BusinessEvents® on AWS Based Kubernetes Cluster

Kubernetes is an open-source platform designed to automate deploying, scaling, and operating application containers. Kubernetes can run application containers on clusters of physical or virtual machines.

For more information about Kubernetes, see the Kubernetes documentation (https://kubernetes.io/docs/home/).

In BusinessEvents, to form a cluster there are discovery nodes which define or start a cluster and other cache nodes and inference nodes (non-discovery nodes), which connect to one or more discovery nodes and become a member of the cluster. In Kubernetes, each BusinessEvents node runs as a Kubernetes pod. Pods can communicate with each other using their IP addresses. However, due to the dynamic nature of the IP addresses, non-discovery nodes cannot always connect to the discovery nodes. Thus, to resolve this, discovery nodes are modeled as Kubernetes services. The service is reachable by its name using the Kubernetes DNS. The non-discovery nodes use indirection using the Kubernetes service to connect to the discovery nodes.

Prerequisites

Download and install the following CLIs on your system:
CLI Download and Installation Instruction Link
kops https://github.com/kubernetes/kops/blob/master/docs/aws.md
kubectl https://kubernetes.io/docs/tasks/tools/install-kubectl/
aws https://aws.amazon.com/cli/

Procedure

  1. Set up a Kubernetes cluster on Amazon Web Services (AWS). For more information, see Setting up a Kubernetes Cluster on AWS.
  2. Create Docker image of TIBCO BusinessEvents application. For more information, see Building BusinessEvents Application Docker Image.
  3. Go to the EC2 Container Services dashboard and create a repository with the same name as the Docker image of TIBCO BusinessEvents application. Upload the BusinessEvents application image to the repository and for help you might use the View Push Commands button.
    Note: AWS Repository name must be same as the Docker image of TIBCO BusinessEvents application.

    For more information on how to create a repository in Amazon AWS, refer to https://docs.aws.amazon.com/AmazonECR/latest/userguide/repository-create.html.

  4. Based on your application architecture you deploy BusinessEvents cluster on Kubernetes:
Related concepts