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
GAE SE 2nd Genのススメ/recommend-gae-se-2nd-gen
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Mafuyu Kamono
June 20, 2019
Programming
0
290
GAE SE 2nd Genのススメ/recommend-gae-se-2nd-gen
Mafuyu Kamono
June 20, 2019
Tweet
Share
More Decks by Mafuyu Kamono
See All by Mafuyu Kamono
GAE 2nd gen (gVisor based GAE) が出たので GAE 導入を決めました/ GAE 2nd gen is good
mfykmn
0
310
忙しいひとのためのCQRS/quickly-cqrs
mfykmn
9
1.5k
Orbsから始めるTerraform生活/ terraform-life-starting-from-orbs
mfykmn
2
690
Other Decks in Programming
See All in Programming
FOSDEM 2026: STUNMESH-go: Building P2P WireGuard Mesh Without Self-Hosted Infrastructure
tjjh89017
0
190
AI活用のコスパを最大化する方法
ochtum
0
110
ご飯食べながらエージェントが開発できる。そう、Agentic Engineeringならね。
yokomachi
1
260
日本だけで解禁されているアプリ起動の方法
ryunakayama
0
360
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
190
2025年の活動の振り返り
hideg
0
120
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
160
izumin5210のプロポーザルのネタ探し #tskaigi_msup
izumin5210
1
440
米国のサイバーセキュリティタイムラインと見る Goの暗号パッケージの進化
tomtwinkle
1
220
AIによる開発の民主化を支える コンテキスト管理のこれまでとこれから
mulyu
3
2k
猫の手も借りたい!ので AIエージェント猫を作って社内に放した話 Claude Code × Container Lambda の Slack Bot "DevNeko"
naramomi7
0
210
Metaprogramming isn't real, it can't hurt you
okuramasafumi
0
130
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
130
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
68
Music & Morning Musume
bryan
47
7.1k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
370
Abbi's Birthday
coloredviolet
2
5k
How to make the Groovebox
asonas
2
2k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
1
1.4k
Being A Developer After 40
akosma
91
590k
How to train your dragon (web standard)
notwaldorf
97
6.5k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
220
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
140
Build your cross-platform service in a week with App Engine
jlugia
234
18k
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. ご清聴ありがとうございました