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
Mafuyu Kamono
June 20, 2019
Programming
0
280
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
300
忙しいひとのためのCQRS/quickly-cqrs
mfykmn
9
1.5k
Orbsから始めるTerraform生活/ terraform-life-starting-from-orbs
mfykmn
2
680
Other Decks in Programming
See All in Programming
ソフトウェア設計とAI技術の活用
masuda220
PRO
21
4.9k
脱Riverpod?fqueryで考える、TanStack Queryライクなアーキテクチャの可能性
ostk0069
0
510
スタートアップの急成長を支えるプラットフォームエンジニアリングと組織戦略
sutochin26
1
7.3k
レベル1の開発生産性向上に取り組む − 日々の作業の効率化・自動化を通じた改善活動
kesoji
1
300
AI時代の『改訂新版 良いコード/悪いコードで学ぶ設計入門』 / ai-good-code-bad-code
minodriven
24
9.7k
テストから始めるAgentic Coding 〜Claude Codeと共に行うTDD〜 / Agentic Coding starts with testing
rkaga
16
5.6k
The Niche of CDK Grant オブジェクトって何者?/the-niche-of-cdk-what-isgrant-object
hassaku63
1
620
なぜ「共通化」を考え、失敗を繰り返すのか
rinchoku
1
680
Startups on Rails in Past, Present and Future–Irina Nazarova, RailsConf 2025
irinanazarova
0
250
Model Pollution
hschwentner
1
160
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
180
AI時代のソフトウェア開発を考える(2025/07版) / Agentic Software Engineering Findy 2025-07 Edition
twada
PRO
99
37k
Featured
See All Featured
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
A Tale of Four Properties
chriscoyier
160
23k
Code Reviewing Like a Champion
maltzj
524
40k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
181
54k
Automating Front-end Workflow
addyosmani
1370
200k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Visualization
eitanlees
146
16k
Gamification - CAS2011
davidbonilla
81
5.4k
KATA
mclloyd
30
14k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
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. ご清聴ありがとうございました