关于“Configuring Traffic Blocklisting with Google Cloud Armor”的评价

18969 条评价

initial start up script is not working properly

Soobok H. · 已于 over 5 years前审核

Azmat S. · 已于 over 5 years前审核

Got an error on the Configuring GCLB, CDN, traffic blacklisting with Cloud Armor lab during # 3 Run the following command to create an instance template named web-template. The template specifies a startup script that will install Apache, and creates a home page to display the zone the server is running in: 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

George A. · 已于 over 5 years前审核

Disaster. 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 this did not work

Jacek P. · 已于 over 5 years前审核

gcloud crash eror

Trupti S. · 已于 over 5 years前审核

Trupti S. · 已于 over 5 years前审核

The commands in lab, keeps giving an error. The commands doesn't work. This lab don't make any sense.

Donkinna H. · 已于 over 5 years前审核

startup script didn't work!

Jayanth C. · 已于 over 5 years前审核

The commands in lab, keeps giving an error. The commands doesn't work.

Donkinna H. · 已于 over 5 years前审核

3 times got hit with technical errors, this is tedious

Chris J. · 已于 over 5 years前审核

3 times got hit with technical errors, this is tedious

Chris J. · 已于 over 5 years前审核

Requires a lot of workaround of bad code to get going

Chris J. · 已于 over 5 years前审核

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

Dragan D. · 已于 over 5 years前审核

Step 3 did not work

Chris J. · 已于 over 5 years前审核

Wendy W. · 已于 over 5 years前审核

The commands in lad, keeps giving an error. The commands doesn't work.

Donkinna H. · 已于 over 5 years前审核

Takumi A. · 已于 over 5 years前审核

Renato A. · 已于 over 5 years前审核

Davide B. · 已于 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. · 已于 over 5 years前审核

Stefano T. · 已于 over 5 years前审核

Sfamurri L. · 已于 over 5 years前审核

Renato A. · 已于 over 5 years前审核

alessandro t. · 已于 over 5 years前审核

Michele M. · 已于 over 5 years前审核

我们无法确保发布的评价来自已购买或已使用产品的消费者。评价未经 Google 核实。