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
Google Cloud Platform 入門
Search
tureki
May 01, 2014
Technology
0
170
Google Cloud Platform 入門
了解Google Cloud Platform,並快速在平台上建立虛擬伺服器,登入管理,擴充硬碟等。
tureki
May 01, 2014
Tweet
Share
More Decks by tureki
See All by tureki
User Action Tracking - Google Analytics
tureki
0
140
Sublime Text 入門
tureki
2
290
Other Decks in Technology
See All in Technology
2.5Dモデルのすべて
yu4u
2
610
FastConnect の冗長性
ocise
1
9.6k
RSNA2024振り返り
nanachi
0
500
開発者が自律的に AWS Security Hub findings に 対応する仕組みと AWS re:Invent 2024 登壇体験談 / Developers autonomously report AWS Security Hub findings Corresponding mechanism and AWS re:Invent 2024 presentation experience
kaminashi
0
190
管理者しか知らないOutlookの裏側のAIを覗く#AzureTravelers
hirotomotaguchi
1
240
【Developers Summit 2025】プロダクトエンジニアから学ぶ、 ユーザーにより高い価値を届ける技術
niwatakeru
2
890
Larkご案内資料
customercloud
PRO
0
600
マルチモーダル理解と生成の統合 DeepSeek Janus, etc... / Multimodal Understanding and Generation Integration
hiroga
0
360
バックエンドエンジニアのためのフロントエンド入門 #devsumiC
panda_program
16
6.5k
Googleマップ/Earthが一般化した 地図タイルのイマ
mapconcierge4agu
1
200
君はPostScriptなウィンドウシステム 「NeWS」をご存知か?/sunnews
koyhoge
0
720
Nekko Cloud、 これまでとこれから ~学生サークルが作る、 小さなクラウド
logica0419
2
730
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
6
240
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
129
19k
Fireside Chat
paigeccino
34
3.2k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
27
1.5k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
29
2.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
34
2.5k
Git: the NoSQL Database
bkeepers
PRO
427
64k
A designer walks into a library…
pauljervisheath
205
24k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
Transcript
Google Cloud Platform 入⾨門 Google Compute Engine 1.5.2014 by tureki
Google Cloud Platform ? ✤ 由Google所建⽴立的雲端運算平台! ✤ 提供許多遠端Web服務,適⽤用於網路、︑⾏行動和後端平台 解決⽅方案的運算、︑儲存以及應⽤用程式服務。︒
對於Google要進入雲端市場! 個⼈人非常⽀支持
類似服務(極度類似) ✤ (亞⾺馬遜)AWS! ✤ (微軟)AZURE! ✤ Rackspace! ✤ .etc
效能與穩定性 ✤ goo.gl/uLq6l1! ✤ goo.gl/oyQX0X! ✤ goo.gl/nnZlKs! ✤ 有興趣可參考以上鏈接
價格(這是重點) ✤ goo.gl/p19aoX(超詳細比較)! ✤ goo.gl/F5pEKu (Google官⽅方線上費⽤用計算)! ✤ goo.gl/xEzmFc (AWS線上費⽤用計算)! ✤
更詳細的比較,你可以直接打開各家費⽤用計算來比較
Google Cloud機房分佈 ✤ US! ✤ EU! ✤ ASIA
PING Google Asia 基礎維持在 1xms (⼈人在台北)! 非常的快
PING AWS Asia - JP AWS沒Asia台灣,只好選個最近的⽇日本測試(⼈人在台北)! 維持在 7Xms! 同樣是ASIA但和Google Asia差多了
雖然AWS的機房分佈較多(8個)! 但Google Cloud在台灣有機房! 加分!
名詞對照 AWS Google Cloud EC2 CE EBS DISKs AMI IMAGES
ELB Load Balancing RDS Cloud SQL S3 Cloud Storage dynamoDB Cloud Datastore
反正雲端服務對我⽽而⾔言...
省去跑機房的時間! 省去維護硬體時間! 省去⼀一堆有的沒的...
⽤用最少的資源! 享受世界級的服務和佈局
開始Google Cloud之旅
前往 https://cloud.google.com/! 點擊 ⽴立即試⽤用
Google Cloud 是以專案模式來管理服務! 這是它和AWS比較不⼀一樣的地⽅方
專案建⽴立後看到的樣⼦子,你可以因應不同需求,建⽴立不同專案
如何建⽴立⼀一個CE?(compute engine)
點擊右欄的Compute Engine! 然後是先綁定信⽤用卡
開始建⽴立⼀一個CE
賦予它⼀一個名字
✤ 區域就選亞洲,就只有3個區域 讓你選擇! ✤ 機器類型就看你要⽤用到多少! ✤ 開機來源,就看你有沒有⾃自訂⾃自 ⼰己的Images,沒有的話可以⽤用 官⽅方提供的主流OS! ✤
映像檔會隨你的開機來源改變! ✤ 網路和IP就先⽤用預設的(有需要 的時候在調整)
成功建⽴立後就能看到該CE了
該如何連到該CE?
前往 https://developers.google.com/cloud/sdk/! 選擇OS安裝
這部份我是⽤用MAC安裝! curl https://sdk.cloud.google.com | bash
成功安裝呢︖?
在CE的畫⾯面點擊 SSH
把指令貼在你的terminal,⽤用剛裝的SDK執⾏行第⼀一次連線! 然後google會需要你的授權
成功登入!! 之後你都可以⽤用該電腦直接SSH到該CE! 接下來就安裝你要的服務吧。︒
如何建⽴立⼀一個Disks?
就在介⾯面點 磁碟 來新增吧。︒! 反正它就是硬碟
✤ 區域就先亞洲,因為CE在亞洲! ✤ 來源就選空⽩白(待會⾃自⼰己格式化)
成功建⽴立後就能看到該Disk了
如何把Disk掛到CE︖?
回到該⾴頁⾯面,然後點要綁定的CE
然後在Disk的這個區域,點連接就能掛上
掛上後要在哪裏可以找到Disk︖?
連接Disk後,你能在CE內的/dev/disk/發現它們! google-lab 就是開機的root! google-disk-1 就是剛建⽴立的disk
到哪裏格式化?
sudo mkfs.ext4 /dev/sdb! (因為/dev/sdb是disk-1的實際位置)
sudo mount /dev/sdb test/! 最後按df就能看到Disk已經掛上去!⼤大功告成!
就這麼簡單...
其他資源 ✤ https://developers.google.com/compute/?hl=zh-tw (服務詳細的說明點URL就對了,官⽅方說明很清楚)
總結
Google 什麼都不多,機器最多。︒
除了API和操作介⾯面不太⼀一樣以外! 和其他雲端服務概念沒差多少! 玩過AWS去玩Google Cloud幾乎沒什麼難度
價格上Google Cloud較便宜! 只是Google Cloud還在持續發展中! 沒有AWS的服務那麼完整
不過就Google Cloud CE來說! 已經夠我⽤用了
Q&A