Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
手軽に積ん読を増やすには?/読みたい本と付き合うには?
o0h
PRO
1
150
NUMA環境とコンテナランタイム ― youki における Linux Memory Policy 実装
n4mlz
1
190
MAP, Jigsaw, Code Golf 振り返り会 by 関東Kaggler会|Jigsaw 15th Solution
hasibirok0
0
220
令和最新版Android Studioで化石デバイス向けアプリを作る
arkw
0
280
CSC509 Lecture 14
javiergs
PRO
0
220
『実践MLOps』から学ぶ DevOps for ML
nsakki55
2
570
[SF Ruby Conf 2025] Rails X
palkan
0
460
【Streamlit x Snowflake】データ基盤からアプリ開発・AI活用まで、すべてをSnowflake内で実現
ayumu_yamaguchi
1
110
なあ兄弟、 余白の意味を考えてから UI実装してくれ!
ktcryomm
10
11k
React Native New Architecture 移行実践報告
taminif
1
140
TUIライブラリつくってみた / i-just-make-TUI-library
kazto
1
320
AIコーディングエージェント(Manus)
kondai24
0
140
Featured
See All Featured
The Invisible Side of Design
smashingmag
302
51k
4 Signs Your Business is Dying
shpigford
186
22k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
700
Rails Girls Zürich Keynote
gr2m
95
14k
Fireside Chat
paigeccino
41
3.7k
A designer walks into a library…
pauljervisheath
210
24k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Context Engineering - Making Every Token Count
addyosmani
9
470
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
54k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.6k
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