Scale the Backend Services

When we launched our services, we only launched one container of each. We can confirm this by viewing the running pods:

kubectl get deployments

Now let’s scale up the backend services:

kubectl scale deployment ecsdemo-nodejs --replicas=3
kubectl scale deployment ecsdemo-crystal --replicas=3

Confirm by looking at deployments again:

kubectl get deployments

Also, check the browser tab where we can see our application running. You should now see traffic flowing to multiple backend services.