project_creation
git clone
examples/v2/project_creation
gcloud deployment-manager deployments create <newproject_deployment> --config config.yaml --project <Project Creation project>
$> gsutil notification create -f json -t your-topic gs://your-bucket
$> gcloud beta functions deploy helloWorld --stage-bucket cloud-functions --trigger-bucket your-bucket
require "google/cloud/logging" logging = Google::Cloud::Logging.new logger = logging.logger "my_app_log", resource, env: :production logger.info "Job started" logger.info { "Job started" } logger.debug?
gcloud beta container clusters create CLUSTER --zone ZONE --enable-autoupgrade gcloud beta container node-pools create NODEPOOL --cluster CLUSTER --zone ZONE --enable-autoupgrade
gcloud beta container clusters create CLUSTER --zone ZONE --enable-autorepair gcloud beta container node-pools create NODEPOOL --cluster CLUSTER --zone ZONE --enable-autorepair
gcloud compute instances create my-cos-instance \ --image-family cos-stable \ --image-project cos-cloud
gcloud compute ssh my-cos-instance -- "sudo docker run -p 80:80 nginx"
gcloud compute ssh my_cos_instance --project my_project --zone us-east1-d
gcloud container clusters create example-cluster kubectl run hello-node --image=gcr.io/google-samples/node-hello:1.0 \ --port=8080 kubectl expose deployment hello-node --type="LoadBalancer" kubectl get service hello-node curl 104.196.176.115:8080