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
EKS for EFS
Search
nnao45
January 23, 2020
Technology
1.6k
4
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
EKS for EFS
nnao45
January 23, 2020
Transcript
32 slides
EKS FOR EFS CyberAgent, Inc. @nnao45
@nnao45 株式会社サイバーエージェント サーバサイドとインフラ屋さん 広告を作ってると思ったら、 ガチャガチャを作っていた人 * * * 勉強会の名札を作るScalaスクリプト書いたよ *
でももう水ロトム禁止ポケでいいだろ * 分散アーキテクチャのSagaってやつを最近知った https://github.com/nnao45 AI事業部リテールテックDiv所属 * Connpassからスクレイピングして * ポケモン剣盾の追加コンテンツ楽しみですね。 →https://github.com/cndjp/godfather
͓͠ͳ͕͖ 1.EFS is Կʁ 2.EKSͱEFS 3.EFS Provisionerͱͦͷத 4.·ͱΊ
1. EFS IS Կʁ
1. EFS is Կʁ AWSͰ͑ΔNFS EBS͕ϒϩοΫετϨʔδʹର ͠ɺEFSϑΝΠϧγεςϜʹΑ Γ1ݸҎ্ͷϊʔυͱڞ༗ ෳͷAZؒͰҰ؏ੑͷ͋Δσʔ λͷڞ༗͕Մೳ
1. EFS is Կʁ EC2 EC2 AZ A AZ B
EBS EBS /var/log/xxx /var/log/yyy
1. EFS is Կʁ EC2 EC2 AZ A AZ B
EBS EBS /var/log/xxx /var/log/yyy
1. EFS is Կʁ EC2 EC2 AZ A AZ B
EFS /var/log/ZZZ
1. EFS is Կʁ
2. EKSͱEFS
2. EKS ͱ EFS ʁ
2. EKS ͱ EFS EKS NODE EKS NODE AZ A
AZ B CLUSTER X
2. EKS ͱ EFS WEB APP SAY… 平文平文平文平文平文平文 平文平文平文平文平文平文平 文平文平文平文平文平文平文
平文平文平文平文平文平文平 文平文平文平文平文平文平文 平文平文平文平文平文平文平 文平文平文平文平文平文平文 平文平文平文平文平文平文平 文平文平文平文平文平文平文 平文平文平文平文平文平文平 文平文平文平文平文平文平文 平文平文平文平文平文平文平 文平文平文平文平文平文平文 VMからコンテナとかすると大概こうなってるでしょ
2. EKS ͱ EFS WEB APP SAY… 平文平文平文平文平文平文 平文平文平文平文平文平文平 文平文平文平文平文平文平文
平文平文平文平文平文平文平 文平文平文平文平文平文平文 平文平文平文平文平文平文平 文平文平文平文平文平文平文 平文平文平文平文平文平文平 文平文平文平文平文平文平文 平文平文平文平文平文平文平 文平文平文平文平文平文平文 平文平文平文平文平文平文平 文平文平文平文平文平文平文 ???「あ、そういえば◦◦の値を欲しいってお客さんが・・・」
2. EKS ͱ EFS WEB APP SAY… 平文平文 平文平文 平文平文
平文平文 DWH 正規表現は人類には早い
2. EKS ͱ EFS WEB APP SAY… JSON{…} DWH 平文平文平
文平文平文平 文平文平文平 文平文平文平 S3 応急処置感。
2. EKS ͱ EFS EKS NODE EKS NODE AZ A
AZ B CLUSTER X PV(EBS)
2. EKS ͱ EFS EKS NODE EKS NODE CLUSTER X
AZ A AZ B PV(EBS)
2. EKS ͱ EFS EKS NODE EKS NODE CLUSTER X
AZ A AZ B PV(EBS)
2. EKS ͱ EFS EKS NODE EKS NODE AZ A
AZ B CLUSTER X PV(EFS) EFSͷ࣮ମ
2. EKS ͱ EFS EKS NODE EKS NODE AZ A
AZ B CLUSTER X PV(EFS) EFSͷ࣮ମ
2. EKS ͱ EFS EKS NODE EKS NODE AZ A
AZ B CLUSTER X PV(EFS) EFSͷ࣮ମ
3. EFS PROVISIONER ͱͦͷத
3.EKS PROVISONERͱͦͷத https://github.com/helm/charts/tree/master/stable/efs-provisioner
3.EKS PROVISONERͱͦͷத https://github.com/helm/charts/tree/master/stable/efs-provisioner $ helm install stable/efs-provisioner --set efsProvisioner.efsFileSystemId=fs-12345678 --set
efsProvisioner.awsRegion=us-east-2 EFS Provioner — Deployment EFS —Storage Class …etc
3.EKS PROVISONERͱͦͷத MOUNTED POD EFS PROVISIONER EFS Server EFS PROVISIONERはDEPLOYMENTです。
3.EKS PROVISONERͱͦͷத MOUNTED POD EFS PROVISIONER EFS Server File System
/fs/ File System /pfs/ NFS EFS PROVISIONERがマウントするのは「ファイルシステム」。
3.EKS PROVISONERͱͦͷத MOUNTED POD EFS PROVISIONER EFS Server File System
/fs/ File System /pfs/ File System /var/log/ PV /pv-XXXX/hey NFS pv-XXXXのXXXXはUUIDですよん
3.EKS PROVISONERͱͦͷத MOUNTED POD EFS PROVISIONER EFS Server File System
/fs/ File System /pfs/ File System /var/log/ $ ls /pfs/ pv-XXXX PV /pv-XXXX/hey NFS pv配下のpv-XXXXをEFS PROVISIONERが作って、PODに配るイメージ
3.EKS PROVISONERͱͦͷத MOUNTED POD EFS PROVISIONER EFS Server File System
/fs/ File System /pfs/ File System /var/log/ $ ls /pfs/pv-XXXX hey $ ls /var/log/ hey PV /pv-XXXX/hey NFS へいへい
4.·ͱΊ ୯ҰAZͩͱ࣮ݱग़དྷͳ͍ӬଓԽΛ࣮ݱ efs-provisionerΛ͏ͱ͖ެࣜhelmνϟʔ τ͔Β σΟεΫIOͳͲؾΛ͚ͭͯɺϩάͷ߹ͬ ͺΓετϦʔϜͱͯ͠ӬଓԽ͠ͳ͍ํ͕ͬͺ Γ͍͍͚Ͳɺ࠷ऴखஈͱͯ͠Ͳ͏ͧ
Bye
More Decks by nnao45
See All by nnao45
MPI Performance Evaluation of Raspberry Pi4 Cluster with Android OS
nnao45
2
230
datalake-party-for-aws-20201118
nnao45
0
290
はじめてのNetwork Service Mesh
nnao45
4
2.4k
まだ大きくない僕たちに必要なCLoud Nativeを求めて
nnao45
8
1.3k
Firebase, Firestore Find mBaaS
nnao45
3
1.2k
what happens when k8s journy
nnao45
17
9.2k
Make App, Using with Study Group
nnao45
3
690
Chatops, AWS, And Ansible
nnao45
2
1.1k
Ansible container in the kubernetes
nnao45
5
1.8k
Other Decks in Technology
See All in Technology
Frontier Teams — Amazon は AI で「開発のやり方」をどう変えたのか
kmotohas
0
300
変更差分を読むために環境を整備しよう
pipepasta
1
470
異夢同船〜異なる夢でも同じ船でなんとかする〜
fortegp05
1
530
AIで実装が加速したのに、 なぜ私は仕事の大半で人と話し続けていたのか?
say_no_w
0
190
【AWS reInvent 2026 関西組 事前勉強会】二度あることは三度ある~調子に乗りそうな3回目の私を戒めたいです~
ttelltte
0
110
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
450
Biohub - Cell Tracking During Development 5th place solution
rist
0
180
メール到達性を支える、リンク先URLのドメイン評価の扱い方
wind111
0
170
コピーオンライト型ファイルシステムと ランダム書き込み
sat
PRO
2
130
マネジメントされる側の仕事は「文句」を言うこと
riyaamemiya
7
5.8k
メルカリの小規模チーム「Pod」で、 エンジニアがデータアナリストなしで、 AIを使ってデータ分析の自走を目指す取り組み
jackojacko_
0
170
LLM 基盤と kagent v0 を全部 k8s に入れてみた / Deploy both LLM and kagent v0 in k8s
kota2and3kan
0
240
Featured
See All Featured
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
570
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
New Earth Scene 8
popppiees
5
2.9k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
350
Site-Speed That Sticks
csswizardry
13
1.6k
Building Adaptive Systems
keathley
44
3.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
630
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k