This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Perform Foundational Data, ML, and AI Tasks in Google Cloud: Challenge Lab | |
Task - 1 : Run a simple Dataflow job | |
bq mk DATASET_NAME | |
gsutil mb gs://BUCKET_NAME | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export IAP_NETWORK_TAG=allow-ssh-iap-ingress-ql-302 | |
export INTERNAL_NETWORK_TAG=allow-ssh-internal-ingress-ql-839 | |
export HTTP_NETWORK_TAG=allow-http-ingress-ql-283 | |
export ZONE=us-east1-d | |
gcloud compute firewall-rules delete open-access |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ZONE= | |
export REGION= | |
export FIREWALL_NAME= | |
cat << EOF > startup.sh | |
#! /bin/bash | |
apt-get update | |
apt-get install -y nginx | |
service nginx start | |
sed -i -- 's/nginx/Google Cloud Platform - '"\$HOSTNAME"'/' /var/www/html/index.nginx-debian.html |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Agrega el código generado por el modelo fundacional aquí | |
""" | |
if __name__ == '__main__': | |
if multiply(2,5) == 10: | |
print('DESAFÍO COMPLETADO') | |
else: | |
print('DESAFÍO NO LOGRADO') |