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
Docker-ComposeをECSにデプロイしたい
Search
ryome
April 24, 2023
Technology
430
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Docker-ComposeをECSにデプロイしたい
ryome
April 24, 2023
More Decks by ryome
See All by ryome
AWSデスノート〜AWSの嫌いなところまとめ〜
ryome
0
53
AWS MCPを使ってみた
ryome
0
650
ClineでAWS CDKやインフラ構成図作ってみた
ryome
1
660
PlaywrightというE2Eテストツールを布教したい
ryome
0
110
Cursorという最強エディタを使いこなしたい
ryome
0
360
E2Eテストを自動化したい
ryome
0
100
AWS CodeBuildを高速化したい
ryome
0
730
CDKでAppSyncのJavaScriptリゾルバを開発したい
ryome
0
330
Cognitoの複数IDP認証でユーザを統合したい
ryome
1
1.5k
Other Decks in Technology
See All in Technology
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
190
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
730
Kiro Crewをはじめよう
kizawa2020
1
160
ブラウザとサーバーから考えるAI時代のフロントエンド監視
shogo4131
3
940
「Docker Desktop不要の時代」は 来たのか?
ueponx
0
770
ソフトウェア ファクトリー - 再現性のあるソフトウェアの工場づくり / Software factory
iktakahiro
6
4.9k
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
300
Tofu-Controller lightning talk @ Containerday 2026
gionn
0
110
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
870
Optunaの最新リリースv5.0について
pfn
PRO
0
120
Refining Active Record
shugo
0
160
Featured
See All Featured
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
330
Leo the Paperboy
mayatellez
10
2.4k
Why Our Code Smells
bkeepers
PRO
340
58k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
820
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
300
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
600
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
620
Statistics for Hackers
jakevdp
799
230k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
Transcript
Docker-Composeを ECSにデプロイしたい
Docker-Composeご存じですか?
実際にやってみた Docker Compose と Amazon ECS を利用した ソフトウェアデリバリ の自動化 このままじゃ動かない
から直しといた↓↓
実際にやってみた Docker Compose と Amazon ECS を利用した ソフトウェアデリバリ の自動化 このままじゃ動かない
から直しといた↓↓
エラった... Docker Compose と Amazon ECS を利用した ソフトウェアデリバリ の自動化 このままじゃ動かない
から直しといた↓↓
エラった... Docker Compose と Amazon ECS を利用した ソフトウェアデリバリ の自動化 このままじゃ動かない
から直しといた↓↓
翻訳すると... Docker Compose と Amazon ECS を利用した ソフトウェアデリバリ の自動化 このままじゃ動かない
から直しといた↓↓ リソースハンドラからメッセージが返されました。「ユーザは指定されたリソースに対して そのアクションを実行する権限がありません。 翻訳:https://www.deepl.com/translator なんか、権限が足りなくて 怒られてそう。。。
ChatGPTに聞いてみた ChatGPT 期待したような回答が 返ってこなかった。。。
ChatGPTに聞いてみた ChatGPT
結論 Docker Compose と Amazon ECS を利用した ソフトウェアデリバリ の自動化 このままじゃ動かない
から直しといた↓↓ VPCのアクセス権限 が足りなかった
終了~ Docker Compose と Amazon ECS を利用した ソフトウェアデリバリ の自動化 このままじゃ動かない
から直しといた↓↓
スタック削除に苦戦!!
ChatGPTに聞いてみた
ChatGPTに聞いてみた スタックが同時に削除 されて、先にロールが 消えていた。。。
ChatGPTに聞いてみた
詰んだ...? 同じような事象になった 人の海外記事を発見!! AWS Cloud Formation: role (arn:aws:iam:xxx) is invalid
or cannot be assumed IAMロールを手作業で 作り直したら、 削除できるらしい。。。
スタック削除に苦戦!!
スタック削除に苦戦!!
削除成功!!感動!!
まとめ • Docker Compose と Amazon ECS を利用したソフトウェアデリバリの 自動化はCFnにSubnetのアクセス権ないと動かない •
CFnスタックを削除するときは順番意識しないとエラる • エラったときにChatGPTを利用するといい感じの回答をくれる
GitHub • 今回使用したコードはGitHubに公開されています。 • https://github.com/ryomeblog/demo-app-for-docker-compose