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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Mafuyu Kamono
June 20, 2019
Programming
290
0
Share
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
330
忙しいひとのためのCQRS/quickly-cqrs
mfykmn
9
1.5k
Orbsから始めるTerraform生活/ terraform-life-starting-from-orbs
mfykmn
2
710
Other Decks in Programming
See All in Programming
AgentCore Optimizationを始めよう!
licux
3
230
なぜあなたのコードには「コシ」がないのか?〜AI時代に問う、最後まで美味しい設計と戦略〜 #phpconkagawa / phpconkagawa2026
shogogg
0
160
エラー処理の温故知新 / history of error handling technic
ryotanakaya
7
1.9k
Programming with a DJ Controller — not vibe coding
m_seki
3
830
ハーネスエンジニアリングとは?
kinopeee
13
7k
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
260
「OSSがあるなら自作するな」は AI時代も正しいか ── Build vs Adopt の新しい判断基準
kumorn5s
7
2.6k
属人化しないコード品質の作り方_2026.04.07.pdf
muraaano
0
350
いつか誰かが、と思っていた フロントエンド刷新5年間の実践知
kiichisugihara
1
270
PHPer、Cloudflare に引っ越す
suguruooki
2
190
AI時代になぜ書くのか
mutsumix
0
380
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
300
Featured
See All Featured
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.2k
First, design no harm
axbom
PRO
2
1.2k
Paper Plane (Part 1)
katiecoart
PRO
0
7.5k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Git: the NoSQL Database
bkeepers
PRO
432
67k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Testing 201, or: Great Expectations
jmmastey
46
8.1k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
240
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
190
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
200
RailsConf 2023
tenderlove
30
1.4k
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. ご清聴ありがとうございました