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
32
Introdução ao GraphQL
paulohp
0
39
GraphQL 101
paulohp
0
74
Side Effects: Uma Saga até o React
paulohp
0
77
MobX: State Management made easy
paulohp
0
80
Docker: The Rise of Containers
paulohp
0
84
We Work Remotely
paulohp
2
88
Angular2
paulohp
0
220
Node.js Codelab
paulohp
1
160
Other Decks in Technology
See All in Technology
フロントエンド設計にモブ設計を導入してみた / 20241212_cloudsign_TechFrontMeetup
bengo4com
0
1.9k
re:Invent をおうちで楽しんでみた ~CloudWatch のオブザーバビリティ機能がスゴい!/ Enjoyed AWS re:Invent from Home and CloudWatch Observability Feature is Amazing!
yuj1osm
0
130
10個のフィルタをAXI4-Streamでつなげてみた
marsee101
0
170
watsonx.ai Dojo #5 ファインチューニングとInstructLAB
oniak3ibm
PRO
0
170
ガバメントクラウドのセキュリティ対策事例について
fujisawaryohei
0
560
新機能VPCリソースエンドポイント機能検証から得られた考察
duelist2020jp
0
230
第3回Snowflake女子会_LT登壇資料(合成データ)_Taro_CCCMK
tarotaro0129
0
200
UI State設計とテスト方針
rmakiyama
2
620
LINEスキマニにおけるフロントエンド開発
lycorptech_jp
PRO
0
330
KnowledgeBaseDocuments APIでベクトルインデックス管理を自動化する
iidaxs
1
270
祝!Iceberg祭開幕!re:Invent 2024データレイク関連アップデート10分総ざらい
kniino
3
310
社内イベント管理システムを1週間でAKSからACAに移行した話し
shingo_kawahara
0
190
Featured
See All Featured
YesSQL, Process and Tooling at Scale
rocio
169
14k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
0
98
Building Applications with DynamoDB
mza
91
6.1k
The Language of Interfaces
destraynor
154
24k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Code Reviewing Like a Champion
maltzj
520
39k
Writing Fast Ruby
sferik
628
61k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
29
2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
450
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
Producing Creativity
orderedlist
PRO
341
39k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
2
290
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♥