Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Deploy. Sleep. Repeat.
Search
Ben Adrian Sarmiento
October 25, 2014
Programming
0
270
Deploy. Sleep. Repeat.
A Compute Engine Talk. Presented at GDG DevFest 2014 - Philippines.
Ben Adrian Sarmiento
October 25, 2014
Tweet
Share
More Decks by Ben Adrian Sarmiento
See All by Ben Adrian Sarmiento
From Good to Great Engineering Teams
yowmamasita
0
51
Location-aware Marketing Carousel
yowmamasita
0
250
CQRS and Event Sourcing with Prooph
yowmamasita
0
44
Thriving with and within App Engine
yowmamasita
0
33
The (Pseudo)Science of Successful Tech Team Management
yowmamasita
0
68
Other Decks in Programming
See All in Programming
從冷知識到漏洞,你不懂的 Web,駭客懂 - Huli @ WebConf Taiwan 2025
aszx87410
2
1.6k
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
370
AIコーディングエージェント(Manus)
kondai24
0
160
新卒エンジニアのプルリクエスト with AI駆動
fukunaga2025
0
200
ローターアクトEクラブ アメリカンナイト:川端 柚菜 氏(Japan O.K. ローターアクトEクラブ 会長):2720 Japan O.K. ロータリーEクラブ2025年12月1日卓話
2720japanoke
0
720
まだ間に合う!Claude Code元年をふりかえる
nogu66
5
710
TypeScriptで設計する 堅牢さとUXを両立した非同期ワークフローの実現
moeka__c
6
3k
TypeScript 5.9 で使えるようになった import defer でパフォーマンス最適化を実現する
bicstone
1
1.3k
SwiftUIで本格音ゲー実装してみた
hypebeans
0
110
ハイパーメディア駆動アプリケーションとIslandアーキテクチャ: htmxによるWebアプリケーション開発と動的UIの局所的適用
nowaki28
0
390
認証・認可の基本を学ぼう後編
kouyuume
0
180
リリース時」テストから「デイリー実行」へ!開発マネージャが取り組んだ、レガシー自動テストのモダン化戦略
goataka
0
120
Featured
See All Featured
Making the Leap to Tech Lead
cromwellryan
135
9.7k
What's in a price? How to price your products and services
michaelherold
246
12k
GraphQLとの向き合い方2022年版
quramy
50
14k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
Being A Developer After 40
akosma
91
590k
Learning to Love Humans: Emotional Interface Design
aarron
274
41k
Thoughts on Productivity
jonyablonski
73
5k
Docker and Python
trallard
47
3.7k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
700
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Transcript
Deploy. Sleep. Repeat. A Compute Engine Talk Ben Sarmiento
Things you need to know before you deploy...
pic of google cloud platform logo of compute engine
Storage Google Cloud Storage Google Cloud Datastore Google Cloud SQL
Services Big Query Google Cloud Endpoints Translate API Prediction API
Google Cloud DNS Google Cloud PubSub Google Cloud Dataflow*
Compute GCE GAE
Big Picture SAAS PAAS IAAS
Google Compute Engine • IaaS • offers Compute, Storage, Network
• sub-hour billing • entire OS stack • self-managed
Why Google Compute Engine rocks? scalable consistent cheap
How much sleep time will I gain using Compute Engine?
scalable consistent cheap
I get it, it’s fast
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
Now onto deploying!
Getting started 1. create a GCP project 2. enable billing
3. install Cloud SDK on your machine 4. enable the GCE API
Interface • Cloud Console (UI) • Cloud SDK (CLI) •
REST API (Code)
Images Create instances with images Images = bl + os
+ fs Possible to use custom images
Storage Snapshots (stored in GCS) Persistent Disk (bound to a
zone)
Scaling problems Scaling up? Scaling out?
GAE Setup
GCE Setup
GAE - GCE Mashup
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"
Config/Management Tools • Vagrant (vagrant-google) • Chef (knife-google) • Puppet
(gce_compute) • Ansible (gce*) • Salt
Sleep
Repeat
Wrapping up Google Cloud Platform/Google Compute Engine will never gonna:
• give you up • let you down • run around and desert you
Thank you! @bensarmiento / ~yowmamasita