LoginSignup
1
1

More than 1 year has passed since last update.

Dockerイメージを作成し、ECSにコンテナを作成する。

Posted at

Dockerイメージを作成し、ECSにコンテナを作成する。

標題通り、Hands-onを実施する。

Dockerイメージを作成する。

前回記事で、ECRにDockerイメージを登録。今回はECRに登録したDockerイメージからコンテナを作成し、ECSにデプロイする。
以下、ざっと記載して行きますが、詳しい説明は前回記事に作成しています。詳しく知りたい人はこの記事を読んでね!!

クラスターを作成する

スクリーンショット 2022-06-14 21.26.07.png
スクリーンショット 2022-06-14 21.26.37.png
スクリーンショット 2022-06-14 21.28.12.png

タスクを定義する

スクリーンショット 2022-06-14 21.29.26.png
スクリーンショット 2022-06-14 21.31.40.png
スクリーンショット 2022-06-14 21.32.25.png
スクリーンショット 2022-06-14 21.32.48.png
スクリーンショット 2022-06-14 21.35.44.png
スクリーンショット 2022-06-14 21.36.35.png

サービスの作成

スクリーンショット 2022-06-14 21.37.49.png
スクリーンショット 2022-06-14 21.38.11.png
スクリーンショット 2022-06-14 21.38.35.png
スクリーンショット 2022-06-14 21.38.49.png
スクリーンショット 2022-06-14 21.39.17.png
スクリーンショット 2022-06-14 21.39.46.png

実行結果の確認

スクリーンショット 2022-06-14 21.40.48.png
→ログの中に、「Hello Docker」が表示されていれば成功です!!!

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1