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
WebAssembly_workloadをEKSで利用するには.pdf
Search
clouddev-code
September 28, 2024
1.7k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
WebAssembly_workloadをEKSで利用するには.pdf
clouddev-code
September 28, 2024
More Decks by clouddev-code
See All by clouddev-code
ECSでのinit_containerを利用したOpen_Telmetry自動計装.pdf
cloudevcode
0
180
microVMsのユースケースを考える.pdf
cloudevcode
0
59
cdk8s_Helm_どちらを選ぶべきか_rev.pdf
cloudevcode
0
270
Regional_NAT_Gatewayについて_basicとの違い_試した内容スケールアウト_インについて_IPv6_dual_networkでの使い分けなど.pdf
cloudevcode
1
940
Grafana_LokiをECS_Fargateで構築する観点公開版.pdf
cloudevcode
0
68
ADK_for_Java.pdf
cloudevcode
1
120
initContainerをECSで実現したい.pdf
cloudevcode
0
69
VPC_Lattice検討したが_採用しなかった話.pptx.pptx.pdf
cloudevcode
0
40
GitHub_Copilot_AgentでするMCP_Streamable_HTTPまで.pdf
cloudevcode
0
130
Featured
See All Featured
Site-Speed That Sticks
csswizardry
13
1.5k
Marketing to machines
jonoalderson
1
5.9k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
350
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
920
A designer walks into a library…
pauljervisheath
211
25k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.7k
Raft: Consensus for Rubyists
vanstee
142
7.7k
How to Talk to Developers About Accessibility
jct
2
560
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
460
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
300
Transcript
2024.09.25 JAWS-UG 東京 #15 s.hiruta (@web_se) WebAssembly workloadをEKSでネイティブに動かす には
アジェンダ • WebAssemblyについて • CRI • EKS環境で動かすには • まとめ 2
Self introduction 【名前】 s.hiruta ( @web_se ) 【仕事】 コンテナ、マイクロサービス基盤構築 【興味分野】
Containers、WASM+LLM、 Github clouddev-code zenn clouddevcode 3
Previous LT Slide https://speakerdeck.com/cloudevcode 4
WebAssembly workloadをネイティブに動かしたい。 5
セッションの目的 概要 • Web Assemblyについて • EKSにwasm workloadを動かすには 6
WebAssemblyて? • ブラウザに読み込んで動作する • Google Meet、Google Map • ブラウザ外でも動かせる •
Wasm 0.2だとWasm Componentsもあり 7
WebAssemblyではEdgeでも動かせる • Fastly Compute • Cloudflare workers 8
axum framework 9 • Rustのweb application framework
axum+Rust 10 https://kluften.dev/blog/nebula_chapter1
demo
wasmtime • wasm はそのまま実行することはできない • Java Runtimeのようなものが必要 https://wasmtime.dev/?_fsi=Lcp1SSNJ&_fsi=Lcp1SSNJ
13 Benefit of WASM • Typescript、JavaScriptからwasmにビルドできる • ポータビリティ • 起動がはやい
14 WASMでできないこと • Socket • tokio • aws-sdk-bedrockruntimeもtokioのfull featureと依存するの で利用不可
tokioは、Rustプログラミング用の非同期ランタイムです。WebAssembly 用のtokio_wasiあるが、sync,macros,io-util,rt,timeのfeatureのみ利用 可
CRI https://kubernetes.io/blog/2017/11/containerd-container-runtime-options-kubernetes/
WebAssembly Runtime
Kubernetes • bottlerocket • AmzonLinux2023 • Fargate Profile 17
18
How to Run webassembly workload on EKS • containerd-slim-wasmedgeを入ったWorker Nodeを
作る必要あり 19
EKSクラスタ環境 • 20
finch • wasm OCI artifactのイメージをECRにプッシュ 21
Wasmedge workload • 22
まとめ • wasmがポータビリティがあり、Startupがはやいな ので今後期待できる • Socketなど使えない機能もある 23
索引 • How to Run WebAssembly on Amazon EKS https://aws.amazon.com/blogs/containers/16532-2/
• WASM Component https://zenn.dev/ciscorn/scraps/c0de8cd3804ebd • AXUMでWASM https://qiita.com/ringo-apo/items/b2ccf1668bc6f21e5f4a • Lightning Talk: The Future of Wasm at Fastly https://www.fastly.com/jp/video/lightning-talk-the-future-of-wasm-at-fastly/ 24
25