After creating the Backend service, we will now proceed to create the Frontend service.
Next, in the cluster console page, click Create to add the Frontend service.
The Cluster will be automatically selected. In the Compute option section, we only need to select the Launch type; the remaining configurations will be added by default.
In this section, we will configure the deployment:
fcjresbar-task-fe
, choose the Revision labeled LATEST.frontend
Now, we will let this Service know which network and subnet it should be placed in.
Similarly, Public IP should be disabled because the traffic is routed to the Service through the Load Balancer.
In reality, we do not need to configure Load balancing for the backend service, as for testing, I will need to use a private network or VPN. However, in this tutorial, I will configure Load balancing, opening 2 listeners for production and testing so that developers/testers can use them for feature testing.
First, configure some information:
In the listener section, we will create the listener created earlier:
For the target group, select the target group that I created:
Wait a moment, and the service will be created.