Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
GAE SE 2nd Genのススメ/recommend-gae-se-2nd-gen
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Mafuyu Kamono
June 20, 2019
Programming
310
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
GAE SE 2nd Genのススメ/recommend-gae-se-2nd-gen
Mafuyu Kamono
June 20, 2019
More Decks by Mafuyu Kamono
See All by Mafuyu Kamono
GAE 2nd gen (gVisor based GAE) が出たので GAE 導入を決めました/ GAE 2nd gen is good
mfykmn
0
340
忙しいひとのためのCQRS/quickly-cqrs
mfykmn
9
1.5k
Orbsから始めるTerraform生活/ terraform-life-starting-from-orbs
mfykmn
2
730
Other Decks in Programming
See All in Programming
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
mrbgem 三角測量 開発
ogom
0
200
[2026-09-26]空論ジェネリックプロセス~テスト資産とAIで紡ぐ、再現可能なパフォーマンスチューニングの話~
tosite
0
260
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
350
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
910
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
140
setup-vp GitLab対応の裏側
naokihaba
0
150
Jetpack Compose Mechanisms
skydoves
2
380
手動確認はもう限界 〜XCUITestでCustom URL Schemeの遷移を起動種別ごとに自動テストする〜 / Testing Custom URL Schemes with XCUITest
otouto
0
390
すこし踏み込む CancellationToken
htkym
2
1.6k
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
270
The Rails Doctrine Decade
koic
2
500
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
It's Worth the Effort
3n
188
29k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
460
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
58k
4 Signs Your Business is Dying
shpigford
187
23k
Visualization
eitanlees
153
17k
YesSQL, Process and Tooling at Scale
rocio
174
15k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.7k
Paper Plane
katiecoart
PRO
4
53k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Transcript
© DMM.com CONFIDENTIAL © DMM.com GAE/SE 2nd Genのススメ 加茂野真冬 -
DMM.com LLC 2019.06.20 第7回 ゆるめのクラウドインフラLT会
© DMM.com 今日話すこと 2 • GAEについて • GAE/SEとGAE/FEの比較 • GAE/SE
2nd Genについて
© DMM.com 3 $ cat about-me.tf data { fullname =
"Mafuyu Kamono" orgnization = "DMM.com LLC" position = "Backend Engineer" detail = "https://mafuyuk.com" twitter-id = "@mafuyuk_m" }
© DMM.com 4 GAE
© DMM.com GAEとは 5 • 正式名称はGoogle App Engine • GCPのコンピューティングPaaSサービス
• アプリケーションはコンテナに乗る • AWSで言うとElastic Beanstalkに該当 • エコシステムが充実(LB、Queue、Monitor、etc...) • GAE/SE(Standard Environment)と GAE/FE(Flexible Environment)が存在する
© DMM.com GAEとは 6 • デプロイが容易 ◦ gcloud • モニタリングはstack
driverが勝手に取ってくれる ので大丈夫(Elastic Beanstalkつらかったよね... • ロギングは標準出力すれば勝手に取ってくれる 便利!!!!!!!!!!!!!
© DMM.com 7 GAE/SE or GAE/FE
© DMM.com GAE/SE or GAE/FE 8 比較はここみればOK https://cloud.google.com/appengine/do cs/the-appengine-environments?hl=ja
© DMM.com ランタイム、言語 9 • GAE/SE ◦ 使えるランタイム(言語、言語バージョン)が限ら れる •
GAE/FE ◦ 用意されているランタイムとは別にカスタムラン タイムというものがあり、これは自前のDocker イメージを利用できるためランタイムの制限が ない
© DMM.com 時間 10 • GAE/SE ◦ インスタンス起動時間 ミリ秒 ◦
リクエストの最大タイムアウト時間 60秒 • GAE/FE ◦ インスタンス起動時間 分 ◦ リクエストの最大タイムアウト時間 60分
© DMM.com まとめ 11 • FEのほうが自由度が高い分運用コストが少し出 てくる • 基本的にはSEで要件が満たせるのならSEでよい
© DMM.com 12 GAE/SE 2nd Gen
© DMM.com 2nd gen? 13 • GAE/SEのUpdateが大きかったので旧来のものを 1st gen、アップデート後の物を2nd genとしている
◦ 1st genも保守はされていく ◦ 公式は新規ユーザーは2nd genの使用を推 奨している • 1st genと2nd genで使えるランタイムが違う ◦ 2nd genのほうがversionが新しく、対応言語 も広い https://cloud.google.com/appengine/doc s/standard/runtimes?hl=ja
© DMM.com 2nd gen? 14 • gVisorが使われているので安全 ◦ アプリとホスト間にgVisorがあってシステム コールの中継をするので安全
• 1st genではGAE用のSDKを呼び出して機能を使 う必要があるアプリがGAE環境にロックされてしま う問題があった ◦ 2nd genはgcloud API呼び出しなのでGAE にアプリケーションがロックされない
© DMM.com 2nd gen? 15 アプリ側のGAEに対しての依 存がほぼほぼなくなった!!!!!!!! Happy!!!! はい、神〜〜
© DMM.com 全体まとめ 16 • GAEおすすめ • GAE/SEおすすめ • GAE/SE
2nd genおすすめ
© DMM.com 17 END. ご清聴ありがとうございました