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
EKS for EFS
Search
nnao45
January 23, 2020
Technology
4
1.5k
EKS for EFS
nnao45
January 23, 2020
Tweet
Share
More Decks by nnao45
See All by nnao45
MPI Performance Evaluation of Raspberry Pi4 Cluster with Android OS
nnao45
2
170
datalake-party-for-aws-20201118
nnao45
0
250
はじめてのNetwork Service Mesh
nnao45
4
2.2k
まだ大きくない僕たちに必要なCLoud Nativeを求めて
nnao45
8
1.2k
Firebase, Firestore Find mBaaS
nnao45
3
1.1k
what happens when k8s journy
nnao45
16
9.1k
Make App, Using with Study Group
nnao45
3
620
Chatops, AWS, And Ansible
nnao45
2
1k
Ansible container in the kubernetes
nnao45
5
1.6k
Other Decks in Technology
See All in Technology
Microsoft Fabric ガバナンス設計の一歩目を考える
ryomaru0825
1
260
Semantic Machine Intelligence for Vision, Language, and Actions
keio_smilab
PRO
2
390
Bill One 開発エンジニア 紹介資料
sansan33
PRO
4
13k
Microsoft Defender XDRで疲弊しないためのインシデント対応
sophiakunii
3
400
BEYOND THE RAG🚀 ~とりあえずRAG?を超えていけ! 本当に使えるAIエージェント&生成AIプロダクトを目指して~ / BEYOND-THE-RAG-Toward Practical-GenerativeAI-Products-AOAI-DevDay-2025
jnymyk
4
230
P2P ではじめる WebRTC のつまづきどころ
tnoho
1
200
メモ整理が苦手な者による頑張らないObsidian活用術
optim
0
110
PHPからはじめるコンピュータアーキテクチャ / From Scripts to Silicon: A Journey Through the Layers of Computing
tomzoh
2
380
ゼロから始めるSREの事業貢献 - 生成AI時代のSRE成長戦略と実践 / Starting SRE from Day One
shinyorke
PRO
0
230
なぜAI時代に 「イベント」を中心に考えるのか? / Why focus on "events" in the age of AI?
ytake
2
430
Recoil脱却の現状と挑戦
kirik
2
310
本当にわかりやすいAIエージェント入門
segavvy
10
5.9k
Featured
See All Featured
GraphQLとの向き合い方2022年版
quramy
49
14k
KATA
mclloyd
30
14k
Navigating Team Friction
lara
187
15k
Statistics for Hackers
jakevdp
799
220k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
45
7.5k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.4k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
The Straight Up "How To Draw Better" Workshop
denniskardys
235
140k
GitHub's CSS Performance
jonrohan
1031
460k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
2.9k
Transcript
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