I’m pursuing GCP cloud digital leader certification. There, under USECASE section, there is a demo application deployment lab is there. ifollowed everything to create instance group with instance template.
In the instance template i used this bash code:
#!/bin/bash
apt update
apt -y install apache2
echo “simple application runnin on ‘$(hostname)’” > /var/www/html/index.html
But, i cant get the expected output when i use the external ip of the vm instance. anything we need to configure in the latest gcp. can anyone confirm