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
39
Introdução ao GraphQL
paulohp
0
44
GraphQL 101
paulohp
0
77
Side Effects: Uma Saga até o React
paulohp
0
81
MobX: State Management made easy
paulohp
0
84
Docker: The Rise of Containers
paulohp
0
88
We Work Remotely
paulohp
2
92
Angular2
paulohp
0
220
Node.js Codelab
paulohp
1
170
Other Decks in Technology
See All in Technology
SSH公開鍵認証による接続 / Connecting with SSH Public Key Authentication
kaityo256
PRO
2
230
20250326_管理ツールの権限管理で改善したこと
sasata299
1
450
どっちの API SHOW?SharePoint 開発における SharePoint REST API Microsoft Graph API の違い / Which API show? Differences between Microsoft Graph API and SharePoint REST API
karamem0
0
120
TopAppBar Composableをカスタムする
hunachi
0
140
17年のQA経験が導いたスクラムマスターへの道 / 17 Years in QA to Scrum Master
toma_sm
0
430
バクラクでのSystem Risk Records導入による変化と改善の取り組み/Changes and Improvement Initiatives Resulting from the Implementation of System Risk Records
taddy_919
0
230
モノリスの認知負荷に立ち向かう、コードの所有者という思想と現実
kzkmaeda
0
110
LINEギフトのLINEミニアプリアクセシビリティ改善事例
lycorptech_jp
PRO
0
310
LINE Notify互換のボットを作った話
kenichirokimura
0
190
OPENLOGI Company Profile for engineer
hr01
1
22k
Road to SRE NEXT@仙台 IVRyの組織の形とSLO運用の現状
abnoumaru
0
410
大規模アジャイル開発のリアル!コミュニケーション×進捗管理×高品質
findy_eventslides
0
610
Featured
See All Featured
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
331
21k
The Invisible Side of Design
smashingmag
299
50k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
31
4.8k
Become a Pro
speakerdeck
PRO
27
5.2k
Producing Creativity
orderedlist
PRO
344
40k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
22
2.6k
Unsuck your backbone
ammeep
670
57k
Music & Morning Musume
bryan
46
6.4k
Building Adaptive Systems
keathley
41
2.5k
Building an army of robots
kneath
304
45k
Side Projects
sachag
452
42k
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♥