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
【お子さま向け】Amazon ECS サービスディスカバリーって知ってる?【楽しい読み聞かせ】
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
tubone(Yu Otsubo)
January 07, 2025
Education
980
8
Share
【お子さま向け】Amazon ECS サービスディスカバリーって知ってる?【楽しい読み聞かせ】
https://shimagaji.connpass.com/event/341023/
で登壇した資料です。
恐竜くんと楽しいAWSの冒険をしよう!
tubone(Yu Otsubo)
January 07, 2025
More Decks by tubone(Yu Otsubo)
See All by tubone(Yu Otsubo)
Langfuse v3 使ってますか?【Langfuse Night#1】
tubone24
2
940
Amazonの最新モデルを使ってみよう
tubone24
1
94
Amazon CloudWatch Synthetics now supports Playwright runtime to create canaries with NodeJS の使い所を考える
tubone24
1
220
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
690
Agentは楽しいぞ
tubone24
1
1.9k
Other Decks in Education
See All in Education
fake vs real
latrrr
0
140
Why the humanities may be your best career bet
figarospeech
0
190
Science Tokyo国際卓越研究大学計画_202604
sciencetokyo
PRO
0
3.2k
AI進化史:LLMからAIエージェントへ
mickey_kubo
0
170
Lenguajes de Programacion (Ingresantes UNI 2026)
robintux
0
180
0415
cbtlibrary
0
190
Catecismo 26 #2 - Do Credo; Introdução ao 1º artigo
cm_manaus
0
100
Tangible, Embedded and Embodied Interaction - Lecture 7 - Next Generation User Interfaces (4018166FNR)
signer
PRO
0
2.3k
自己紹介 / who-am-i
yasulab
6
6.8k
Visualisation Techniques - Lecture 8 - Information Visualisation (4019538FNR)
signer
PRO
1
3.1k
Protecting Patrons with Digital Vendors
dsalo
0
180
Data Processing and Visualisation Frameworks - Lecture 6 - Information Visualisation (4019538FNR)
signer
PRO
1
3.1k
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.6k
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
390
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
150
How GitHub (no longer) Works
holman
316
150k
Deep Space Network (abreviated)
tonyrice
0
160
Ruling the World: When Life Gets Gamed
codingconduct
0
240
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
150
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
570
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
260
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
190
It's Worth the Effort
3n
188
29k
Transcript
Amazon ECS サービスディスカバリー って知ってる? #しむそくRadio 新春!冬休みの宿題LT スペシャル こどものよみきかせ風 あまぞん いーしーえす ふう
し 作: tubone24
KDDIアジャイル開発センターで ゆるふわエンジニアをやっているよ。 妻と犬の二人暮らし。 冬休みは電子ペーパーで 月の満ち欠けアプリを作っていたよ おおつぼ ゆう (tubone24)
みんなは冬休み楽しかったかな? あけまして おめでとう!! ふゆやす たの
ぜひたのしかった思い出を呟いてね! 旅行に行ったり、 おいしいもの食べたり、 ゴロゴロしたり、 ゲームしたり、 りょこう い た おもいで つぶや
私はこんなこと してました。 わたし
よみきかせだと思ってリラックスして 聞いてね! 今日はそんな冬休みに起きた 不思議で楽しい冒険の お話です。 きょう ふゆやす お ふしぎ ちょ
っ とだけ たの ぼうけん はなし
AWS App Runnerで作った Webサーバーと AmazonECSで作った専用の OLAPとの通信を 簡単・コスト安く作りたいなぁ....。 なにかいい方法はないかな...? 恐竜さんは最近AWSを お勉強してます。
あるひ、こんな悩み を抱きました。
AWS App Runner Amazon ECS Fargate こんなイメージ
AWS App Runner Amazon ECS Fargate こんなイメージ App Runnerから
AWS App Runner Amazon ECS Fargate こんなイメージ VPC Connectorを 使ってVPCに建てている
OLAPに対して
AWS App Runner Amazon ECS Fargate こんなイメージ 書き込み読み込み VPCの外からアクセスする要件はないよ
さっそく恐竜さんはAWS森の仲間たちに 聞いてみることにしました。 なんかいろんな 実装方法があるみたい
みん な もいっし ょ に 考えてみよう
AWSに一定の知見があるネズミくんが アドバイスしてくれました。 なるほど! Yea! ALB/NLBを インターナルで建てる のがいいよ!!
こんなイメージ AWS App Runner Amazon ECS Fargate
一見よさそうですが... AWS App Runner Amazon ECS Fargate OLAPのタスクは一つだけだし、 わざわざALB建てるのもなぁ...
へいへいへい! ECSを使っているなら Service Connectはどうだい? 無駄にALBを建てる必要もないよ! ECSに詳しい犬くんがスケボーに乗って やってきました。 ALB/NLBを建てなくてよいのは よさそう
こんなイメージ AWS Cloud Map Namespace Container Amazon ECS Service Connect
OLAP Service Amazon ECS Cluster Service Service Container olap.example.local:8123 example.local Web
一見よさそうですが... AWS Cloud Map Namespace Container Amazon ECS Service Connect
OLAP Service Amazon ECS Cluster Service Service Container olap.example.local:8123 example.local Web Service Connectを使うにはWebサーバーを ECSにしないといけないな... となると結局Webサーバーの手前にALBが 必要になるね。
App Meshて知っているかい? あ。。。そういえば サービス終了だった。 一昔前、コンテナ間通信をがんばっていた 猫くんがアドバイスしてくれました。 でも残念。サービス終了です。
みんな親切に教えてくれますが、 選択肢がたくさんあるし納得する構成 見当たりません。 そこで、森一番のAWS博士に 聞いてみることにしました。 どうすればいいの..?
すごくたくさん考えたね。 今回はService Discoveryは どうかな..? AWS森で一番のAWS博士のメガネくんに 聞いてみました。 Service Discovery?
こんなイメージ Clickhouse Namespace Service Service Container langfuse.local AWS Cloud Map
Amazon ECS Cluster Container clickhouse.langfuse.local Service Discoveryとして ECSサービスを紐づけ Service Discoveryにすることにより、 App RunnerからもVPC Connector経由で 名前解決可能に! AWS App Runner
さすがメガネくん! これなら無駄なALBも建てなくて いいし、AppRunnerからECSに アクセスできるね!
Service Discoveryは AWS Cloud Mapと Amazon Route53の プライベートホストゾーンを 利用して実現されるんだよ ECSサービスのタスクが起動すると、そのIPアドレスがCloud
Mapに登録されます 1. Cloud Map経由でRoute53のプライベートホストゾーンにタスクのIPが登録されます 2. 他のサービスは設定されたドメイン名で名前解決を行い、直接通信を行います 3. 保護者の皆様向け
AWSにはいろんなサービスがあるんだ! それだけ解決方法も十人十色! 君が思う最強のアーキテクチャを ぜひ考えてね!
Langfuse Nightにて 登壇します。 この物語の続きは またの機会に... ものがたり きかい Langfuse
PRも待ってます!!
おしまい