Before we bring up the frontend service, let’s take a look at the service types
we are using:
~/environment/ecsdemo-frontend/kubernetes/service.yaml for our frontend service:
type: LoadBalancer: This will configure an ELB to handle incoming traffic
to this service.
Compare this to
~/environment/ecsdemo-nodejs/kubernetes/service.yaml for one of our backend services:
Notice there is no specific service type described. When we check the kubernetes documentation
we find that the default type is
ClusterIP. This Exposes the service on a cluster-internal IP.
Choosing this value makes the service only reachable from within the cluster.