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
App Runner から ECS, EKS へのネクストステップ
Search
Atsushi Satou
August 05, 2023
Technology
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
App Runner から ECS, EKS へのネクストステップ
2023/08/05 JAWS-UG新潟#14
Atsushi Satou
August 05, 2023
More Decks by Atsushi Satou
See All by Atsushi Satou
AWS ECSでサービス間通信についておさらい
atsuw0
1
170
図で理解するAWS Network Firewallのアーキテクチャ
atsuw0
0
570
CLIで構築した方が良いもの一覧.pdf
atsuw0
0
200
HCP Terraformを使ったら AWSやGCPの環境構築が捗った話
atsuw0
0
380
HashicorpCloudについて.pdf
atsuw0
0
41
HCP Terraform について
atsuw0
0
1.9k
HashicorpCloudについて.pdf
atsuw0
0
49
AWS サーバレス設計 Tips集
atsuw0
0
140
AWS re:Invent 2023 ストレージ EFSレプリケーションのフェイルバック機能を試してみた
atsuw0
0
450
Other Decks in Technology
See All in Technology
dbt Semantic Layerで進めるenechainのデータ民主化
akizhou
1
270
演劇と私とスクラム
chinmo
0
160
自宅サーバと脆弱性
masakiokuda
1
120
Codex を使った障害対応机上演習の実際
orgachem
PRO
0
370
データマネジメント × 法務で作りあげる、 freeeの新しいデータガバナンスへの軌跡
freee
PRO
2
470
導入から定着へ ~コーディングエージェントを日常業務に組み込む実践知~
yukisakai1225
0
240
野良MCPサーバーを排除せよ!MCPサーバーのガバナンス
yukiogawa
1
240
reInvent2026stby LT00 "Change your life!"
shinichirokawano
1
330
クラウドサインを止めずに Nuxt へ 次の10年のために先に決めたこと
bengo4com
1
160
AWS Continuum for Penetration Testing に Deep Dive してみる
asanoharuki
2
1.4k
「社外イベント=意識高い」の壁を壊せ!元々無関心だった僕らが部内で社外イベントを民主化して15人を連れ出すまで
say_no_w
0
150
LLM Content Moderationを支える評価・改善ループの実践
suikabar
2
370
Featured
See All Featured
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
270
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
800
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.9k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
950
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
370
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
750
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
30 Presentation Tips
portentint
PRO
1
440
Transcript
App Runner から ECS, EKS への ネクストステップ 2023/08/05 Jaws #4
@ Atsushi Satou
自己紹介 佐藤 淳 (Satou Atsushi) アイレット株式会社 関東在住。新潟市出身。 Qiita : https://qiita.com/atw0_0w
2023/07 はじめました。 Marp で初スライド作成 & 発表!! お見苦しいところありますがお手柔らかに何卒... m(__)m 2023/08/05 JAWS-UG 新潟#14 @ Atsushi Satou
目次 1. App Runner でできること / できないこと 2. ECS を少し解説
3. ECS,EKS へのネクストステップ 2023/08/05 JAWS-UG 新潟#14 3 / 19
Goal App Runner でできること/ 出来ないことを抑える. ECS をおさらいしてみる. ECS やEKS の移行タイミングを抑える.
2023/08/05 JAWS-UG 新潟#14 4 / 19
1. App Runner でできること / できないこと 2023/08/05 JAWS-UG 新潟#14
App Runner で出来ること 接続数に基づくAutoScaling. リポジトにイメージリプッシュ → 自動でデプロイ. X-ray によるトレース. WAF
も指定できる. サービス → サービス への通信も出来なくはない. https://aws.amazon.com/jp/blogs/news/deep-dive-on-aws-app- runner-private-services/ → あれ、意外と充実している..? 2023/08/05 JAWS-UG 新潟#14 6 / 19
App Runner で出来ないこと ネットワーク セキュリティグループでのインバウンド制御ができない 可用性 AutoScaling のスケーリングポリシーが選べない ログ コンテナ実行基盤の詳細なログは見れない
ロードバランサなどのログは見れない 2023/08/05 JAWS-UG 新潟#14 7 / 19
( 続き ) CI/CD デプロイ方式(Canary, B/G, 外部デプロイツールが選べない) マイクロサービス 複数サービス間通信になると管理ができない コンテナは1
種類だけ (Sidecar や コンテナ間通信は無理) → コンテナ1 つだけで稼働なら問題なさそう。 → 機能の追加に伴う複数サービスを運用するには不向き. 2023/08/05 JAWS-UG 新潟#14 8 / 19
2. ECS の設計部分を少し解説 2023/08/05 JAWS-UG 新潟#14
( もっとあるけど..) ECS を構築 する上で必要なAWS サービス 2023/08/05 JAWS-UG 新潟#14 10
/ 19
ECS 設計のポイント クラスター 作成するVPC, サブネットを指定. Container Insights を有効化. 2023/08/05 JAWS-UG
新潟#14 11 / 19
ECS 設計のポイント タスク タスク定義の記載 CPU, メモリ割り当て 機密情報は SecretsManager から取得 タスクロール,
タスク実行ロールにひつような権限を付与. [Optional] EFS マウントポイント etc : 2023/08/05 JAWS-UG 新潟#14 12 / 19
ECS 設計のポイント サービス Fargate での起動がおすすめ( インフラ管理不要) タスク定義とリビジョン番号を指定してタスクを起動. AutoScaling のスケーリングポリシーの設定.(StepScaling, TargetTracking)
デプロイコントローラ(ECS, CODE_DEPLOY). サービス間通信の設定. 2023/08/05 JAWS-UG 新潟#14 13 / 19
[ 補足 ] タスクとタスク実行ロール タスク実行ロール タスクを起動/ 稼働するために必要なロール. CloudWatch Logs への出力.
ECR のプライベートレジストリ上からイメージを取得. Secrets Manager からSecrets 情報を取得 タスクロール タスク上のコンテナがAWS API を呼び出すことが可能. S3 にアップロード. DynamoDB のアイテムを更新. 2023/08/05 JAWS-UG 新潟#14 14 / 19
3. ECS,EKS へのネクストステップ 2023/08/05 JAWS-UG 新潟#14
App Runner で出来ないけど , ECS,EKS でできること ネットワーク セキュリティグループでのインバウンド制御ができる 可用性 AutoScaling(Target
Tracking, Step Scaling) ができる ログ ContainerInsights など詳細なログの出力ができる アクセスログ(ELB) やVPC フローログの出力ができる 2023/08/05 JAWS-UG 新潟#14 16 / 19
( 続き ) CI/CD デプロイ方式(Canary, B/G, 外部デプロイ) が選べる マイクロサービス 複数サービスを1
つのクラスター上で管理できる Sidecar 経由でサービス間通信できる サービスディスカバリできる 代表的な機能 AppMesh ECS Service Connect etc.. 2023/08/05 JAWS-UG 新潟#14 17 / 19
[ まとめ ] どのように移行していくか App Runner ... コンテナ1 つでのサービス稼働. 検証用.
↓ ECS ... 複数サービスの管理. 運用改善. ↓ ECS, EKS ... サービス間通信, マイクロサービス. 2023/08/05 JAWS-UG 新潟#14 18 / 19
ECS, EKS 触ってみたいと言う方は ... ECS Workshop https://ecsworkshop.com/ EKS Workshop https://www.eksworkshop.com/
2023/08/05 JAWS-UG 新潟#14 19 / 19