Skip to content

Instantly share code, notes, and snippets.

Avatar
😀
I'm a son of God

Romildo Jozue Paiter romildojpaiter

😀
I'm a son of God
View GitHub Profile
@romildojpaiter
romildojpaiter / qwiklabs.jimba
Created Oct 17, 2019
Configure a Firewall and a Startup Script with Deployment Manager
View qwiklabs.jimba
resources:
- name: my-default-allow-http
type: compute.v1.firewall
properties:
targetTags: ["http"]
sourceRanges: ["0.0.0.0/0"]
allowed:
- IPProtocol: TCP
ports: ["80"]
- type: compute.v1.instance
@romildojpaiter
romildojpaiter / 2.txt
Created Oct 17, 2019 — forked from cgaete/2.txt
Deploy a Compute Instance with a Remote Startup Script
View 2.txt
#!/bin/bash
apt-get update
apt-get install -y apache2
#------------------------
PROJECT_ID="id_projecto"
#crear bucket, el nombre debe ser unico en internet
gsutil mb gs://$PROJECT_ID