Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Deploy. Sleep. Repeat.
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Ben Adrian Sarmiento
October 25, 2014
Programming
280
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Deploy. Sleep. Repeat.
A Compute Engine Talk. Presented at GDG DevFest 2014 - Philippines.
Ben Adrian Sarmiento
October 25, 2014
More Decks by Ben Adrian Sarmiento
See All by Ben Adrian Sarmiento
From Good to Great Engineering Teams
yowmamasita
0
59
Location-aware Marketing Carousel
yowmamasita
0
260
CQRS and Event Sourcing with Prooph
yowmamasita
0
48
Thriving with and within App Engine
yowmamasita
0
39
The (Pseudo)Science of Successful Tech Team Management
yowmamasita
0
79
Other Decks in Programming
See All in Programming
AIを上手に使っていこうとしたら越境せざるを得なくなった話 〜実践1年で見えた境界を越えなければならない理由と進め方〜 / Crossing borders with AI
tomoyakitaura
2
750
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
110
AWS Transform Customによる Spring Boot 2.xから4.xへのVerUp
satoshi256kbyte
2
120
私のClaude Code活用法 (個人開発編) - PHPerKaigi mini #4(2026/08/24)
panda_program
1
190
AI に Inclusive UI を書かせよう — Design Rules Skill で Compose UI を作り直す
theoriatec2024
1
200
AI Readyの正体はデータマネジメントだ メダリオン2.0の最前線
freee
PRO
0
470
レビュー履歴をAIに食わせて、 Compose移行を加速するs
shihochan
0
250
「つくるAI」だけではバグは見つからない ~テストに必要な「見つけるAI」を分離させる戦略~
mfunaki
0
210
【デモ】Kiroで体験する仕様駆動開発|設計からコーディングまでAIと進める開発フロー
cmkudo
0
530
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
140
ソフトウェアエンジニアにとっての生成AI - 特性を知って使い倒す / generative ai for software enginner
kishida
7
2.2k
[DroidKaigi 26] How We Moved from Android Studio to Slack
thisaay
0
110
Featured
See All Featured
Building AI with AI
inesmontani
PRO
1
1.2k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
510
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
490
Rails Girls Zürich Keynote
gr2m
96
14k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
400
Rebuilding a faster, lazier Slack
samanthasiow
85
9.6k
Ethics towards AI in product and experience design
skipperchong
2
360
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
640
The untapped power of vector embeddings
frankvandijk
2
1.8k
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.3k
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