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
Performance for Conversion! 分散トレーシングでボトルネックを 特定せよ
inetand
0
130
モバイルアプリからWebへの横展開を加速した話_Claude_Code_実践術.pdf
kazuyasakamoto
0
320
FindyにおけるTakumi活用と脆弱性管理のこれから
rvirus0817
0
490
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
330
AWS発のAIエディタKiroを使ってみた
iriikeita
1
180
複雑なドメインに挑む.pdf
yukisakai1225
5
1.1k
AIと私たちの学習の変化を考える - Claude Codeの学習モードを例に
azukiazusa1
8
3.5k
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
4
2.8k
rage against annotate_predecessor
junk0612
0
160
Oracle Database Technology Night 92 Database Connection control FAN-AC
oracle4engineer
PRO
1
440
プロパティベーステストによるUIテスト: LLMによるプロパティ定義生成でエッジケースを捉える
tetta_pdnt
0
300
Cache Me If You Can
ryunen344
2
650
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
36
2.5k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.6k
Gamification - CAS2011
davidbonilla
81
5.4k
Building Applications with DynamoDB
mza
96
6.6k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
Into the Great Unknown - MozCon
thekraken
40
2k
GitHub's CSS Performance
jonrohan
1032
460k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
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. ご清聴ありがとうございました