Creating a Mashery Local Cluster

Follow these steps to create a Mashery Local cluster.

  1. Navigate to the appropriate folder, depending on whether you are using a single zone or multiple zones.
    • Single zone - /var/jenkins_home/docker-deploy/aws/swarm/manifest-single-zone
    • Multiple zones - /var/jenkins_home/docker-deploy/aws/swarm/manifest-multiple-zones
  2. Run the following command to create the cluster:
    ./create-tml-cluster.sh
  3. Run the following to determine the nodes that were deployed:
    docker ps

    Use the following command to log in to a pod inside the node:

    ssh docker@<master-ip>

    Use docker exec to get into the pod:

When the Mashery Local cluster is created, it creates a load balancer: