Create Task Definition

  • Create a new task definition Task-df
  • Task definition family: “d-task-definition-web-app” Task-df
  • Infrastructure requirements:
    • Launch type: AWS Fargate
    • Operation system/ Architecture: Linux/x86_64
    • Network mode: awsvpc
    • CPU: 1v CPU
    • Memory: 3GB
    • Task role: ecsTaskExcutionRole Task-df
  • Container details:
    • Name: web-app
    • Images URI: (Copy URI images in ECR repositories)
    • Essential Container: Yes
  • Port mappings:
    • Container port: 80
    • Protocol: TCP
    • Port name: default
    • App protocol: HTTP Task-df
  • View Task definition Task-df