0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ECSの設定項目 ~クラスター、タスク定義、サービス

Posted at

ECSに関して、クラスター、サービス、タスク、タスク定義などがどういったものかよく忘れてしまうので、各設定項目を確認することでイメージを持ちやすくしようと思います。

クラスター

インフラストラクチャ

・Fargateを使うかEC2を使うか

モニタリング

・Container Insightsの設定

⇒全体の大枠(サービスやタスクもこの中で確認できる)

タスク定義

インフラストラクチャ:

 ・起動タイプ:Fargateを使うかEC2を使うか
 ・OS
 ・CPU、メモリサイズ
 ・タスクロール:タスクのコンテナから他のAWSサービスへの権限
 ・タスク実行ロール:コンテナエージェントがAWS APIリクエストを行うための権限
  ・ECRに対する有効なトークンの発行
  ・コンテナイメージの詳細情報の取得
  ・ログストリームの作成 など

コンテナ(複数設定可能):

 ・コンテナイメージ
 ・ポートマッピング

⇒タスクの詳細内容

サービス

デプロイ設定

・タスク定義名
・必要なタスク数

自動スケーリング

・タスクの最小数/最大数

⇒コンテナ/タスクの開始/停止方法

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?