Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Deploy. Sleep. Repeat.

Deploy. Sleep. Repeat.

A Compute Engine Talk. Presented at GDG DevFest 2014 - Philippines.

Ben Adrian Sarmiento

October 25, 2014
Tweet

More Decks by Ben Adrian Sarmiento

Other Decks in Programming

Transcript

  1. Services Big Query Google Cloud Endpoints Translate API Prediction API

    Google Cloud DNS Google Cloud PubSub Google Cloud Dataflow*
  2. Google Compute Engine • IaaS • offers Compute, Storage, Network

    • sub-hour billing • entire OS stack • self-managed
  3. Google Compute Engine - persistent disks can be connected to

    multiple instances - up to 10TB storage, 1TB on SSD - setup Google’s own load balancer for your app - network is a first class citizen - auto-restart/auto-healing - live migration
  4. Getting started 1. create a GCP project 2. enable billing

    3. install Cloud SDK on your machine 4. enable the GCE API
  5. Images Create instances with images Images = bl + os

    + fs Possible to use custom images
  6. gcloud gcutil being deprecated Creating a new instance gcloud compute

    --project "file-id-ansytest" instances create "instance-1" --zone "us- central1-f" --machine-type "f1-micro" --network "default" --maintenance-policy "MIGRATE" --scopes "https://www.googleapis.com/auth/devstorage.read_only" --tags "http-server" "https-server" --image "https://www.googleapis.com/compute/v1/projects/debian- cloud/global/images/debian-7-wheezy-v20141021"
  7. Wrapping up Google Cloud Platform/Google Compute Engine will never gonna:

    • give you up • let you down • run around and desert you