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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
nnao45
January 23, 2020
Technology
1.5k
4
Share
EKS for EFS
nnao45
January 23, 2020
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.2k
what happens when k8s journy
nnao45
17
9.2k
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
自分のハンドルは自分で握れ! ― 自分のケイパビリティを増やし、メンバーのケイパビリティ獲得を支援する ― / Take the wheel yourself
takaking22
1
900
AI時代 に増える データ活用先
takahal
0
230
生成AIが変える SaaS の競争原理と弁護士ドットコムのプロダクト戦略
bengo4com
0
250
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.3k
Do Ruby::Box dream of Modular Monolith?
joker1007
1
340
プラットフォームエンジニアリングの実践 - AWS コンテナサービスで構築する社内プラットフォーム / AWS Containers Platform Meetup #1
literalice
1
140
[OAWTT26][THR1028] Oracle AI Database 26ai へのアップグレード:ベストプラクティスと最新情報
oracle4engineer
PRO
1
100
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
16k
みんなで作るAWS Tips 100連発 (FinOps編)
schwrzktz
1
300
Good Enough Types: Heuristic Type Inference for Ruby
riseshia
1
210
Rebirth of Software Craftsmanship in the AI Era
lemiorhan
PRO
4
2k
Revisiting [CLS] and Patch Token Interaction in Vision Transformers
yu4u
0
360
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Designing Powerful Visuals for Engaging Learning
tmiket
1
340
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
510
Designing for Performance
lara
611
70k
Build your cross-platform service in a week with App Engine
jlugia
234
18k
Fashionably flexible responsive web design (full day workshop)
malarkey
408
66k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Marketing to machines
jonoalderson
1
5.2k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
340
Facilitating Awesome Meetings
lara
57
6.8k
Music & Morning Musume
bryan
47
7.2k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
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