gcloud extra command to get the assessment completed in challenge lab

Hi All,  While attempting "Create and Manage Cloud Resources: Challenge Lab" to get the assessment completed I had to run below command to set the key: value pair of http:80 port number so that the webserver could be reachable via exposed external IP. 

1. Ideally this should be the case when we create managed instance group.

2. Assessment check is not able to reach to the VM created by managed instance group, but when I access the load balancer from external IP - it does load balance fine between the created VM via instance managed group.

Hence my questions is why we need this extra command to get assessment completed.

gcloud compute instance-groups managed set-named-ports nginx-group --named-ports http:80

1 1 515
1 REPLY 1

I have the same issue!

After having issues with this, I created a managed instance group, the way the lab requests, using the Console. Then, I analyzed the equivalent command line, and this gcloud command is suggested there: 

gcloud compute instance-groups managed set-named-ports <your managed instance group> --zone=us-central1-a --named-ports=http-port:80 

However after this, for me, I'm still not able to advance the lab, it still says 'please create a managed instance group of 2 nginxs webservers', and I can access then directly via the external IP, SSH, and do a 'curl localhost' 

 

Not sure why I can't progress on this.

Thanks! 

Top Labels in this Space