This file contains 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
# First Task | |
gcloud config set project PROJECT_ID_CAN_BE_FOUND_ON_YOUR_LAB | |
gcloud config set compute/region REGION | |
gcloud config set compute/zone ZONE | |
gcloud compute instances create nucleus-webserver1 --machine-type=e2-micro | |
#Seccond task - copy and past the following lines into your cloud console to create the startup.sh file which will be the base for your template startup script | |
cat << EOF > startup.sh | |
#! /bin/bash | |
apt-get update |