Como configurar listas de bloqueio de tráfego com o Google Cloud Armor avaliações

18978 avaliações

Takumi A. · Revisado há over 5 years

Renato A. · Revisado há over 5 years

Davide B. · Revisado há over 5 years

Unable to run command. throwing error: Kindly check and revert gcloud compute instance-templates create web-template \ --machine-type=n1-standard-4 \ --image-family=debian-9 \ --image-project=debian-cloud \ --machine-type=n1-standard-1 \ --tags=network-lb-tag \ --metadata=startup-script=\#\!\ /bin/bash$'\n'apt-get\ update$'\n'apt-get\ install\ apache2\ -y$'\n'service\ apache2\ restart$'\n'ZONE=\$\(curl\ \"http://metadata.google.internal/computeMetadata/v1/instance/zone\"\ -H\ \"Metadata-Flavor:\ Google\"\)$'\n'echo\ \'\<\!doctype\ html\>\<html\>\<body\>\<h1\>Web\ server\</h1\>\<h2\>This\ server\ is\ in\ zone:\ ZONE_HERE\</h2\>\</body\>\</html\>\'\ \|\ tee\ /var/www/html/index.html$'\n'sed\ -i\ \"s\|ZONE_HERE\|\$ZONE\|\"\ /var/www/html/index.html

Prithwish K. · Revisado há over 5 years

Stefano T. · Revisado há over 5 years

Sfamurri L. · Revisado há over 5 years

Renato A. · Revisado há over 5 years

alessandro t. · Revisado há over 5 years

Michele M. · Revisado há over 5 years

Startup Script used in creating instance templates is giving errors. Kindly check.

Varun M. · Revisado há over 5 years

prince r. · Revisado há over 5 years

James W. · Revisado há over 5 years

Muhammad J. · Revisado há over 5 years

templateが作れない

上本英 上. · Revisado há over 5 years

Muji Q. · Revisado há over 5 years

instance-template command was not working

Vivek-4 A. · Revisado há over 5 years

gcloud crashes... on Task 1 - 3.

Aditya N. · Revisado há over 5 years

Trash. I couldn't give 0 stars.

Udesh U. · Revisado há over 5 years

code number 3 does not work in task 1

Taylor E. · Revisado há over 5 years

Bruno L. · Revisado há over 5 years

One of the commands was not working and I could not finish the lab as a result

Dragan D. · Revisado há over 5 years

Hasan K. · Revisado há over 5 years

student_00_e5bb669d44b5@cloudshell:~ (qwiklabs-gcp-00-d65292d9d9eb)$ gcloud compute instance-templates create web-template \ > --machine-type=n1-standard-4 \ > --image-family=debian-9 \ > --image-project=debian-cloud \ > --machine-type=n1-standard-1 \ > --tags=network-lb-tag \ > --metadata=startup-script=\#\!\ /bin/bash$'\n'apt-get\ update$'\n'apt-get\ install\ apache2\ -y$'\n'service\ apache2\ restart$'\n'ZONE=\$\(curl\ \"http://metadata.google.internal/computeMetadata/v1/instance/zone\"\ -H\ \"Metadata-Flavor:\ Google\"\)$'\n'echo\ \'\<\!doctype\ html\>\<html\>\<body\>\<h1\>Web\ server\</h1\>\<h2\>This\ server\ is\ in\ zone:\ ZONE_HERE\</h2\>\</body\>\</html\>\'\ \|\ tee\ /var/www/html/index.html$'\n'sed\ -i\ \"s\|ZONE_HERE\|\$ZONE\|\"\ /var/www/html/index.html ERROR: gcloud crashed (ValueError): Invalid header value b'/usr/bin/../lib/google-cloud-sdk/lib/gcloud.py compute instance-templates create web-template --machine-type=n1-standard-4 --image-family=debian-9 --image-project=debian-cloud --machine-type=n1-standard-1 --tags=network-lb-tag --metadata=startup-script=#! /bin/bash\napt-get update\napt-get install apache2 -y\nservice apache2 restart\nZONE=$(curl "http://metadata.google.internal/computeMetadata/v1/instance/zone" -H "Metadata-Flavor: Google")\necho \'<!doctype html><html><body><h1>Web server</h1><h2>This server is in zone: ZONE_HERE</h2></body></html>\' | tee /var/www/html/index.html\nsed -i "s|ZONE_HERE|$ZONE|" /var/www/html/index.html' If you would like to report this issue, please run the following command: gcloud feedback To check gcloud for common problems, please run the following command: gcloud info --run-diagnostics student_00_e5bb669d44b5@cloudshell:~ (qwiklabs-gcp-00-d65292d9d9eb)$ IT DOESNT WORK !!!!

Eldad C. · Revisado há over 5 years

student_00_e5bb669d44b5@cloudshell:~ (qwiklabs-gcp-00-d65292d9d9eb)$ gcloud compute instance-templates create web-template \ > --machine-type=n1-standard-4 \ > --image-family=debian-9 \ > --image-project=debian-cloud \ > --machine-type=n1-standard-1 \ > --tags=network-lb-tag \ > --metadata=startup-script=\#\!\ /bin/bash$'\n'apt-get\ update$'\n'apt-get\ install\ apache2\ -y$'\n'service\ apache2\ restart$'\n'ZONE=\$\(curl\ \"http://metadata.google.internal/computeMetadata/v1/instance/zone\"\ -H\ \"Metadata-Flavor:\ Google\"\)$'\n'echo\ \'\<\!doctype\ html\>\<html\>\<body\>\<h1\>Web\ server\</h1\>\<h2\>This\ server\ is\ in\ zone:\ ZONE_HERE\</h2\>\</body\>\</html\>\'\ \|\ tee\ /var/www/html/index.html$'\n'sed\ -i\ \"s\|ZONE_HERE\|\$ZONE\|\"\ /var/www/html/index.html ERROR: gcloud crashed (ValueError): Invalid header value b'/usr/bin/../lib/google-cloud-sdk/lib/gcloud.py compute instance-templates create web-template --machine-type=n1-standard-4 --image-family=debian-9 --image-project=debian-cloud --machine-type=n1-standard-1 --tags=network-lb-tag --metadata=startup-script=#! /bin/bash\napt-get update\napt-get install apache2 -y\nservice apache2 restart\nZONE=$(curl "http://metadata.google.internal/computeMetadata/v1/instance/zone" -H "Metadata-Flavor: Google")\necho \'<!doctype html><html><body><h1>Web server</h1><h2>This server is in zone: ZONE_HERE</h2></body></html>\' | tee /var/www/html/index.html\nsed -i "s|ZONE_HERE|$ZONE|" /var/www/html/index.html' If you would like to report this issue, please run the following command: gcloud feedback To check gcloud for common problems, please run the following command: gcloud info --run-diagnostics student_00_e5bb669d44b5@cloudshell:~ (qwiklabs-gcp-00-d65292d9d9eb)$ IT DOESNT WORK !!!!

Eldad C. · Revisado há over 5 years

gCloud crashing when executing instructions

Vineet B. · Revisado há over 5 years

Não garantimos que as avaliações publicadas sejam de consumidores que compraram ou usaram os produtos. As avaliações não são verificadas pelo Google.