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
Node.js e Google Cloud Platform
Search
Paulo Pires
November 22, 2014
Technology
1
140
Node.js e Google Cloud Platform
Paulo Pires
November 22, 2014
Tweet
Share
More Decks by Paulo Pires
See All by Paulo Pires
Introdução ao WebAssembly
paulohp
0
43
Introdução ao GraphQL
paulohp
0
46
GraphQL 101
paulohp
0
83
Side Effects: Uma Saga até o React
paulohp
0
82
MobX: State Management made easy
paulohp
0
86
Docker: The Rise of Containers
paulohp
0
90
We Work Remotely
paulohp
2
96
Angular2
paulohp
0
230
Node.js Codelab
paulohp
1
170
Other Decks in Technology
See All in Technology
Foundation Model × VisionKit で実現するローカル OCR
sansantech
PRO
1
340
Kiroから考える AIコーディングツールの潮流
oikon48
4
680
✨敗北解法コレクション✨〜Expertだった頃に足りなかった知識と技術〜
nanachi
1
690
Strands Agents & Bedrock AgentCoreを1分でおさらい
minorun365
PRO
7
310
Telemetry APIから学ぶGoogle Cloud ObservabilityとOpenTelemetryの現在 / getting-started-telemetry-api-with-google-cloud
k6s4i53rx
0
140
LLMをツールからプラットフォームへ〜Ai Workforceの戦略〜 #BetAIDay
layerx
PRO
1
960
Eval-Centric AI: Agent 開発におけるベストプラクティスの探求
asei
0
120
「AIと一緒にやる」が当たり前になるまでの奮闘記
kakehashi
PRO
3
140
Google Agentspaceを実際に導入した効果と今後の展望
mixi_engineers
PRO
3
410
Amazon GuardDuty での脅威検出:脅威検出の実例から学ぶ
kintotechdev
0
100
마라톤 끝의 단거리 스퍼트: 2025년의 AI
inureyes
PRO
1
740
LLMで構造化出力の成功率をグンと上げる方法
keisuketakiguchi
0
770
Featured
See All Featured
RailsConf 2023
tenderlove
30
1.2k
Build The Right Thing And Hit Your Dates
maggiecrowley
37
2.8k
Code Review Best Practice
trishagee
69
19k
BBQ
matthewcrist
89
9.8k
We Have a Design System, Now What?
morganepeng
53
7.7k
Why You Should Never Use an ORM
jnunemaker
PRO
58
9.5k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
46
7.6k
Rebuilding a faster, lazier Slack
samanthasiow
83
9.1k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
[RailsConf 2023] Rails as a piece of cake
palkan
56
5.7k
How to Ace a Technical Interview
jacobian
278
23k
Rails Girls Zürich Keynote
gr2m
95
14k
Transcript
javascript and google cloud
Paulo Pires paulopires.me
how google cloud work?
None
PaaS
go python php java custom runtimes
custom runtimes
None
you need 4 files
app.yaml Dockerfile server.js package.json
app.yaml version: 1 runtime: custom vm: true api_version: 1 manual_scaling:
instances: 1 handlers: ...
Dockerfile FROM google/nodejs-runtime
server.js var appengine = require('appengine'); var express = require('express'); var
app = express(); app.use(appengine.middleware.base); app.get('/_ah/health', function(req, res) { res.set('Content-Type', 'text/plain'); res.send(200, 'ok'); }); app.listen(8080, '0.0.0.0'); console.log('Listening on port 8080');
package.json { "name": "quickstart", "description": "Appengine node.js project", "version": "0.0.1",
"dependencies": { "express": "4.x", "appengine" : "git://github.com/GoogleCloudPlatfor appengine-nodejs.git" } }
♥
$ gcloud preview app run . $ gcloud --verbosity debug
preview app run . $ gcloud --project YOUR-PROJECT preview app deploy . deploy
♥
we have other option
None
IaaS
storage compute dns api's big query
to use with node.js bit.ly/node-google
♥
vlw♥