One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
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 |
#!/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 |
#------------------------ | |
PROJECT_ID="id_projecto" | |
#crear bucket, el nombre debe ser unico en internet | |
gsutil mb gs://$PROJECT_ID | |
#copiar archivo al bucket creado | |
gsutil cp resources-install-web.sh gs://$PROJECT_ID |