Skip to content

Instantly share code, notes, and snippets.

View FelipeAlafy's full-sized avatar
:octocat:
Olá, Mundo!

FelipeAlafy FelipeAlafy

:octocat:
Olá, Mundo!
  • Brasil Minas Gerais Pouso Alegre.
  • 23:29 (UTC -03:00)
  • X @FelipeAlafy
View GitHub Profile
@FelipeAlafy
FelipeAlafy / gist:448b4d26611ef5a0a7e3b9f64d1870e4
Created April 23, 2024 22:32
Google Cloud Fundamentals skill badget Implementing LoadBalancer
# 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