Open2
AWS ECS Setup
![us-east-7](https://res.cloudinary.com/zenn/image/fetch/s--sLxiXpSs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/3f0b568ce5.jpeg)
Amazon Elastic Container Service
クラスター設定
クラスター名:recrt2Proto
デフォルトの名前空間 - オプション:recrt2Proto
インフラストラクチャ
AWS Fargate (サーバーレス)
作成
![us-east-7](https://res.cloudinary.com/zenn/image/fetch/s--sLxiXpSs--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_70/https://storage.googleapis.com/zenn-user-upload/avatar/3f0b568ce5.jpeg)
recrt2Proto
作成
コンピューティング設定 ((アドバンスト)):デフォルト
タスク定義:https://ap-northeast-1.console.aws.amazon.com/ecs/v2/task-definitions?region=ap-northeast-1
新しいタスク定義の作成
JSON を使用してタスク定義を作成
task_definition.json
{
"requiresCompatibilities": [
"FARGATE"
],
"family": "",
"containerDefinitions": [
{
"name": "",
"image": "",
"essential": true
}
],
"volumes": [],
"networkMode": "awsvpc",
"memory": "3 GB",
"cpu": "1 vCPU",
"executionRoleArn": ""
}
デプロイ設定