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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
200
datalake-party-for-aws-20201118
nnao45
0
280
はじめてのNetwork Service Mesh
nnao45
4
2.3k
まだ大きくない僕たちに必要なCLoud Nativeを求めて
nnao45
8
1.2k
Firebase, Firestore Find mBaaS
nnao45
3
1.1k
what happens when k8s journy
nnao45
17
9.1k
Make App, Using with Study Group
nnao45
3
650
Chatops, AWS, And Ansible
nnao45
2
1.1k
Ansible container in the kubernetes
nnao45
5
1.7k
Other Decks in Technology
See All in Technology
Phase05_ClaudeCode入門
overflowinc
0
870
事例から紐解くSHIFT流QA支援 ~大規模プロジェクトの品質管理支援、QA組織立ち上げ~ / 20260320 Nozomu Koketsu
shift_evolve
PRO
0
110
Kiro Powers 入門
k_adachi_01
0
130
A Casual Introduction to RISC-V
omasanori
0
520
visionOS 開発向けの MCP / Skills をつくり続けることで XR の探究と学習を最大化
karad
1
1.2k
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
Visional 28新卒プロダクト職(エンジニア/デザイナー)向け 会社説明資料 / Visional Company Briefing for Newgrads 28
visional_engineering_and_design
1
110
俺の/私の最強アーキテクチャ決定戦開催 ― チームで新しいアーキテクチャに適合していくために / 20260322 Naoki Takahashi
shift_evolve
PRO
1
380
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
13k
CyberAgentの生成AI戦略 〜変わるものと変わらないもの〜
katayan
0
280
Phase06_ClaudeCode実践
overflowinc
0
810
Phase01_AI座学_基礎
overflowinc
0
1.7k
Featured
See All Featured
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
1
160
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Being A Developer After 40
akosma
91
590k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
140
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
It's Worth the Effort
3n
188
29k
Into the Great Unknown - MozCon
thekraken
40
2.3k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
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